Titanium JIRA Archive
Appcelerator Community (AC)

[AC-98] Appcelerator Studio doesn't detect Android SDK

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-05-18T04:33:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsandroid, sdk, studio
ReporterOscar Kneib
AssigneeRadamantis Torres-Lechuga
Created2015-04-23T14:06:21.000+0000
Updated2015-05-18T05:06:51.000+0000

Description

In Appcelerator Studio: preferences -> Studio -> Platform -> Android I select /Library/android-sdk-macosx After a few seconds of 'loading' message: Problem detected with SDK settings. [Android SDK Home] No Android SDKs were found under the specified SDK location On the same machine, I have Titanium Studio, (build: 3.4.1.201410281727) and everything is fine. If I point to same directory it detects SDK and AVM's.

Attachments

FileDateSize
appc-studio.png2015-04-23T14:06:21.000+0000103668
ti-studio.png2015-04-23T14:06:21.000+0000101643

Comments

  1. Christopher Williams 2015-04-23

    If you run appc ti info -o json -t android,genymotion --no-colors --no-banner --no-prompt what is the full output given?
  2. Oscar Kneib 2015-04-23

    {noformat} mbp-oscar:/ okneib$ appc ti info -o json -t android,genymotion --no-colors --no-banner --no-prompt { "android": { "linux64bit": null, "sdk": { "path": "/Library/android-sdk-macosx", "executables": { "adb": "/Library/android-sdk-macosx/platform-tools/adb", "android": "/Library/android-sdk-macosx/tools/android", "emulator": "/Library/android-sdk-macosx/tools/emulator", "mksdcard": "/Library/android-sdk-macosx/tools/mksdcard", "zipalign": "/Library/android-sdk-macosx/build-tools/20.0.0/zipalign", "aapt": "/Library/android-sdk-macosx/build-tools/20.0.0/aapt", "aidl": "/Library/android-sdk-macosx/build-tools/20.0.0/aidl", "dx": "/Library/android-sdk-macosx/build-tools/20.0.0/dx" }, "dx": "/Library/android-sdk-macosx/build-tools/20.0.0/lib/dx.jar", "proguard": "/Library/android-sdk-macosx/tools/proguard/lib/proguard.jar", "tools": { "path": "/Library/android-sdk-macosx/tools", "supported": true, "version": "23.0.2" }, "platformTools": { "path": "/Library/android-sdk-macosx/platform-tools", "supported": true, "version": "20" }, "buildTools": { "path": "/Library/android-sdk-macosx/build-tools/20.0.0", "supported": true, "version": "20", "tooNew": true, "maxSupported": "<21.x" } }, "ndk": null, "home": "/Users/okneib/.android", "detectVersion": "2.0", "vendorDependencies": { "android sdk": ">=14 <=21", "android build tools": ">=17 <21.x", "android platform tools": ">=17 <=21.x", "android tools": "<=24.1.2", "android ndk": ">=r8e <=r9", "node": ">=0.10.0 <=0.12.x", "java": "<=1.8.x" }, "targets": { "1": { "id": "android-8", "abis": [ "armeabi" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "name": "Android 2.2", "type": "platform", "api-level": 8, "revision": 3, "path": "/Library/android-sdk-macosx/platforms/android-8", "sdk": 8, "version": "2.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-8/framework.aidl" }, "2": { "id": "android-10", "abis": [ "armeabi", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WVGA800", "WVGA854" ], "name": "Android 2.3.3", "type": "platform", "api-level": 10, "revision": 2, "path": "/Library/android-sdk-macosx/platforms/android-10", "sdk": 10, "version": "2.3.3", "androidJar": "/Library/android-sdk-macosx/platforms/android-10/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-10/framework.aidl" }, "3": { "id": "android-11", "abis": [ "armeabi" ], "skins": [ "WXGA" ], "name": "Android 3.0", "type": "platform", "api-level": 11, "revision": 2, "path": "/Library/android-sdk-macosx/platforms/android-11", "sdk": 11, "version": "3.0", "androidJar": "/Library/android-sdk-macosx/platforms/android-11/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-11/framework.aidl" }, "4": { "id": "android-12", "abis": [ "armeabi" ], "skins": [ "WXGA" ], "name": "Android 3.1", "type": "platform", "api-level": 12, "revision": 3, "path": "/Library/android-sdk-macosx/platforms/android-12", "sdk": 12, "version": "3.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-12/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-12/framework.aidl" }, "5": { "id": "android-13", "abis": [ "armeabi" ], "skins": [ "WXGA" ], "name": "Android 3.2", "type": "platform", "api-level": 13, "revision": 1, "path": "/Library/android-sdk-macosx/platforms/android-13", "sdk": 13, "version": "3.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-13/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-13/framework.aidl" }, "6": { "id": "android-16", "abis": [ "armeabi-v7a", "mips", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android 4.1.2", "type": "platform", "api-level": 16, "revision": 5, "path": "/Library/android-sdk-macosx/platforms/android-16", "sdk": 16, "version": "4.1.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-16/framework.aidl" }, "7": { "id": "android-17", "abis": [ "armeabi-v7a", "mips", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android 4.2.2", "type": "platform", "api-level": 17, "revision": 3, "path": "/Library/android-sdk-macosx/platforms/android-17", "sdk": 17, "version": "4.2.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-17/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-17/framework.aidl" }, "8": { "id": "android-18", "abis": [ "armeabi-v7a", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android 4.3.1", "type": "platform", "api-level": 18, "revision": 3, "path": "/Library/android-sdk-macosx/platforms/android-18", "sdk": 18, "version": "4.3.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-18/framework.aidl" }, "9": { "id": "android-19", "abis": [ "armeabi-v7a", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android 4.4.2", "type": "platform", "api-level": 19, "revision": 4, "path": "/Library/android-sdk-macosx/platforms/android-19", "sdk": 19, "version": "4.4.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-19/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-19/framework.aidl" }, "10": { "id": "android-20", "abis": [ "armeabi-v7a", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in", "AndroidWearRound", "AndroidWearSquare" ], "name": "Android 4.4W.2", "type": "platform", "api-level": 20, "revision": 2, "path": "/Library/android-sdk-macosx/platforms/android-20", "sdk": 20, "version": "4.4W.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-20/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-20/framework.aidl" }, "11": { "id": "android-L", "abis": [ "armeabi-v7a", "x86" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android L (Preview)", "type": "platform", "api-level": "L", "revision": 4, "path": "/Library/android-sdk-macosx/platforms/android-L", "sdk": 20, "version": "L", "androidJar": "/Library/android-sdk-macosx/platforms/android-L/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-L/framework.aidl" }, "12": { "id": "android-22", "abis": [ "armeabi-v7a", "x86", "x86_64" ], "skins": [ "HVGA", "QVGA", "WQVGA400", "WQVGA432", "WSVGA", "WVGA800", "WVGA854", "WXGA720", "WXGA800", "WXGA800-7in" ], "name": "Android 5.1.1", "type": "platform", "api-level": 22, "revision": 2, "path": "/Library/android-sdk-macosx/platforms/android-22", "sdk": 22, "version": "5.1.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-22/android.jar", "supported": "maybe", "aidl": "/Library/android-sdk-macosx/platforms/android-22/framework.aidl" }, "13": { "id": "Google Inc.:Google APIs:8", "abis": [ "armeabi", "armeabi-v7a", "x86", "x86_64" ], "skins": [ "HVGA", "WVGA800", "WQVGA400", "WVGA854", "WQVGA432", "QVGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 2, "description": "Android + Google APIs", "based-on": { "android-version": "2.2", "api-level": 8 }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-8", "version": "2.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-8/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-8/framework.aidl" }, "14": { "id": "Google Inc.:Google APIs:11", "abis": [ "armeabi", "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WXGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 1, "description": "Android + Google APIs", "based-on": { "android-version": "3.0", "api-level": 11 }, "libraries": { "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-11", "version": "3.0", "androidJar": "/Library/android-sdk-macosx/platforms/android-11/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-11/framework.aidl" }, "15": { "id": "Google Inc.:Google APIs:12", "abis": [ "armeabi", "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WXGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 1, "description": "Android + Google APIs", "based-on": { "android-version": "3.1", "api-level": 12 }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-12", "version": "3.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-12/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-12/framework.aidl" }, "16": { "id": "Google Inc.:Google APIs:13", "abis": [ "armeabi", "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WXGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 1, "description": "Android + Google APIs", "based-on": { "android-version": "3.2", "api-level": 13 }, "libraries": { "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-13", "version": "3.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-13/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-13/framework.aidl" }, "17": { "id": "Google Inc.:Google TV Addon:13", "abis": [ "x86" ], "skins": [ "1080p-overscan", "720p", "720p-overscan", "WXGA", "1080p" ], "name": "Google TV Addon", "type": "add-on", "vendor": "Google Inc.", "revision": 1, "based-on": { "android-version": "3.2", "api-level": 13 }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_tv_addon-google-13", "version": "3.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-13/android.jar", "supported": false, "aidl": "/Library/android-sdk-macosx/platforms/android-13/framework.aidl" }, "18": { "id": "Google Inc.:Google APIs:16", "abis": [ "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WQVGA400", "WSVGA", "WXGA720", "WXGA800", "QVGA", "WVGA800", "HVGA", "WQVGA432", "WVGA854", "WXGA800-7in" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 3, "description": "Android + Google APIs", "based-on": { "android-version": "4.1.2", "api-level": 16 }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-16", "version": "4.1.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-16/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-16/framework.aidl" }, "19": { "id": "Google Inc.:Google APIs:18", "abis": [ "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WXGA800", "WXGA720", "WQVGA400", "WQVGA432", "WXGA800-7in", "QVGA", "WSVGA", "WVGA854", "WVGA800", "HVGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 3, "description": "Android + Google APIs", "based-on": { "android-version": "4.3.1", "api-level": 18 }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-18", "version": "4.3.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-18/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-18/framework.aidl" }, "20": { "id": "Google Inc.:Google APIs:19", "abis": [ "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WXGA800-7in", "WQVGA432", "WVGA854", "QVGA", "WXGA720", "WVGA800", "WXGA800", "HVGA", "WSVGA", "WQVGA400" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 12, "description": "Android + Google APIs", "based-on": { "android-version": "4.4.2", "api-level": 19 }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-19-1", "version": "4.4.2", "androidJar": "/Library/android-sdk-macosx/platforms/android-19/android.jar", "supported": true, "aidl": "/Library/android-sdk-macosx/platforms/android-19/framework.aidl" }, "21": { "id": "Google Inc.:Google APIs:22", "abis": [ "armeabi-v7a", "x86", "x86_64" ], "skins": [ "WQVGA432", "WVGA800", "WXGA800", "WQVGA400", "WXGA800-7in", "QVGA", "HVGA", "WXGA720", "WVGA854", "WSVGA" ], "name": "Google APIs", "type": "add-on", "vendor": "Google Inc.", "revision": 1, "description": "Android + Google APIs", "based-on": { "android-version": "5.1.1", "api-level": 22 }, "libraries": { "com.google.android.media.effects": { "jar": "effects.jar", "description": "Collection of video effects" }, "com.android.future.usb.accessory": { "jar": "usb.jar", "description": "API for USB Accessories" }, "com.google.android.maps": { "jar": "maps.jar", "description": "API for Google Maps" } }, "path": "/Library/android-sdk-macosx/add-ons/addon-google_apis-google-22", "version": "5.1.1", "androidJar": "/Library/android-sdk-macosx/platforms/android-22/android.jar", "supported": "maybe", "aidl": "/Library/android-sdk-macosx/platforms/android-22/framework.aidl" } }, "issues": [ { "id": "ANDROID_NDK_NOT_FOUND", "type": "warning", "message": "Unable to locate an Android NDK.\nWithout the NDK, you will not be able to build native Android Titanium modules.\nIf you have already downloaded and installed the Android NDK, you can tell Titanium where the Android NDK is located by running '__titanium config android.ndkPath /path/to/android-ndk__', otherwise you can install it by running '__titanium setup android__' or manually downloading from __http://appcelerator.com/android-ndk__." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 2.2 (android-8)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 2.3.3 (android-10)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 3.0 (android-11)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 3.1 (android-12)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Android 3.2 (android-13)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_NEW", "type": "warning", "message": "Android API __Android 5.1.1 (android-22)__ is too new and may or may not work with Titanium SDK 4.0.0.\nThe maximum supported Android API level by Titanium SDK 4.0.0 is API level 21." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:8)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:11)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:12)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:13)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_OLD", "type": "warning", "message": "Android API __Google TV Addon (Google Inc.:Google TV Addon:13)__ is too old and is no longer supported by Titanium SDK 4.0.0.\nThe minimum supported Android API level by Titanium SDK 4.0.0 is API level 14." }, { "id": "ANDROID_API_TOO_NEW", "type": "warning", "message": "Android API __Google APIs (Google Inc.:Google APIs:22)__ is too new and may or may not work with Titanium SDK 4.0.0.\nThe maximum supported Android API level by Titanium SDK 4.0.0 is API level 21." }, { "id": "ANDROID_INVALID_EMULATOR", "type": "warning", "message": "The Android emulator \"Oz\" has a problem:\nUnknown target 'Google Inc.:Google APIs:10' in /Users/okneib/.android/avd/Oz.ini" } ], "tisdk": "4.0.0.Beta2", "devices": [], "emulators": [ { "type": "avd", "name": "titanium_1_WVGA800", "path": "/Users/okneib/.android/avd/titanium_1_WVGA800.avd", "target": "Android 4.1.2 (API level 16)", "abi": "x86", "skin": "WVGA800", "sdcard": "/Users/okneib/.android/avd/titanium_1_WVGA800.avd/sdcard.img", "googleApis": false, "sdk-version": "4.1.2", "api-level": 16, "id": "titanium_1_WVGA800" }, { "name": "Samsung Galaxy S3 - 4.3 - API 18 - 720x1280", "guid": "54a391d9-70e9-43b3-aed4-910427dd7feb", "type": "genymotion", "abi": "x86", "googleApis": null, "sdk-version": "4.3", "target": "4.3", "genymotion": "2.3.0", "hardwareOpenGL": true, "dpi": 320, "display": "720x1280-16", "api-level": null, "id": "Samsung Galaxy S3 - 4.3 - API 18 - 720x1280" } ] } } {noformat}
  3. Ingo Muschenetz 2015-04-23

    That is valid JSON.
  4. Oscar Kneib 2015-04-23

    I think it's solved: I have fokke's TinY installed .... ( https://github.com/FokkeZB/tn ) When I uninstall this eveything is okay. (tn uninstall)
  5. Eric Merriman 2015-04-23

    [~development@kneib.com] Good news. One other cause of this might be when you have no SDK selected for the CLI. Check which is active with
    appc ti sdk
    and select one with
    appc ti sdk select
    .
  6. Ingo Muschenetz 2015-05-18

    Appears to have been caused by [~fokkezb]'s CLI extension.
  7. Fokke Zandbergen 2015-05-18

    Correct. I've pushed a newer version of TiNy that doesn't interfere.

JSON Source