Reputation: 309
I'm trying to add my APKs to Play Store but it gives an error :
Upload failed Your Instant App APKs contains an APK name 'productdetail' that either does not exist or was not included.
Any idea why can it happen?
Thanks for your help!
Upvotes: 0
Views: 932
Reputation: 189
A few things you could check here:
productdetail
APK. You need to upload all APKs at once.feature project(':productdetail')
in your dependencies
section of your build.gradle
file. (Modify the relative project path if product detail does not sit in the root folder of the project)build.gradle
(i.e. the one with com.android.instantapp
plugin applied), you have implementation project(':productdetail')
in your dependencies
section.Detailed explanation of project structure could be found here: https://developer.android.com/topic/instant-apps/getting-started/structure.html
I would also recommend checking out Hello World code samples from https://developer.android.com/topic/instant-apps/samples.html and compare your build.gradle
against the samples to spot mistakes in build files.
Upvotes: 2