Search Unity

Unity could not find any android sdk platform

Discussion in 'Android' started by LosAngeles, Nov 4, 2011.

  1. LosAngeles

    LosAngeles

    Joined:
    Sep 30, 2010
    Posts:
    11
    Hi everyone!

    I'd like to build my little project, but...

    BAM!
    Code (csharp):
    1. Available Android targets:
    2. ----------
    3. id: 1 or "android-8"
    4. etc...
    5.  
    6. Android SDK does not include any platforms! Did you run Android SDK setup to install the platform(s)?
    7. Minimum platform required for build is Android 2.2 (API level 8)
    This problem seems to be a bit recurrent, and I feel like everyone has his own solution. I personally followed this steps :
    • Installed one platform for android sdk.
    • Installed, uninstalled, formated, etc
    • Installed platform 2.3.3
    • Changed directory of android-sdk for another hard-disk.
    • Ran Unity in admnistrator mode
    • Changed the keys in regedit, and the PATH.
    • Drank coffee
    • Copied the tools directory in the platform directory

    I read that I should rather download android API 9, but there isn't any link in the SDK manager anymore. Could someone please give some hint?
    Thanks in advance!

    Edit : I found it. But it doesn't change anything. Many people started threads like these and did not solve their problem, so I'm not hoping too much.
     
    Last edited: Nov 4, 2011
  2. FiveFingers

    FiveFingers

    Joined:
    Oct 15, 2009
    Posts:
    541
    Personally I install from 6 to latest (13 ?) API level with the adb tool, and I never ran into problems.

    What API(s) levels have you installed ?
     
  3. LosAngeles

    LosAngeles

    Joined:
    Sep 30, 2010
    Posts:
    11
    I used the SDK manager to separately download the API 8, 9, and 10. I didn't know I could use the adb tool.
     
  4. FiveFingers

    FiveFingers

    Joined:
    Oct 15, 2009
    Posts:
    541
    Sorry, I meant the "android" sdk manager, not the adb tool, my mistake.

    Try to download also 6, 7 and the other latest one(11,12,13), so you are sure, you can target from 2.0 to 3.x your app without problem.
     
  5. FiveFingers

    FiveFingers

    Joined:
    Oct 15, 2009
    Posts:
    541
    Sorry, I meant the "android" sdk manager, not the adb tool, my mistake
    android-sdk-mac-x86/tools/android

    Try to download also 6, 7 and the other latest one(11,12,13), so you are sure, you can target from 2.0 to 3.x your app
     
  6. unimechanic

    unimechanic

    Joined:
    Jan 9, 2013
    Posts:
    155
    This thread is old, but we have received support tickets related to the "No Platforms Found" error. For that reason I'm adding here a few trouble shooting steps:

    1. Uninstall the current Android SDK and make sure that you don't have any more copies of it.

    2. Update Java with an stable version. Bear in mind the latest version shouldn't have conflicts, but users have experienced problems in the past.

    3. Download a fresh copy of the latest ADT Bundle and install it following instructions, this should configure the development tools correctly:
    http://developer.android.com/sdk/index.html

    4. Configure Unity with the installed Android SDK.

    If you have problems with the editor read this guide:
    http://docs.unity3d.com/Documentation/Manual/TroubleShootingEditor.html