Where is android studio building my .apk file?

前端 未结 13 1140
离开以前
离开以前 2020-12-23 02:49

I\'ve been rebuilding my project from the ground up, so there\'s been a lot of problems with it. At the moment, everything\'s working great, except that when I try to run th

相关标签:
13条回答
  • 2020-12-23 03:04

    When Gradle builds your project, it puts all APKs in build/apk directory. You could also just do a simple recursive find command for *.apk in the top level directory of your project.

    Here is a better description...

    http://i.stack.imgur.com/XwjEZ.png

    View full image at http://i.stack.imgur.com/XwjEZ.png

    0 讨论(0)
  • 2020-12-23 03:07

    You can find it in the

    project -> app (or your main app module) -> build -> outputs -> apk
    
    0 讨论(0)
  • 2020-12-23 03:07

    Take a look at this question.

    TL;DR: clean, then build.

    ./gradlew clean packageDebug 
    
    0 讨论(0)
  • 2020-12-23 03:09

    YourApplication\app\build\outputs\apk

    0 讨论(0)
  • 2020-12-23 03:10

    For Android Studio:

    If you haven't built the APK at least once, you might not find the /Outputs/APK folder. Go to Build in Android Studio and one of the last three options is Build APK, select that. It will then create that folder and you will find your APK file there.

    0 讨论(0)
  • 2020-12-23 03:19

    I was having the issue finding my debug apk. Android Studio 0.8.6 did not show the apk or even the output folder at project/project/build/. When I checked the same path project/project/build/ from windows folder explorer, I found the "output" folder there and the debug apk inside it.

    0 讨论(0)
提交回复
热议问题