- Home /
The question is answered, right answer was accepted
My unity builds are not working
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!
@SasukeBro have you set correctly in the Player Settings/Other Settings the $$anonymous$$inimum API Level (Android 4.1 (Jelly Bean) - API Level 16) ?
Yes i have and thanks for replying. Also, good news i solved it!! ohh man so much joy
Answer by kyubi8 · Dec 28, 2017 at 02:22 PM
[ 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
Answer by JoniD89 · Jul 12, 2021 at 03:18 PM
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 https://developer.android.com/distribute/best-practices/develop/target-sdk