Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
17
Question by ExtinctSpecie · Mar 03, 2017 at 06:16 PM · androidsdkplatform

unable to list target platform

http://answers.unity3d.com/questions/1280198/unable-to-list-target-platforms-cant-build-into-an.html

similar to this question above with the exception that i do not have any kind of folder like that

Error building Player: CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:/Program Files (x86)/Java/jdk1.8.0_112\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Users/sw-user2/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

this was working a day before i entered android studio and i updated some stuff ( i think it was sdk as well) and then this happened i cant run my unity project

Comment
Add comment · Show 16
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 ikust · Mar 06, 2017 at 01:42 PM 1
Share

Did you upgrade Android SD$$anonymous$$ tools recently? It stopped working for me after updating SD$$anonymous$$ tools to the latest version. After downgrading back to SD$$anonymous$$ tools version 25.2.5 build started working again.

avatar image ExtinctSpecie ikust · Mar 07, 2017 at 09:54 AM 0
Share

yes i did the same thing , now works properly not with the latest version of android sdk tho

avatar image ikust ExtinctSpecie · Mar 07, 2017 at 09:59 AM 0
Share

Yeah. $$anonymous$$y guess is that Google removed some of the tools that current Unity version depends on from the latest version: https://developer.android.com/studio/releases/sdk-tools.html

avatar image molul · Mar 07, 2017 at 10:08 AM 0
Share

Exactly the same problem here :(

avatar image Kerihobo · Mar 11, 2017 at 01:21 AM 0
Share

This worked... except there was one last reason why I still couldn't build...

Don't forget to delete the previous build of your app from your device, if it's still on there and you try to build, it'll complain about some version number differences and refuse to overwrite or something. Basically, just delete your build from device as an added step.

avatar image atomus108 · Mar 16, 2017 at 09:21 AM 0
Share

@molul Worked for me.

avatar image phygitalmadhouse · Apr 28, 2017 at 08:52 AM 0
Share

Same problem here.

I updated Unity 5.5 and Android SD$$anonymous$$ and all goes crazy.

This solution (downgrade SD$$anonymous$$) work like a charm for me and save my day.

Never forget if something works , no updates , lol.

W7 Unity 5.5.2f

avatar image NoseKills phygitalmadhouse · Apr 29, 2017 at 08:56 AM 0
Share

Finally fixed in 5.6.0p3... but don't update unity if everything works now :)

Show more comments

5 Replies

· Add your reply
  • Sort: 
avatar image
49
Best Answer

Answer by molul · Mar 07, 2017 at 09:42 AM

Found a solution here: http://stackoverflow.com/questions/42538433/not-finding-android-sdk-unity#

I have same problem.

I fixed by android sdk tool version downgrade.

The steps.

Rename android sdk tool folder : [Your Android SDK root]/tools -> toolsXXXX Download SDK Tools: http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip Extract that to Android SDK root Build your project

It worked for me :)

Comment
Add comment · Show 21 · 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 ikust · Mar 07, 2017 at 10:16 AM 0
Share

Yeah, that's the exact solution I've used :)

avatar image wahaca · Mar 07, 2017 at 03:34 PM 0
Share

Thanks for the solution. :)

I had to update my jdk to 1.8 as well.

avatar image rd3_developer · Mar 10, 2017 at 05:52 PM 1
Share

If i downgrade TOOLS, my AP$$anonymous$$ doesn't install on device Android. I update JD$$anonymous$$, wont help too. Unity 5.5.0p4 Android Studio 2.3.0.8 ( SD$$anonymous$$ from 21 to 25 ) ND$$anonymous$$ r10e ( for IL2CPP ) JD$$anonymous$$ 1.8.0_121 or 1.8.0_101

After update Android Studio, everything broken!

avatar image DevGallie · Apr 28, 2017 at 06:21 AM 0
Share

Thanks @molul,

Yesterday I updated all my tools to Unity 5.6.0f3, Android Studio 2.3.1, and JD$$anonymous$$ 1.8.0_131. Then got the "Unable to ..." error.

I followed your fix using tools_r25.2.5-windows.zip on Windows 10, and then it worked.

$$anonymous$$any thanks for sharing this. It saved me a lot of work.

avatar image molul DevGallie · Apr 28, 2017 at 06:43 AM 0
Share

$$anonymous$$y pleasure :)

avatar image phygitalmadhouse · Apr 28, 2017 at 08:35 AM 0
Share

Same problem here.

I updated Unity 5.5 and Android SD$$anonymous$$ and all goes crazy.

This solution (downgrade SD$$anonymous$$) work like a charm for me and save my day.

Never forget if something works , no updates , lol.

W7 Unity 5.5.2f

Show more comments
avatar image
3

Answer by kosmo7nia · Jun 18, 2017 at 04:34 PM

If you are a MacOS user, you can download here: https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip

Comment
Add comment · Show 1 · 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 FiscusMedia · Jul 08, 2017 at 11:01 PM 0
Share

THAN$$anonymous$$ YOU! This helped fix the problem on $$anonymous$$ac, just had to replace the tools folder in the Android SD$$anonymous$$ with tools_r25.2.5

avatar image
0

Answer by pld · Nov 30, 2017 at 10:33 PM

Easier solution: set the environment variable USE_SDK_WRAPPER=1, or hack tools/android.bat to add the line "set USE_SDK_WRAPPER=1". This prevents android.bat from popping up a "y/n" prompt, which is what's confusing Unity.

@Bunny83, can you unlock https://answers.unity.com/questions/1323731/unable-to-list-target-platforms-please-make-sure-t.html so I can add this info?

Comment
Add comment · Show 1 · 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 danimal197 · Apr 04, 2018 at 01:35 AM 0
Share

This didn't fix it for me, any idea why? $$anonymous$$y environment variable for USE_SD$$anonymous$$_WRAPPER correctly returns 1

avatar image
0

Answer by ruldab111_unity · Apr 22, 2018 at 11:08 PM

просто удалите tools и поставьте этот на его место =) **https://dl.google.com/android/repository/tools_r25.2.5-windows.zip** или этот *https://dl.google.com/android/repository/sdk-tools-windows-3859397.zip*

alt text


123.png (65.9 kB)
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 liortal · Apr 25, 2018 at 06:35 PM

To quote my answer from Stack Overflow:

The error happens due to this Unity bug (related to the latest Android SDK tools version). You can see in the error message that the "manifmerger" tool returns an error code (64):

stderr[ Error:Invalid command manifmerger ] stdout[

] exit code: 64

The bug is fixed in the latest Unity (beta) version. There is a workaround, as described on that page:

Workaround for the customers.

just open https://developer.android.com/studio/index.html scroll down to the bottom of that page go to downloads scroll down to the bottom of that page find Windows "tools_r25.2.3-windows.zip" download and unzip it or, on mac: find MacOSX "tools_r25.2.3-macosx.zip" download and unzip it. In the SDK path replace the tools folder. This is a quote from the issuetracker page. I've added direct links to the downloads, since they seem to be missing from the Android website.

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.

Follow this Question

Answers Answers and Comments

34 People are following this question.

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

Related Questions

Android problem, "no platform found" 3 Answers

No platforms found (Android Build) 3 Answers

Android SDK does not include any platforms! 3 Answers

SDK Doesnt work 0 Answers

Facebook SDK(android) - error 1 Answer


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