GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-19T01:21:10.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 21, 2013 Sprint 21 Core, Release 3.2.0 |
Components | Android, Tooling |
Labels | androidbuild, cb-verified, configuration-android, qe-and100112, qe-closed-3.2.0, triage |
Reporter | Olga Romero |
Assignee | Samuel Dowse |
Created | 2012-10-29T21:25:14.000+0000 |
Updated | 2013-12-05T23:02:49.000+0000 |
Failed to build a project for Android in Titanium Studio due to incorrect path to android SDK in a bash profile.
*It happens only in 3.0.0.version of Studio.* It creates projects in Studio 2.1.2
Test steps:
1.Go to Titanium Studio > Preferences > Titanium
2. Browse and set Android SDK Home
3. Browse and set Android NDK Home
Note the difference with a bash profile.
export ANDROID_SDK=/myname/Documents/android-sdk-macosx
export ANDROID_NDK=/myname/Documents/android-ndk-r8
4. Create a project for Android.
Actual result:
Fail to create a project. Failed to locate android-8 and android 2.2
Expected result:
A project should be created successfully.
Cloning TISTUD-2651 into this issue. See TISTUD-2651 comments for more info.
Resolution is to improve error message in SDK.
To confirm, is this using the old or the new SDK?
Both SDKs.
PR: https://github.com/appcelerator/titanium_mobile/pull/4781
Assigning this ticket to myself and going to investigate further with [~emerriman] and [~thomashuelbert]
ANDROID_SDK and ANDROID_NDK variables are no longer necessary in the .bash_profile\ I have removed both lines from my .bash_profile and can sucessfully build to android device and emulator from Studio and CLI. Closing this ticket