I'm requesting your help because I've made an app on Android studio, which works fine on my phone with usb debugging. I tried to build the unsigned apk with gradle but it won't install and my phone says that "the package must be corrupted" when I try to install it. I also managed to install a debug version apk on my friend's phone, it installed but kept on crashing regularly and was unusable. I probably have wrong settings in my project, but I'm new to this and don't really know what to do. Thanks for your help
Asked
Active
Viewed 101 times
1 Answers
1
Goto Build Option->Choose Build APK(S) and then generate debug APK and that APK you can install in your device

Mahesh Vayak
- 1,056
- 12
- 25
-
Is it fine if it isn't a release apk ? – Gogolplex Jan 10 '18 at 10:34
-
only generate debug apk – Mahesh Vayak Jan 10 '18 at 10:35
-
Done, that debug apk was successfully installed on my phone and seems to work. It crashes when my friend uses it though – Gogolplex Jan 10 '18 at 10:40
-
You friend might be using a phone with versions above Lollipop. – ChaitanyaAtkuri Jan 10 '18 at 10:41
-
I have Nougat, he has Marshmallow. It runs on his phone but is really slow a lot and then crashes – Gogolplex Jan 10 '18 at 10:43
-
@Gogolplex Check crash issue if debug.apk generated successfully then it's not apk issue – Mahesh Vayak Jan 10 '18 at 10:45
-
Okay, well I don't know where it comes from then.. Two more friends tried it. Crashes on Marshmallow apparently but works fine on Nougat and Oreo – Gogolplex Jan 10 '18 at 10:59