I have an Instant app with following modules:
- base feature
- feature1
- feature2
- installed
- instant
I want installed
to have both feature1
and feature2
, and instant
only have feature1
.
Instant build.gradle
:
apply plugin: 'com.android.instantapp'
dependencies {
implementation project(':base')
implementation project(':feature1')
}
Installed build.gradle
:
apply plugin: 'com.android.application'
dependencies {
implementation project(':base')
implementation project(':feature1')
implementation project(':feature2')
}
I want to test upload to Google Play developer console, so I created instant
app release build. It contains base
and feature1
apks, but when I upload it to console I get the error:
Your Instant App APKs contains an APK name 'feature2' that either does not exist or was not included.
What am I doing wrong? It is possible to have different sets of features for installed
and instant
apps, right?