Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[内容修订] src/add-to-app/android/project-setup #1393

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/add-to-app/android/project-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ android {
### Integrate with Android Studio
{:.no_toc}

## 使用 Android Studio 集成
### 使用 Android Studio 集成
{:.no_toc}

The Android Studio IDE can help integrate your Flutter module.
Using Android Studio, you can edit both your Android and Flutter code
Expand Down Expand Up @@ -190,7 +191,8 @@ Android Studio 需要将你的 Flutter 模块作为依赖。
### Integrate without Android Studio
{:.no_toc}

## 不使用 Android Studio 进行集成
### 不使用 Android Studio 进行集成
{:.no_toc}

To integrate a Flutter module with an existing Android app
manually, without using Flutter's Android Studio plugin,
Expand All @@ -202,7 +204,8 @@ follow these steps:
#### Create a Flutter module
{:.no_toc}

### 创建 Flutter 模块
#### 创建 Flutter 模块
{:.no_toc}

Let's assume that you have an existing Android app at
`some/path/MyApp`, and that you want your Flutter
Expand Down Expand Up @@ -269,7 +272,8 @@ module an embeddable Android library.
#### Java version requirement
{:.no_toc}

### Java 版本要求
#### Java 版本要求
{:.no_toc}

Flutter requires your project to declare compatibility with Java 11 or later.

Expand Down Expand Up @@ -348,6 +352,7 @@ existing app in Gradle. You can achieve this in two ways.
{:.no_toc}

### 依赖 Android Archive (AAR)
{:.no_toc}

This option packages your Flutter library as a generic local
Maven repository composed of AARs and POMs artifacts.
Expand Down Expand Up @@ -471,6 +476,7 @@ dependencies {
{:.no_toc}

### 依赖模块的源码
{:.no_toc}

This option enables a one-step build for both your
Android project and Flutter project. This option is
Expand Down