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
0
Question by loafer · Jun 30, 2017 at 07:28 PM · androidbuildbuild-errorandroid build

Unable to build for Android with Unity 5.6.1

I have a very simple app I am trying to test on android and every time I go to build it errors saying:

Android SDK is missing required platform API. Required API level 23.

If i click update android SDK it's just an an endless loop with the same error showing and the same result every time I click update android SDK.

If i click cancel it has this error: UnityException: Required API level 23. Make sure Android SDK path is writable by the Editor.

If i click Use Highest installed version it errors: Build set to use Minimum SDK of AndroidApiLevel23 but the latest installed SDK on the system is 0. Please use the Android SDK installation tool to install the minimum required SDK version.

I for sure have my paths right on the Android SDK. I am able to build other things from Android Studio just fine. I also moved my Android SDK install outside of Users/jacob/Library and into a folder that I put read / write permissions on for everyone.

Comment
Add comment · Show 1
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 Andresco · Nov 22, 2017 at 08:46 AM 0
Share

Hello Guys, I could solve it.

FINALLY I FOUND A SOLUTION!!!!, the video is in spanish but that doesnt matter you just have to follow the stepts. It worked to me, good luck! https://www.youtube.com/watch?v=srxEGEiosUU

9 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by nickeeromo · Aug 17, 2017 at 12:07 PM

I solved this just now by fiddling with the permissions. It was going for C:\Program Files (x86)\Android\android-sdk. So I right-clicked on that folder in Windows Explorer, Shared the folder (just to be doubly sure) and in the Security tab, edited permissions.

alt text

And then selected Edit, but I couldn't change some permissions, so I went into Advanced and fiddled around a little bit until I could change every Group possible to have Full Control of Folder, Subfolder, and Files.

alt text

Tried again in Unity and worked like a charm.


capture.png (19.3 kB)
capture.png (32.3 kB)
Comment
Add comment · Show 3 · 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 nickeeromo · Aug 17, 2017 at 12:17 PM 0
Share

Sorry - forgot to mention I am using Windows 10.

avatar image kobyfr · Oct 09, 2020 at 01:26 PM 0
Share

that did the trick

avatar image Tankzo · Nov 23, 2020 at 09:05 PM 0
Share

This is the solution (Just need to give full access to: Users (\Users) and it works.

avatar image
0

Answer by EpsilonQoppa · Jun 30, 2017 at 07:40 PM

I had a similar problem when trying to use the SDK I downloaded with android studio.

How I was able to move forward was by removing my old copy and downloading the SDK directly from the link provided by unity in:

Preferences/External Tools

alt text

I'm not sure the source of the problem. I never circled back to investigate.

Hopefully it works, I'm also using 5.6.1x


unity-pref.png (31.9 kB)
Comment
Add comment · Show 3 · 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 loafer · Jun 30, 2017 at 07:43 PM 0
Share

yah, i have tried this as well, with no luck.

avatar image EpsilonQoppa loafer · Jun 30, 2017 at 10:15 PM 0
Share

$$anonymous$$aybe try reinstalling unity? I've had bad installs cause a lot of weird stuff. One time it made black horizontal lines across the screen of my android.

avatar image FiveFingers · Oct 05, 2017 at 01:22 PM 0
Share

Notice that he used forward slashes and not backslashes for the locations even if he is clearly on a Windows platform.

avatar image
0

Answer by KarlHoff · Nov 13, 2017 at 04:34 PM

Hi @loafer , did you find any solution to your problem finally? Me too I am facing with the same issue and I can't fix it in any way. Any kind of help would be appreciate. Thanks a lot.

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 loafer · Nov 13, 2017 at 05:36 PM 0
Share

The computer I had this problem on, I never found a solution. We used a different machine to build on. Very annoying.

avatar image
0

Answer by bhavinbhai2707 · Nov 13, 2017 at 04:50 PM

either u can download the required API using SDK manager or else you can do is change the value of minimum level api required in Android Manifest

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 Andresco · Nov 22, 2017 at 08:47 AM

Hello Guys, I could solve it. FINALLY I FOUND A SOLUTION!!!!, the video is in spanish but that doesnt matter you just have to follow the stepts. It worked to me, good luck! https://www.youtube.com/watch?v=srxEGEiosUU

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
  • 1
  • 2
  • ›

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

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

Related Questions

I have a build problem android. 0 Answers

Failed to build project with Unity Monetization SDK 1 Answer

I can't build a game for android 2 Answers

CommandInvokationFailure: Gradle build failed. when building app bundle 0 Answers

Cannot build for Android 2 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