[AC-596] Android SDK not found if Studio has wrong path to it in preferences
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-02-03T05:45:35.000+0000 |
Affected Version/s | Appcelerator Studio 4.4.0 |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | Andrey Tkachenko |
Assignee | Shak Hossain |
Created | 2016-02-02T08:45:05.000+0000 |
Updated | 2016-02-03T09:04:43.000+0000 |
Description
I installed new NDK version and remove old but forgot to change path to it in the Studio preferences. I have correct path to NDK in the module *build.properties*, but it does not matter becouse I got error:
BUILD FAILED
/Users/falko/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/module/android/build.xml:296: The following error occurred while executing this line:
/Users/falko/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/module/android/build.xml:247: Neither the ANDROID_NDK environment variable, or the android.ndk property is not set to an existing Android NDK installation (check your module's build.properties).
You need to set the NDK path in your studio preference. Thanks.
I know, but why it can't use build.properties ? It is wrong message in this case.