Académique Documents
Professionnel Documents
Culture Documents
Version 3
Last year we announced that starting from August 2018 all new apps and games submitted to
the Google Play Store will require a target API level of 26 or above (Android 8.0 Oreo), including
games based on Unity. From November 2018 this will also apply to updates to existing apps.
More information available here.
These approaches can help you to set the targetSdkVersion to 26 in your Unity IDE, however
note that actual support for API 26 behavior changes depends on the version of the Unity
engine you are using, as well as any plugins or SDKs. Test your game on API 26 before
publishing especially if you have altered the Android manifest manually. In general, Unity’s
recommendation is to migrate to supported versions like Unity 2017.4 (Long Term Support
release) as soon as possible. Please note that Unity 5.6 and earlier versions are no longer
supported. More info here: https://unity3d.com/unity/qa
Version 3
Unity 4.3.x to 5.6.5
Prior Unity versions use a command that is deprecated in the latest Android SDK tools, which
breaks the build process. The workaround is to replace the tools directory with the one from the
previous version of the Android SDK. There are two known ways to build a Unity project:
When the Internal Build workaround is not applicable, exporting the project, modifying the
manifest, importing the project in Android Studio and building is a viable alternative.
Version 3
i. Build-tools 23.0.3
ii. Platforms 22
3. In Unity → Preference → External Tools, set the Android SDK path to:
~/$user/sdk_unity/tools
4. Export the Android project
a. If you get an error looking like: Failed to Copy File / Directory from
'/Applications/Unity/PlaybackEngines/AndroidPlayer/Data/unity default resources'
to 'Temp/StagingArea/Data/unity default resources'.
Fix: Open your assets folder and delete the “Temp” folder
4. Build APK
Version 3