Please help! I have been trying for days but still face the same problem. So I have been building a project for android and you would think building the game and testing it is the easiest part. haha. So many things to go through. Anyway my builds in unity are successful but the apk doesn’t work. When i try to install i get this error: “There was a problem while parsing the package”. I have tried everything i know but the problem still comes. I have Android Studio installed and all the API’s from current, down to Android 4.1 (Jelly Bean). I have also tried apk’s from other places and they install perfectly on my device. Even apk’s from my previous projects that i built in unity 5 work but this was on my laptop and now I’ve moved on to unity 2017.3 on a PC.
I would really appreciate any help.
Thanks!
[ SOLVED ] - so after the struggle one video helped me. The guy mentions that jdk9.0.1 doesn’t work with unity and of course i was running that. If you have same problem use jdk8. I’ve learned that new isn’t always best
I had this same problem and for me the issue was the Minimum API Level. I had the minimum API too high, which means some devices were not able to use the app. In Unity go to: Player Settings > Other Settings > Identification >
Minimum API Level: This should be set to the minimum which for me Android 4.4 ‘KitKat’ (API level 19)
Maximum API Level: This should be set to the maximum according to Google, see link Meet Google Play's target API level requirement | Android Developers