Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Android SDK is missing required platform API

Discussion in 'Android' started by kdeger, Aug 10, 2018.

  1. kdeger

    kdeger

    Joined:
    Mar 4, 2018
    Posts:
    5
    Hi guys,

    I just received this annoying error yesterday while building my APK. I searched the forum and tried everything I can do but couldn't find any solution. The interesting thing is at around 11 am my build was successful without any errors, even I uploaded it to Play Console. I tried to upgrade and downgrade the SDKs within Android Studio, update the Android Studio itself, change the path of the SDKs, gave permission to the folder which holds the SDKs, basically tried everything I know. Also from Unity updating the SDK doesn't work and the SDK path is correct. Uploaded some images. 2018-08-09 23_41_50-Unity 2018.2.2f1  _2.png
    2018-08-09 23_42_09-Unity 2018.2.2f1 _3 .png

    Urgently need your help guys.
     

    Attached Files:

  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    933
    Can you please share your editor.log?
     
  3. kdeger

    kdeger

    Joined:
    Mar 4, 2018
    Posts:
    5
    The log is attached.
     

    Attached Files:

  4. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    933
    Okay, your paths are not in the log - what is the path to your SDK, and what's the content there?
    Are you sure the path to android sdk in unity is set to this path?
    As a guess, can you please try run Unity as admin once to allow for the SDK update, if nothing else helps.
     
  5. kdeger

    kdeger

    Joined:
    Mar 4, 2018
    Posts:
    5
    I checked the path where SDKs are loaded and nothing seems wrong, the path content and unity external tools windows are attached. Also tried to run Unity as admin but unfortunately the error remains. The weird thing is I didn't change anything before the error as I mentioned I built an APK wtihout any error in the same day.
     

    Attached Files:

  6. muaslam

    muaslam

    Joined:
    Oct 28, 2018
    Posts:
    1
    Hi kdeger,

    I am facing the same issue, did you find a solution? If yes, please share for me and others who are facing similar issue.


    Thanks,
    Umar
     
  7. kdeger

    kdeger

    Joined:
    Mar 4, 2018
    Posts:
    5
    Hi Umar,

    Unfortunately I couldn't find a solid answer but backup the project and formatting the pc solved my problem.

    Hope this helps.