Upload failed: Your Instant App APKs should contain at least one base APK

泄露秘密 提交于 2019-12-01 07:33:48

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?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!