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.
Delete debug.apk
from output folder under build in app. and generate again and install .
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-
- Uninstall previous app
- Check for version conflicts
- Avoid sharing apk through whatsapp
- Clean project
- Build Apk and then distribute
- Build signed Apk and then try installing(Recommended)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With