Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by fastlight821 · Jun 25, 2020 at 07:55 AM · unityeditorandroid buildandroid sdkandroid-sdk

Android SDK not found or invalid unity.

I am working on Unity 2019.4.1f1 (Windows), The dialog box contains "Android SDK not found or invalid. Please, fix it in Preferences -> External Tools" .

I have tried it manually by installing android studio and by unity hub also, but still the same problem.

I will be grateful if you helped me.

Thank you.

Comment
Add comment
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

3 Replies

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

Answer by unity_6CbpIfHdnbBAfQ · Jul 02, 2020 at 06:02 AM

I too had the problem but after 3 full days of looking(re-downloading, deleting, moving files).I found a solution that worked for me and Unity was able to detect my SDK. ------------>

Go to Android Studio Click Configure then SDK manager Click SDK Tools Install Android SDK Command-line Tools(latest) [Make sure it is in the same default location all your files are in) Now you should be set __ Go into Unity->Edit->Preferences and click browse Unity should Know WORK!(Make sure your path is same as Android studio leave box unchecked if needed)

@fastlight821 Let Me Know if this Helped:)

Comment
Add comment · Show 2 · 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 fastlight821 · Jul 05, 2020 at 04:00 AM 0
Share

Thanks, it Workes, but my unity gets stuck at last of the build Gradle project, and an error cames. please help.

avatar image fastlight821 · Jul 05, 2020 at 05:27 AM 0
Share

Thanks, it Workes, but my unity gets stuck at last of the build Gradle project, and an error cames :- build player window exception. please help.

avatar image
0

Answer by Gonzalo66_66 · Jun 25, 2020 at 09:03 AM

Hi, I have had that problem in the past. I found that when installing from hub, in the installs, there is the option to install the SDK and JDK, which I did not see. e.g, when installing Unity 2019.3.15f1, (see images...oops, does not let me upload the images!!) you have to click in the '>' sign. click on it and the SDK, ndk and openJDK install options are shown. Check them and go ahead with installation. This is the easiest way, I think. Hope this is useful.

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 fastlight821 · Jun 25, 2020 at 04:49 PM 0
Share

Yeah , i have also expand the android build support optio and click on openJdk and ndk . Still the same problem is occuring . Please help

avatar image
0

Answer by ahmedaniss · Jun 25, 2020 at 10:56 AM

here instal sdk and ndk and jdk and gradle : https://www.youtube.com/watch?v=9N8a73tewxk&list=PLZ9r494V8A-2PpLSGtmNpqMCbrOmNH7Hg∈dex=7

Comment
Add comment · Show 4 · 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 fastlight821 · Jun 25, 2020 at 04:53 PM 0
Share

I have installed all manually. Still the same problem . Please help

avatar image ahmedaniss fastlight821 · Jun 26, 2020 at 03:06 AM 0
Share

follow my video to setup correctly https://www.youtube.com/watch?v=9N8a73tewxk&list=PLZ9r494V8A-2PpLSGtmNpq$$anonymous$$CbrOmNH7Hg∈dex=7

avatar image fastlight821 ahmedaniss · Jun 26, 2020 at 06:19 AM 0
Share

I have followed your steps, still the same problem

Show more comments

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

139 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 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 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 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 avatar image avatar image avatar image

Related Questions

Android SDK not found or invalid in unity. 3 Answers

CommandInvokationFailure: Gradle build failed when build android apk 0 Answers

You are missing the recommended Android NDK. 2 Answers

weird error prevent unity building apk PLZ help 2 Answers

Has anyone gotten Unity2020 working with external Android libs/tools? 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