0

After generating apk with android studio, I took my apk file in my phone, then I installed it but when I tried to open it, I got an error (check out pic, this error occurs after gettomg apk from android studio):

"unfortunately app Has stopped"
Error When i tired to install my app after i exported apk by eclipse

When I tried export apk by eclipse, I got file apk with small size 270kb, and when I moved it in my phone I could not install it I get error

Size of apk file after exported apk by eclipse

Help Me Please . . . .

thor
  • 21,418
  • 31
  • 87
  • 173
  • Happened to me in the past that antivirus did not give it run.But I do not think that's the case. –  Aug 18 '16 at 23:47
  • Is the apk file version you created a suitable device? –  Aug 18 '16 at 23:49
  • Yeah i did but i get error :( – Dja MaaC Aug 18 '16 at 23:58
  • Did you try on another device? –  Aug 19 '16 at 00:05
  • yeah i did with many devices i got the same error – Dja MaaC Aug 19 '16 at 00:11
  • So the problem is with the file. –  Aug 19 '16 at 00:13
  • You will need to look at the code that created the apk file. –  Aug 19 '16 at 00:15
  • put your `androidmanifest.xml` code – skydroid Aug 19 '16 at 04:30
  • You need to use adb (the android debugging bridge) and show us the resulting logcat log where the error occurs http://stackoverflow.com/questions/24598577/connect-bluestacks-to-android-studio without logcat, we're blind. – Stephan Branczyk Aug 19 '16 at 04:30
  • Some other problems your phone is having (although, that may not be the problem). Your phone doesn't have enough free internal memory, usually you need to have at least 30% of free memory. Also your external sdcard, or your sim card, is missing. I'm not sure which. Again, that's probably not the problem, but you should take care of that problem anyway because your phone will lock up more frequently if you're running low on memory. – Stephan Branczyk Aug 19 '16 at 04:40

1 Answers1

0

Turn off the Instant Run in Android studio and clean and rebuild your project. Run it on any emulator and then install the generated apk in your real device. Happy Coding :)

Dhalloo
  • 155
  • 3
  • 14