- Home /
Conflict between AndroidNative library and android Manifest
Hey guys. I'm working on a project and I've just updated Unity to last version (2017.2.0).
Alas now I got an issue from Ultimate Mobile Asset. Previously the project was working, now it seems Ultimate Mobile android native libraries ask for Target Api version 26, while the highest unity API version is the 25. Is there any way to solve this?
I tried this installing ultimate mobile into an empty project and I get the same errors. On PlayerSettings -> Other Settings -> Target Api Level I set Automatic (highest installed)
The error I receive are just the same:
Temp\StagingArea\AndroidManifest-main.xml:3, C:\VersionControl\UnityProjects\Ultimate Empty Project\Temp\StagingArea\android-libraries\androidnative\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion='26'
Answer by electroid · Oct 26, 2017 at 09:30 AM
I got exactly same problem. I got reply from Unity team that latest sdk will automatically be used if automatic (highest installed) is set in player settins http://answers.unity3d.com/questions/1393684/build-for-android-o-target-api-26-not-available.html
You need to go to android studio and using sdk manager install latest sdk and make sure you can build for version 26 in android (then you know sdk for version O installed).
After that you should be able to compile in unity without problems.
Your answer
Follow this Question
Related Questions
ALPSVR Camera Roll & Yaw 0 Answers
Unity Touch=2 commends? 1 Answer
Terrain Texture Black on Android 2 Answers
My Unity android game cant run on my android 1 Answer
Normal map is not working with Unity 5 when Low-level Native Plugin Interface is used 0 Answers