有没有人对此代码有所了解。最后模拟器没有运行。
Titanium Command-Line Interface, CLI version 3.1.1, Titanium SDK version 3.1.0.GA
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
[INFO] : Running emulator process: python "C:\Users\hp\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "emulator" "KitchenSink" "D:\Android" "C:\Users\hp\Documents\Titanium_Studio_Workspace\Kitchen Sink" "com.appcelerator.kitchensink" "14" "WVGA854" "armeabi-v7a"
[INFO] : Running build process: python "C:\Users\hp\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py" "simulator" "KitchenSink" "D:\Android" "C:\Users\hp\Documents\Titanium_Studio_Workspace\Kitchen Sink" "com.appcelerator.kitchensink" "14" "WVGA854"
[INFO] logfile = C:\Users\hp\Documents\Titanium_Studio_Workspace\Kitchen Sink\build.log
[INFO] Building KitchenSink for Android ... one moment
[INFO] Titanium SDK version: 3.1.0 (04/15/13 18:45 57634ef)
[INFO] : Emulator process exited successfully
[INFO] : Project built successfully in 6s 831ms
[INFO] : Emulator not running, exiting...
答案 0 :(得分:0)
修复方法是进入Android SDK Manager并安装“Android 3.0(API 11)”。确保该应用使用模拟器“Google API(Android 2.3.3)”和“WVGA854”。我假设有一个Titanium bug,因为你必须安装比实际使用的更高的API级别(3.0)(2.3.3)。
答案 1 :(得分:0)
在Tiapp.xml上的Android标记内删除/更改此标记/行
<tool-api-level>11</tool-api-level>
它指向Api 11(Android sdk 3.0),如果您不使用它来构建项目,则会收到此类错误。就个人而言,我已删除该行,以便它使用运行配置中设置的sdk。