Appcelerator Titanium: Android SDK not loading

I started to develop with Titanium, and now I'm really stuck on one piece. I downloaded the Adroid SDK and added the path to titanium:

/ Users / MICHAEL / Downloads / Android-KFOR-mac_86 /

I can open, for example. The kitchen sink in the iPhone Simulator is no problem, but when I want to open it in Android, my screen looks like this: Screenshot

Why is there all the time, even after two hours of waiting, the label "loading ..."?

+4
source share
6 answers

Try opening your Android_SDK_Dir / tools, run the Android file, and create a new Android Android device. After that, open your titanium again. Perhaps this will solve your problem.

Take a look at your image. The value of the SDK is "... loading ...". This means that Titanium cannot determine which Android Android device it is. So, as I said, first try creating a new Android Android device.

+1
source

the great advice given here helped me.

Switching to TRACE will probably show that Android SDK Platform 1.6 and API 4 are missing.

More info here

+2
source

1) You can install the Android SDK 1.6 (run the tools / android from the Android SDK folder and download the old SDK 1.6 from the Google Repository), and Titanium will detect the Android SDK

2) As for Android SDK 2.2, adb has moved to the platform tools folder, so you will need to create a link in [your-android-sdk-folder] / tools, for example: ln -s ../ platform-tools / adb

(full instructions for non-linux are here: http://guides.appcelerator.com/en/getting_started.html )

Finally, in the Titanium Test & Package / Run emulator window, you will have a choice between Android SDK 1.6 and 2.2

+2
source

with the same problem - did you find a workaround? We found out that after downloading the Android sdk file, other components are loaded that differ from previous versions. It was also found that loading the android emulator before launching the titanium application can give better results.

check android docs for sdk update through avd manager

Download the first emulator video: http://vimeo.com/10866226

0
source

Try setting the Info filter to Trace, which can highlight things.

More often than not, you may not have the right platforms. Just install them all if that happens.

0
source

add empty android-7 folder to android / platform..n restart titanium..it worked for me on ubuntu

0
source

Source: https://habr.com/ru/post/1305558/


All Articles