Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

app-debug.apk is crashing while I install it manually on my Android device

Tags:

android

apk

crash

My app is running fine on Android device when I run project from Android studio. But when I install app-debug.apk manually on my device then app is crashing on starting. And app-debug-unaligned.apk is not generating. Kindly give any solution, Thanks in advance.

like image 967
Furqan Avatar asked Mar 30 '17 05:03

Furqan


2 Answers

Delete debug.apk from output folder under build in app. and generate again and install .

like image 136
Chetan Joshi Avatar answered Sep 21 '22 04:09

Chetan Joshi


Mostly the issue comes due to presence of older application with same package name or different version number. Also, if you are sharing the apk using whatsapp, its likely to happen that apk wont install properly. And lastly improper build can also cause the issue. So to sum up-

  1. Uninstall previous app
  2. Check for version conflicts
  3. Avoid sharing apk through whatsapp
  4. Clean project
  5. Build Apk and then distribute
  6. Build signed Apk and then try installing(Recommended)
like image 26
Abhijit Avatar answered Sep 17 '22 04:09

Abhijit