- Home /
How do I choose the Android SDK version for Unity Cloud Build?
I'm using Unity 5.6b8 and I want Unity Cloud Build to build with Android SDK 25 so I made ProjectSettings.asset:
AndroidMinSdkVersion: 19 AndroidTargetSdkVersion: 25
and in UCB log I see it using version 23:
2473: [Unity] DisplayProgressbar: Android SDK Detection 2474: [Unity] AndroidSDKTools: 2475: [Unity] root : /APPLICATION_PATH/Android Studio.app/sdk/ 2476: [Unity] tools : /APPLICATION_PATH/Android Studio.app/sdk/tools 2477: [Unity] platform-tools: /APPLICATION_PATH/Android Studio.app/sdk/platform-tools 2478: [Unity] build-tools : /APPLICATION_PATH/Android Studio.app/sdk/build-tools/23.0.2
I also tried configuring it using Plugins/Android/AndroidManifest.xml and UCB still used 23.
Any answer on this? Ideally I'd like to b able to select the android SD$$anonymous$$ in my source repository so the SD$$anonymous$$ is always in sync with the code version.
The Android SD$$anonymous$$ version is separate to the build tools version. It may be using version 23 of the build tools to build an android project that has an Android SD$$anonymous$$ version (aka Android API Level) of 25. Unfortunately I couldn't find anything in the UCB log that indicates which Android SD$$anonymous$$ version it is using :(