I need to prepare an Alpha testing for an Instant App and It run like a charm on Android Studio but It is failing when I try to upload it to the PlayStore, saying:
Yeah!!! I found the issue!!!!(and its not in any of the google help documents)
The issue was that I was dropping the instantApp apk file straight away. The solution is to create a zip file with the instantApp apk and the base apk and drop that zip file!!!
Thanks for your help!!! At the end the issue wasnt gradle or the code..it was the PlayStore :)
I hope that if anyone has the same problem this question can help them!!!
This sample project seems to be pretty close to what you're trying to achieve. Perhaps you don't need the application project(":apk")
in your base/build.gradle
since you only have one feature (and that is the base split). You could also try removing base = true
.
This section of the docs covers your use case - but it sounds like everything is set up correctly.
Could you also add your AndroidManifests
to your original post?