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
You should Build your app instead of debugging process. Just follow this:
Build -> Build Bundles/APK(s) -> Build APK(s)
Go to AndroidStudio projects File
You will find APK files of app here, if you have ran the app in AVD or even hardware device
in android 3.1.0 Above use below path to find signed version of APK
home/AndroidStudioProjects/<projedct name>/app/app-release.apk
and in windows
AndroidStudioProjects\{project name}\app\release\app-release.apk
In my case to get my debug build - I have to turn off Instant Run option :
File → Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run.
Then after run project - I found my build into Application\app\build\outputs\appDebug\apk directory
When you have android studio make your signed apk file it uses
<property name="ExportedApkPath" value="$PROJECT_DIR$/PROJNAME/APPNAME.apk" />
inside workspace.xml to find out where to place it. However, if you use ./gradlew assembleRelease
it places it inside PROJNAME/build/apk. I have the same problem. For some reason my android studio will not show me anything inside the apk subdirectory so the apk is for all intents and purposes missing. But if you search with finder it's most definitely there.
Mine application's apk was at this location
C:\Users\haseeb_mir\AndroidStudioProjects\MyTestApp\app\build\outputs\apk\debug