Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,15 @@ allprojects {
}
```

二、在module级别的build.gradle文件中添加`com.growingio.android`插件、`vds-android-agent`依赖和对应的资源:
**二、在module级别的build.gradle文件中添加`com.growingio.android`插件、`vds-android-agent`依赖和对应的资源:**

### URL Scheme获取方式有两种
URL Scheme获取方式有两种

1. 添加新产品:登录官网 -> 点击项目选择框 -> 点击“项目管理” -> 点击“应用管理” -> 点击“新建应用”->选择添加Android应用 ->填写“应用名称“,点击下一步->在第二段中标黄字体
1. 添加新产品:登录官网 -> 点击项目选择框 -> 点击“项目管理” -> 点击“应用管理” -> 点击“新建应用”->选择添加Android应用 ->填写“应用名称“,点击下一步->在第二段中“此应用的 URL Scheme 为:growing.xxxxxxxxxxxxxxxx”标黄字体
2. 现有产品:登录官网 -> 点击项目选择框 -> 点击“项目管理” -> 点击“应用管理” -> 找到对应产品的URL Scheme。

![项目管理](../../../../.gitbook/assets/image%20%282%29.png)

### URL Scheme的格式是growing.xxxxxxxxxxxxxxxx

```groovy
apply plugin: 'com.android.application'
apply plugin: 'com.growingio.android'
Expand Down