Titanium will not launch iPhone / Android emulator

I just installed the Titanium SDK (1.5.1) and all the Android SDK. In addition, I already have iPhone SDK 4.2 installed.

I downloaded KitchenSink and imported it into Titanium, but whenever I try to run it on iPhone Emulator, I get this error:


[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.5.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.0
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for ios
[INFO] Performing clean build
[INFO] Compiling localization files
[INFO] Detected custom font: comic_zine_ot.otf
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1003, in main
execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOG__ID=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 925, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/run.py", line 31, in run
sys.exit(rc)
SystemExit: 1

And for Android, it launches the OS, but not the KitchenSink application, here is the log:


[INFO] Launching Android emulator...one moment
[INFO] Building KitchenSink for Android ... one moment
[INFO] plugin=/Library/Application Support/Titanium/plugins/ti.log/0.1/plugin.py
[INFO] Detected compiler plugin: ti.log/0.1
[INFO] Compiler plugin loaded and working for android
[INFO] Titanium SDK version: 1.5.1 (12/16/10 16:25 16bbb92)
[INFO] Waiting for the Android Emulator to become available
[ERROR] Timed out waiting for android.process.acore
[INFO] Copying project resources..
[INFO] Detected tiapp.xml change, forcing full re-build...
[INFO] Compiling Javascript Resources ...
[INFO] Copying platform-specific files ...
[INFO] Compiling localization files
[INFO] Compiling Android Resources... This could take some time

Any ideas on how to make Titan work?

+3
source share
3 answers

I finally managed to fix it. About the adb file, just copy or symbolize it from / platform -tools in / tools and Titanium, find out the SDK.

, : 1 - Titanium SDK build (1.6.0) http://builds.appcelerator.com.s3.amazonaws.com/index.html

2 - , ( 1.6.0)/Library/ /Titanium/mobilesdk/osx

3 - Xcode 1.2.5 SDK 4.2 . Xcode, , Titanium . ( , )

4 -

5 - Xcode SDK 4.2

6 -

7 - , , iPhone, Android.

, .

.

+2

- . , . adb Android SDK, SDK, - - , , . , , , , -.

+1

, (iPhone sim - Android).

xcode IOS SDK (4.2 )

xcode. :/build/iphone/yourproj.xcodeproj

, SDK .

SDK ...

XCode\Project\ \Build\Base SDK - iOS- 4.2 XCode\Project\Edit Active Target '[ ]\Build\Base SDK - iOS Simulator 4.2

Create a project in xcode (it probably won't succeed)

Save and exit. Return to Titanium and the project should now be built.

A little bit about a headache to start, but here you are.

0
source

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


All Articles