1

I am new in android studio, till now I am work on eclipse but now move to android studio, so Where is .apk file for android studio 2.1? like in eclipse its in "bin" folder.

there are 2 app-debug-unaligned.apk & app-debug.apk file. But when I take that APK file in my mobile for running test app. than after installed its crash

so basically i want to generate .apk file for external use. like when i am using eclipse, apk file in bin folder . when i take that apk file to my mobile that perfectly working

JnT
  • 21
  • 8

6 Answers6

1

Hope you would find this helpful.

enter image description here

SAIR
  • 1,121
  • 11
  • 31
0

Find your apk here

YourProject/app/build/outputs/apk/app-debug.apk
Abhishek Patel
  • 4,280
  • 1
  • 24
  • 38
  • app-debug.apk & app-debug-unaligned.apk both are generated in apk folder but when I take it on my mobile its not working perfectly. – JnT Jun 02 '16 at 10:16
  • simpley rename app-debug.apk to your application name and try to install on device it amy help you – Abhishek Patel Jun 02 '16 at 10:17
0

Find your apk @,

YOUR_APP_PATH\app\build\outputs\apk\app-debug.apk
YOUR_APP_PATH\app\build\outputs\apk\app-debug-unaligned.apk

This may helps you

Sathish Kumar J
  • 4,280
  • 1
  • 20
  • 48
0

Open Project 1. Click on Your App 2. Click on Build 3. Click on outputs 4. Click on apk 5. Here You get app-debug.apk which is apk file

Sabby
  • 403
  • 3
  • 15
  • there are 2 app-debug-unaligned.apk & app-debug.apk file. But when I take that APK file in my mobile for running test app. than after installed its crash. – JnT Jun 02 '16 at 10:20
  • app-debug.apk is the apk – Sabby Jun 02 '16 at 10:21
  • so basically i want to generate .apk file for external use. like when i am using eclipse, apk file in bin folder . when i take that apk file to my mobile that perfectly working – JnT Jun 02 '16 at 10:21
  • have you tested your build on any emulator for errors? – Sabby Jun 02 '16 at 10:22
  • Its unfortunately stop alert box is display when app-debug.apk is installed in mobile – JnT Jun 02 '16 at 10:43
  • have you checked targetSdkVersion – Sabby Jun 02 '16 at 11:02
0

You can find it from android studio by changing the view structure to project view the picture for reference

SaravInfern
  • 3,338
  • 1
  • 20
  • 44
0

It depends on your configuration,When you are generating signed apk by default your apk will fall under the below mentioned folder.

Your_Projects_Folder/app/app-release.apk

All your debug apk file will generate in build folder like Sathis Kumar J metioned,Unsigned Debug Build

Community
  • 1
  • 1
Srinivasan
  • 4,481
  • 3
  • 28
  • 36