Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4780] Android native modules build new/update is getting failed SDK 6.0.1.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2017-02-08T14:02:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator Modules
Labelsandroid, android-modules, sdk-6.0.0.GA
ReporterBhavin Bhavsar
AssigneeShak Hossain
Created2017-02-08T12:19:41.000+0000
Updated2017-02-09T05:12:25.000+0000

Description

Node.js Version = 4.4.4 npm Version = 2.15.1 CLI Version = 5.0.11 Appcelerator Studio = 4.8.1.201612050850 SDK Version = 6.0.1.GA SDK Path = /Users/appsdev/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA Target Platform = android I have updated from 5.3.0.GA to 6.0.1.GA(also tried 6.0.0.GA) but now i am not able to *update* or *create any android module* since then. Getting following error in console when i build a new module.
[ERROR] :  Failed to run ndk-build
[ERROR] :  
[ERROR] :  /Users/appsdev/Software/android-ndk-r8d/build/core/add-application.mk:242: *** Android NDK: Aborting    .  Stop.
Also attached the pop-up of error. Currently Android NDK is *android-ndk-r10e* And done changes suggested here too http://skypanther.com/2016/10/rebuilding-modules-for-titanium-6/

Attachments

FileDateSize
Screen Shot 2017-02-08 at 3.38.06 PM.png2017-02-08T11:55:19.000+000034942

Comments

  1. Hans Knöchel 2017-02-08

    Android modules in 6.0.0 have to be recompiled against the updated V8 engine. See the [6.0.0 release notes](http://www.appcelerator.com/blog/2016/11/ga-releases-for-6-0-0-of-sdk-cli-4-8-0-of-studio/) for more infos and [this blog post](http://skypanther.com/2016/10/rebuilding-modules-for-titanium-6/) on how to update existing modules. All core modules (ti.map, ti.facebook, etc.) have already been updated for that release, a lot of 3rd-party modules as well. If you need more help, feel free to visit the TiSlack community board (tislack.org). Thx!
  2. Bhavin Bhavsar 2017-02-09

    Can you tell me then where should i redirect. Because i am getting only two options when i want to create an issue from jira : Aptana Studio (APSTUD) and Appcelerator - INBOX (AC). So, where do i ask this issue of SDK updation. Thanks!

JSON Source