Unity bug (SDK thing), does not know how to proceed

Hi,

I’m using unity 2017.3.0f3 and android SDK tools 26.1.1. When i try to built with these settings, it says “Unable to list target platforms. Please make sure the android sdk path is correct.”.

So i had to downgrade my android SDK tools to 25.2.3 according to Unity Issue Tracker - Android Build fails when the latest Android SDK Tools 25.3.1 version is used

The issue gone and now it says “Main manifest has but library uses targetSdkVersion=‘26’”

Really no idea how to proceed…

Best Regards
Kim

Forget all that stuff with downgrading android sdk’s and install Java JDK 8. I had the same issues with JDK 9 but a downgrade to JDK 8 fixed it.

2 Likes

This. With the latest releases of Unity (2017.x) I simply installed JDK 8 and had Android Studio download the latest API.

3380104--265273--Android SDK.png

2 Likes

u just remind me to download all the sdk and pick Target API Level = automatic (highest installed) and it successful compile! not quite sure how to make it available for lower version of phone yet…lol