Titanium JIRA Archive
Appcelerator Community (AC)

[AC-596] Android SDK not found if Studio has wrong path to it in preferences

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2016-02-03T05:45:35.000+0000
Affected Version/sAppcelerator Studio 4.4.0
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterAndrey Tkachenko
AssigneeShak Hossain
Created2016-02-02T08:45:05.000+0000
Updated2016-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).

Comments

  1. Sharif AbuDarda 2016-02-03

    You need to set the NDK path in your studio preference. Thanks.
  2. Andrey Tkachenko 2016-02-03

    I know, but why it can't use build.properties ? It is wrong message in this case.

JSON Source