![]() ![]() ![]() PS2: I can generate a debug APK without any issue whatsoever. PS: Obviously, I am selecting my variant here during the process: I do it via AS and follow the very standard procedure.Ĭan someone point to me what am I missing here? I assume there is a way to select a specific build variant when generating a signed APK, how does it works? Nothing changed in my way of generating an APK. In this case, I am using a testapp.apk file that we are going to install. Before going to the 2nd Step we will also need that APK file in advance that we will install. Now, I have been generating an APK every week for years now, so I know my way around the folders, the different build variant output folders etc. Method 1 Step 1: Opening Emulator First of all, we need to open the Android Studio Emulator properly, so that we can see the app that we are going to install in it. But when I try to generate a Signed APK, I get a strange message after building telling me:ĪPK(s) generated successfully for module 'android-mobile-app-XXXX.app' with 0 build variants:Įven though the build seem to be successful I cannot find the generated APK anywhere (and considering the time it takes to give me that error, I don't even think it is building anything). ![]() Now I can compile my project and launch my app on my mobile, everything is working. I just updated my Android studio to the version 2021.1.1 Canary 12.Īfter struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |