Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 1.2.2, build successful but no apk in build/output?

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

like image 690
Aaron Noseday Avatar asked Jul 17 '15 08:07

Aaron Noseday


People also ask

Where is APK after build?

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.

How do I run an APK file in Android Studio?

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.

Where is build output in Android Studio?

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.

Where does Gradle build APK?

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.


1 Answers

After successful build, run your application. Then you will get the APK folder inside of the app/build folder.

like image 129
Mohammad Arman Avatar answered Oct 19 '22 04:10

Mohammad Arman