Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1443] We have develop a Application and build in titanium 1.7.5 but now we are trying to build in 3.1.0, during build 3.1.0 we are geting error given bellow ib description section

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2014-03-24T02:10:08.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, ios
ReporterGirish chandra mishra
AssigneeRitu Agrawal
Created2014-03-20T16:03:10.000+0000
Updated2016-03-08T07:37:52.000+0000

Description

Please give quick response [ INFO] : Running emulator process: python "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py" "emulator" "PopSip" "/Users/praveen/Desktop/android-sdk-macosx" "/Users/praveen/FTI Builds/PopSip/20-03-2014/PopSipAndroidPhone" "com.ftigroups.PopSipPhone" "1" "QVGA" "mips" [INFO] : Running build process: python "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py" "simulator" "PopSip" "/Users/praveen/Desktop/android-sdk-macosx" "/Users/praveen/FTI Builds/PopSip/20-03-2014/PopSipAndroidPhone" "com.ftigroups.PopSipPhone" "1" "QVGA" [DEBUG] : No project level plugins to load [DEBUG] : Loaded plugin hooks: [DEBUG] : /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/cli/hooks/plugins.js [DEBUG] : /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/cli/hooks/install.js [DEBUG] : /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/cli/hooks/run.js [INFO] logfile = /Users/praveen/FTI Builds/PopSip/20-03-2014/PopSipAndroidPhone/build.log [DEBUG] /Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py simulator PopSip /Users/praveen/Desktop/android-sdk-macosx /Users/praveen/FTI Builds/PopSip/20-03-2014/PopSipAndroidPhone com.ftigroups.PopSipPhone 1 QVGA Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py", line 2473, in builder = Builder(project_name,sdk_dir,project_dir,template_dir,app_id,is_emulator) File "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/builder.py", line 385, in __init__ self.sdk = AndroidSDK(sdk, self.tool_api_level) File "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/androidsdk.py", line 49, in __init__ self.set_api_level(api_level) File "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/androidsdk.py", line 53, in set_api_level self.find_platform_dir() File "/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.GA/android/androidsdk.py", line 131, in find_platform_dir raise Exception("No \"%s\" or \"%s\" in the Android SDK" % ('android-%s' % api_level, android_api_levels[api_level])) Exception: No "android-9" or "android-2.3" in the Android SDK [ERROR] : Build process exited with code 1 [ERROR] : Project failed to build after 1s 941ms

Comments

  1. Shannon Hicks 2014-03-20

    JIRA is a system meant to report bugs with Titanium. You need to ask implementation questions on the Q&A system. http://developer.appcelerator.com/questions/newest
  2. Ritu Agrawal 2014-03-21

    Titanium 1.7.5 is almost two and half years old and there have been numerous changes in the SDK and build system. We would suggest you to upgrade to the latest stack - SDK 3.2.2 + Studio 3.2.1 + CLI 3.2.1 and give it a try. Note that 3.1.0 does not support iOS7 so it is worth upgrading to the latest stack.

JSON Source