[TIMOB-13395] Android: native modules broken with android-ndk-r8e
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-05T22:54:05.000+0000 |
Affected Version/s | Release 3.0.0, Release 3.0.1, Release 3.0.2, Release 3.1.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 07 Core, 2013 Sprint 07 |
Components | Android |
Labels | qe-closed-3.1.3 |
Reporter | Matt Langston |
Assignee | Matt Langston |
Created | 2013-04-05T04:59:08.000+0000 |
Updated | 2014-06-19T12:42:51.000+0000 |
Description
Google made a change to their build system in NDK version r8e (released March 21st, 2013) which exposed a bug in support/module/android/generated/Android.mk
This will affect all customers who upgrade to NDK version r8e on any release of TIMOB going back to 2011-12-06. The fix is simple and I have already submitted a pull request.
Pull request for master: https://github.com/appcelerator/titanium_mobile/pull/4093
Pull request for backport to 3_1_X: https://github.com/appcelerator/titanium_mobile/pull/4098
To test this fix install android-ndk-r8e and try to build a native Android module - use the template from Studio. It will fail with this error if you build with ant from the command line (you won't see this error in Studio; you'll still get a module build error though):
When the fix is applied then the module will build without error.
Closing as fixed for android-ndk-8e Tested with: Appcelerator Studio, build: 3.1.3.201309132456 CLI 1.3.2