No Android SDKs were found under the specified SDK location

喜你入骨 提交于 2019-12-23 04:03:39

问题


I tried using Titanium for the first time, but even if I keep giving him the path to my SDK folder, it tells me that it doesn't found it.

I created some user variables as I found on the net, but nothing works

ANDROID_SDK = D:\Program Files\Android SDK\android-sdk-windows
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_75\bin
PATH = %JAVA_HOME%\bin;%ANDROID_SDK%/tools;%ANDROID_SDK%/platform

I also tried to follow this http://docs.appcelerator.com/platform/latest/#!/guide/Errors_Configuring_Platforms_Inside_Studio but the log doesn't mention avd.py. So I try ti sdk install --branch master 4.1.0.v20150417113624 but always the same problem.


回答1:


Problem Solved :

I deleted the file at C:/Users//.titanium/config.json And I moved my android SDK folder. It seems it must be in C:/ drive on Windows 8.1




回答2:


Thanks. You answer guided me in the right direction.

In my case, I am using a Mac and I just needed to make sure that the zipalign path in ~/.titanium/config.json was pointing to the latest Android SDK that was installed (23.0.1). I have just set it to /Users/my_user_name/android-macosx-sdk/build-tools/23.0.1/zipalign



来源:https://stackoverflow.com/questions/29720919/no-android-sdks-were-found-under-the-specified-sdk-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!