[AC-2030] Android: Cannot build Android projects for 3.1.1 SDK following 3.1.1 upgrade
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-20T17:09:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI, Studio, Titanium SDK & CLI |
Labels | 3.1.1, android, sdk, studio, triage |
Reporter | Mark Mokryn |
Assignee | Daniel Sefton |
Created | 2013-06-18T09:37:33.000+0000 |
Updated | 2016-03-08T07:40:59.000+0000 |
Description
*Steps to reproduce*
1. Standard upgrade per the popups - i.e. Studio 3.1.1, SDK 3.1.1, CLI 3.1.1, Alloy 1.1.3
2. File --> New --> Mobile Project --> Default Alloy/Default Classic
3. Create the project as above
4. set the SDK version in tiapp.xml to 3.1.1.GA
5. build for Android device.
6. The build fails immediately.
*build.log*
Logfile initialized
[INFO] logfile = /Users/Marek/Documents/Titanium_Studio_Workspace/TiClassicTest/build.log
[DEBUG] /Users/Marek/Library/Application Support/Titanium/mobilesdk/osx/3.1.1.GA/android/builder.py install TiClassicTest /Users/Marek/ti-androidsdks /Users/Marek/Documents/Titanium_Studio_Workspace/TiClassicTest com.classic.test 3
*Note*
When changing to 3.1.0.GA in tiapp.xml all is fine.
Attachments
File | Date | Size |
---|---|---|
StudioDiagnosticLog.txt | 2013-06-18T18:23:55.000+0000 | 34495 |
Hi Mark, Unfortunately I can't reproduce this with my setup. I followed your steps and it builds to an Android device without issue for me. Please could you attach your Studio log file and diagnostic? (Help -> Studio -> View Log File & Run Diagnostic Test...) P.S. If your log file happens to be really long, it might be better to clean it first, then reproduce the error, then attach that.
The Studio log is actually very short, after I deleted what was there previously: !ENTRY org.eclipse.osgi 2 1 2013-06-18 21:12:20.827 !MESSAGE NLS missing message: BasicProjectCreationPage_crossPlatformWarningAndroid in: com.appcelerator.titanium.ui.wizard.messages !ENTRY org.eclipse.osgi 2 1 2013-06-18 21:12:20.828 !MESSAGE NLS missing message: BasicProjectCreationPage_crossPlatformWarningIOS in: com.appcelerator.titanium.ui.wizard.messages
Hmm, what happens if you build for iOS? Does that work fine?
iOS builds work fine. BTW - it's not just for new projects. I just tried to build an existing project that builds fine with 3.1.0, and it fails in identical fashion, build.log essentially the same as in my initial report.
My bad...... Android SDK 10 was not installed - I had 8 as a minimum for previous SDKs. Installing SDK 10 fixed it. You can close this ticket, but I suggest that Studio shouldn't fail in such a cryptic manner if an SDK is missing. Thanks.
Ah, that's useful to know, thanks. Closing as fixed.