I developed an instant app apk basing on google tutorials and samples. When I'm trying to start rollout to production, I see one error: Non-upgradable to installed app
PROBLEM
Some users of this Instant App APKs will not be eligible for any of the APKs in your installed app.
RESOLUTION
Ensure that the targeting of your Instant App APKs matches the targeting of your APKs.
Project structure: There are two scenarios, 1st:
base - baseFeature, minSdk 18, targetSdk 26
application project(':apk')
feature project(':item-details')
item-details feature - minSdk 18, targetSdk 26
api project(':base')
ui - feature not included in instant module, minSdk 18, targetSdk 26, module contains all views
implementation project(':base')
other modules like customcomponents, shared etc
instant - instant app module minSdk 18 or 23, targetSdk 26
implementation project(':base')
implementation project(':item-details')
apk - apk module, minSdk 18, targetSdk 26
implementation project(':ui')
implementation project(':shared')
Second scenario has item-details code in baseFeature.
Instant app is running from Android Studio and from Google Play development and pre-release. Also when I'm trying to upgrade to installed app, everything works fine. In my opinion, targeting is correct but Google Play Console thinks differently.
Do you know any ideas about how to rollout instant apps? Please help :( I've been working on this release for 3 days and I can not rollout app.
UPDATE 10.09.2017 APK Details:
Supported Android devices 8448 devices
API levels 18+
Target SDK 26
Screen layouts 4 screen layouts
Localizations default + 113 languages
Features 2 features
Required permissions 12 permissions
OpenGL ES versions 1.0+
OpenGL textures all textures
Uploaded Sep 9, 2017, 7:57:11 AM PDT