• 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
3
Question by PsychoDuckArcade · May 21, 2019 at 07:53 PM · android

Why can't I select Android Minimum API Level?

I can't select Minimum API Level under android settings, it's just a greyed out "Getting API levels..." I need to set it for AR Foundation. Trying to build and run anyway I get error "ARCore Required apps require a minimum SDK version of 24. Currently set to AndroidApiLevel16." Helpp.

Comment
Add comment · Show 2
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 xxmariofer · May 21, 2019 at 08:03 PM 0
Share

can you share screenshot of your player settings?

avatar image rohitdesai · Aug 15, 2019 at 08:57 PM 0
Share

facing same issue with 2019.3.0a12. any fixes ?,Facing same issue for unity 2019.3.0a12. Any fixes for this ?

5 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Mazzeman · Aug 21, 2019 at 01:47 PM

Ok I was facing this issue and I found out that it was the company proxy that kinda hindered the SDK Manager to fetch info from repositories.

So if you're behind a proxy, this is what you should do.

First, I already had a previous Android installation which could access the repos via Android Studio, however it seems that Android studio adds the correct input variables to SDK manager if Android Studio itself has a proxy setup.


  1. Enter your installation folder and navigate to the map where you have your SDK installed. Mine was something like this: "\Editor\2019.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK"

  2. Enter "tools/bin", you should find the "sdkmanager.bat" there.

  3. Duplicate "sdkmanager.bat". and rename it to something like "sdkmanager_untouched.bat" (For safekeeping in case everything fails)

  4. Open the "sdkmanager.bat" in a Wordpad or Notepad++ or something similar of your choice

  5. Edit the bat file in the appropriate places, I added the PROXY_VARIABLES and modified the DEFAULT_JVM_OPTS, don't forget the whitespaces, especially in PROXY_VARIABLES:

Yellow marks the edited places

Also don't forget to pass them on: Yellow marks the edited spaces

Note the "%PROXY_VARIABLES% in the ending there. So that should make the sdkmanager.bat file proxy safe. This is because Unity does not support proxy settings, talk about a hassle ...


proxy1.png (21.4 kB)
proxy2.png (17.0 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 asgarcia · Aug 27, 2019 at 08:25 PM 0
Share

Hey $$anonymous$$azzeman, I have been struggling with this issue lately and I have tried following the above instructions and not sure what the red marks indicate or "Edit the bat file in the appropriate places?

I followed your last instructions and the $$anonymous$$inimum API levels showed up, but the app had an error in the build, I am sure that is why you edited your post, but I am too much of a noob to understand it.

If you could dumb it down just a bit more, I hopefully would get it.

Thanks $$anonymous$$azz! tg

avatar image Mazzeman · Aug 28, 2019 at 06:39 AM 0
Share

@asgarcia The pictures I've added in the answer displays roughly where you should edit the sdkmanager.bat file. the set PROXY_VARIABLES = is added and then the set DEFAULT_JV$$anonymous$$_OPTS is only modified, I've added the proxy variables as interpreted by the JV$$anonymous$$ in that variable as you can see. The red marks are just my proxy variables which I've roughly censored.

avatar image guinunez · May 02 at 01:43 PM 0
Share

I can't believe that my network was the problem all this time I tried to fix it, thanks a lot. In my case, I just switched to another network and it worked

avatar image
0

Answer by Battataio · May 26, 2019 at 09:03 AM

Same herealt text

Any Answer?


capture.png (13.0 kB)
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 xxmariofer · May 26, 2019 at 04:26 PM 0
Share

I would try updating/decreasing build tools version inside android sdk. What versionnare you using? I have heard the lastest gaves some conflict

avatar image
0

Answer by asgarcia · Aug 30, 2019 at 02:12 PM

Thanks @Mazzeman!

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 ghasedak3411 · Mar 17, 2020 at 07:23 AM

you can edit file in: /ProjectSettings/ProjectSettings.asset there's a property named AndroidMinSdkVersion change the value to any minimum API level you want.

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 Gulshan1 · Jun 14, 2021 at 10:40 AM 0
Share

You answer is right but you have to make changes while your project is not running in background. If you make changes in while running project it automatically changes api to 16 again whatever value you set in editor.

avatar image
0

Answer by ahmedaniss · Jul 22, 2020 at 05:30 AM

problem fixed here : https://youtu.be/nECvvVe7gS8

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

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

Terrain Texture Black on Android 2 Answers

How to read OTP automatically from phone on android device? 1 Answer

Normal map is not working with Unity 5 when Low-level Native Plugin Interface is used 0 Answers

(Android) Swiping direction 1 Answer

UnityPlayerActivity vs. UnityPlayerNativeActivity 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