Base solution for your next web application
Open Closed

Could not find android.jar for API Level 26! #4255


User avatar
0
ramezani583 created

Hi, i use VS 2017.4.5 for build PhoneBook solution i have this error:

Could not find android.jar for API Level 26. This means the Android SDK platform for API Level 26 is not installed. Either install it in the Android SDK Manager (Tools > Open Android SDK Manager...), or change your Xamarin.Android project to target an API version that is installed. (C:\Program Files (x86)\Android\android-sdk\platforms\android-26\android.jar missing.) SSoft.PhoneBook.Mobile.Droid


6 Answer(s)
  • User Avatar
    0
    bbakermmc created

    The error message tells you exactly what the error is and how to fix it

    This means the Android SDK platform for API Level 26 is not installed. Either install it in the Android SDK Manager (Tools > Open Android SDK Manager..
    
  • User Avatar
    0
    TimMackey created

    Platform 26 is not available. Android SDK Platform 27 is the only choice presented in the installer. How do I fix this?

  • User Avatar
    0
    ismcagdas created
    Support Team

    @TimMackey it is Android 8.0 Oreo.

  • User Avatar
    0
    alper created
    Support Team

    <a class="postlink" href="https://source.android.com/setup/build-numbers">https://source.android.com/setup/build-numbers</a>

    [attachment=0:11f180l4]ANDROID-API-LEVELS.jpg[/attachment:11f180l4]

  • User Avatar
    0
    TimMackey created

    Got it. Thank you.

  • User Avatar
    0
    alper created
    Support Team

    you'r welcome