我有一个包含以下模块的即时应用程序:
- 基本特征
- 特色1
- 特征2
- 已安装
- 立即的
我想installed
同时拥有feature1
和feature2
,并且instant
只拥有feature1
。
即时build.gradle
:
apply plugin: 'com.android.instantapp'
dependencies {
implementation project(':base')
implementation project(':feature1')
}
安装build.gradle
:
apply plugin: 'com.android.application'
dependencies {
implementation project(':base')
implementation project(':feature1')
implementation project(':feature2')
}
我想测试上传到 Google Play 开发者控制台,所以我创建了instant
应用发布版本。它包含base
和feature1
apk,但是当我将它上传到控制台时,我收到错误:
Your Instant App APKs contains an APK name 'feature2' that either does not exist or was not included.
我究竟做错了什么?应用程序可以有不同的功能集installed
,instant
对吗?