A few months ago I was trying to create an Android build for one of my Unity3D projects which used to be primarily for iOS. When trying to create a build, Unity showed this error:
Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct.
The error log also displayed a bunch of Android Java files it was trying to access. To fix this, double to check if the Android SDK path is entered properly in your Unity by checking Edit > Preferences > External Tools-tab > Android SDK. If that looks ok, go through the follow instructions:
- Go to https://developer.android.com/studio/index.html
- Scroll down to the bottom of that page and find Windows “tools_r25.2.3-windows.zip“. Download and unzip it.
- Remove and replace your folder “SDK” + “/tools”.
- Use the Android “SDK Manager” and upgrade to 25.2.5.
- Now everything works again in Eclipse, Android Studio, Unity3D!
Source: https://forum.unity3d.com/threads/unable-to-convert-classes-to-dex-format-android-issue.197061/
Related Posts
October 8, 2011
[How-to-Fix] Processing & JMyron = BSOD
How to fix blue screen of death when using Processing and JMyron
August 11, 2017
[How] Parse.com Get Data as Multidimensional List in Unity3D C#
I recently found that you're able to save multidimensional data to Parse. Saving the data wasn't a problem though, but getting it back from a ParseObject took me a while before I finally got it working.
November 3, 2011
Ryusei In-Game
Ryusei
Round 4 Storytelling ~ 3 Weeks Project
Building Virtual Worlds, Fall 2011
July 14, 2011
LEGO Minifigure Catalog Released!
The book went through several checks and has finally been approved and is now available for purchase at CreateSpace and later this month on Amazon.com