• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by gennaker · Mar 14, 2017 at 05:30 PM · android sdk

What causes "unable to list target platforms" for Android SDK build?

I am attempting to build to Android with Daydream selected as a VR platform. I've installed Android Studio 2.3 with associated SDK's for Android Nougat 7.0 and 7.1. I'm running Unity 5.6 beta 11.

When I set the paths for the android SDK: C:/Users/brad/AppData/Local/Android/sdk and the JDK: C:/Program Files/Java/jdk1.8.0_121

I get the following error:

CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/brad/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity 5.6.0b11\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

What am I missing here?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tcoursey · Mar 15, 2017 at 08:42 PM 0
Share

@gennaker Did you ever figure this out? I'm having the same issue. Can't find an answer anywhere.

avatar image dsentence · Mar 16, 2017 at 12:29 PM 0
Share

I just had the same problem, downgrading solved it for me.

Go to https://developer.android.com/studio/index.html and go to downloads scroll down to the bottom of that page and find Windows "tools_r25.2.3-windows.zip" download and unzip it then remove and replace the folder tools of your current SD$$anonymous$$ install. (just delete everything in it)

avatar image Ahsenhein dsentence · Mar 17, 2017 at 03:44 AM 0
Share

Yes, that's the problem. I did it too and worked.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ahsenhein · Mar 16, 2017 at 07:09 AM

I think it's a problem with the new sdk update. Try drowngrade your sdk to 25.3.5.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by SmithSchuldiner · May 02, 2017 at 09:29 AM

http://answers.unity3d.com/questions/1320634/unable-to-list-target-platforms-when-i-try-to-buil.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Setup Unity 4.0 to Android SDK 1 Answer

Android SDK - Does Unity need the system-images? 2 Answers

Unable to convert classes into dex format 1 Answer

Can't not set up android sdk path 5 Answers

I am having trouble building the project for android (i can't build) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges