I began a few days ago with Android Studio 1.2.2 in order to make some simple app by curiosity. I did a first one and was able to get the .apk without any problem in app>build>output.
But since yesterday I can't get any .apk in output folder although build is successful. Maybe have I done an unintentional mistake ? I see .gradle and output directories are excluded (folder is red) and I've got the problem since it is, why are those excluded and what would be the manipulation to solve this ?
Here's a screenshot
I've searched and read some threads but didn't manage to find the solution to my problem, I guess it must be simple but as a noob I still can't figure some things :)
Thanks a lot for your help,
Aaron
In the Android menu, go to Build > Build Bundle(s) / APK (s) > Build APK(s). Android Studio will start building the APK for you. Once done, a pop-up on the bottom right will notify you of its completion. Click the 'locate' button in this dialog.
Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK. Android Studio then displays the unpacked APK files, similar to figure 1.
The build window should open when you run a build action (e.g. from the Build menu). If you don't see it, you can try the "Build" button along the bottom of the window (also visible in the above screenshots), or through the menus View → Tool Windows → Build. Save this answer.
By default, the Gradle build creates two . apk files in the build/outputs/apk folder. To build and start your unit tests on the JVM use the following command. To build and start your instrumented tests on your Android device use the following command.
After successful build, run your application. Then you will get the APK folder inside of the app/build folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With