{"id":54313,"date":"2017-05-05T18:15:00","date_gmt":"2017-05-05T16:15:00","guid":{"rendered":"http:\/\/elwinlee.com\/blog\/?p=54313"},"modified":"2017-05-05T18:15:00","modified_gmt":"2017-05-05T16:15:00","slug":"fix-unity3d-android-unable-to-list-target-platforms","status":"publish","type":"post","link":"https:\/\/www.elwinlee.com\/blog\/fix-unity3d-android-unable-to-list-target-platforms\/","title":{"rendered":"[FIX] Unity3D &#8211; Android &#8211; Unable to List Target Platforms"},"content":{"rendered":"<p>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:<br \/>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-54319\" src=\"http:\/\/elwinlee.com\/blog\/wp-content\/uploads\/2017\/05\/unity-android-build-target-platforms.png\" alt=\"\" width=\"397\" height=\"157\" srcset=\"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2017\/05\/unity-android-build-target-platforms.png 397w, https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2017\/05\/unity-android-build-target-platforms-300x119.png 300w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/p>\n<blockquote><p>Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct.<\/p><\/blockquote>\n<p><!--more-->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 <strong>Edit &gt; Preferences &gt; External Tools-tab &gt; Android SDK<\/strong>. If that looks ok, go through the follow instructions:<\/p>\n<blockquote>\n<ol>\n<li>Go to <a href=\"https:\/\/developer.android.com\/studio\/index.html\">https:\/\/developer.android.com\/studio\/index.html<\/a><\/li>\n<li>Scroll down to the bottom of that page and find\u00a0Windows &#8220;<strong>tools_r25.2.3-windows.zip<\/strong>&#8220;. Download and unzip it.<\/li>\n<li>Remove and replace your folder &#8220;SDK&#8221; + &#8220;\/tools&#8221;.<\/li>\n<li>Use the Android &#8220;SDK Manager&#8221; and upgrade to 25.2.5.<\/li>\n<li>Now everything works again in\u00a0Eclipse, Android Studio, Unity3D!<\/li>\n<\/ol>\n<\/blockquote>\n<p>Source: <a href=\"https:\/\/forum.unity3d.com\/threads\/unable-to-convert-classes-to-dex-format-android-issue.197061\/\">https:\/\/forum.unity3d.com\/threads\/unable-to-convert-classes-to-dex-format-android-issue.197061\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to fix &#8220;Unable to list target platforms&#8221; error when trying to create an Android build with Unity3D<\/p>\n","protected":false},"author":1,"featured_media":54319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1079,255],"tags":[2515,2516,213,2517,995,2518,1619,1683,1734,2009,2010,2082,2213,2510,2511,2512,2513,2514],"class_list":["post-54313","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-fix-stuff","category-technology","tag-downgrade","tag-sdk-manager","tag-project","tag-android-sdk","tag-error","tag-tools","tag-fix","tag-how-to","tag-path","tag-unity3d","tag-unity","tag-android","tag-issue","tag-build","tag-platforms","tag-android-build","tag-target-platforms","tag-sdk"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/www.elwinlee.com\/blog\/wp-content\/uploads\/2017\/05\/unity-android-build-target-platforms.png","jetpack_shortlink":"https:\/\/wp.me\/p1mtRf-e81","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/54313","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/comments?post=54313"}],"version-history":[{"count":2,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/54313\/revisions"}],"predecessor-version":[{"id":54329,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/posts\/54313\/revisions\/54329"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/media\/54319"}],"wp:attachment":[{"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/media?parent=54313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/categories?post=54313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elwinlee.com\/blog\/wp-json\/wp\/v2\/tags?post=54313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}