Issue description
Calling Native Extensions (which are effectively native Ti Modules) that are build and then added to a Titanium app as modules. It fails to build on 3.4.0.GA although works on 3.3.0.GA (logs per each SDK attached). The example is a Hello World Module.
Steps to replicate
Unzip the attached module
set its build properties as I outlined above so that it uses the following:
3.3.0.GA, Android/Google 14 SDK, r8d NDK.
Run the command, "ant dist"
Notice that the build is Successful (Logs attached)
Change the TiSDK to 3.4.0.GA
Run the command, "ant dist"
Notice that the build fails (Logs attached)
Change the TiSDK back to 3.3.0.GA
Changing the NDK to r9 as recommended does not address the issue either.
http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_the_Android_NDK
We cannot seem to build this module with the 3.4.0.GA TiSDK, I've tried all sorts of combos, any ideas why we cannot build the module with for example the r8d, or r9 NDK, the 3.4.0.GA TiSDK and the Android-18 and Google-18 APIs. Thats seems like the combo we want but its not working.
Combos Tried:
3.5.0 CI
{quote}
|TISDK|NDK|Android SDK & Google APIs|SUCCESS|
|3.5.0.v20141028174916| r8d| 14 | No
|3.5.0.v20141028174916| r9| 14 | No
|3.5.0.v20141028174916| r8d| 18 | No
|3.5.0.v20141028174916| r9| 18 | No
{quote}
3.4.2
{quote}
|TISDK|NDK|Android SDK & Google APIs|SUCCESS|
|3.4.2.v20141028145714| r8d| 14 | No
|3.4.2.v20141028145714| r9| 14 | No
|3.4.2.v20141028145714| r8d| 18 | No
|3.4.2.v20141028145714| r9| 18 | No
{quote}
3.4.0.GA
{quote}
|TISDK|NDK|Android SDK & Google APIs|SUCCESS|
|3.4.0.GA| r8d| 14 | No
|3.4.0.GA| r9| 14 | No
|3.4.0.GA| r8d| 18 | No
|3.4.0.GA| r9| 18 | No
{quote}
3.3.0.GA
{quote}
|TISDK|NDK|Android SDK & Google APIs|SUCCESS|
|3.3.0.GA| r8d| 14 | YES
|3.3.0.GA| r9| 14 | YES
|3.3.0.GA| r8d| 18 | YES
|3.3.0.GA| r9| 18 | YES
{quote}
These are the following build.properties:
titanium.platform=/Users/egomez/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.GA/android
android.platform=/Users/egomez/android-sdks/platforms/android-14
google.apis=/Users/egomez/android-sdks/add-ons/addon-google_apis-google-14
android.sdk=/Users/egomez/android-sdks
android.ndk=/Users/egomez/android-ndk-r8
NDKs
r8d NDK:
http://dl.google.com/android/ndk/android-ndk-r8d-darwin-x86.tar.bz2
r9 NDK:
http://dl.google.com/android/ndk/android-ndk-r9-darwin-x86.tar.bz2
Issue is here:
We should have a default implementation.
is there a way to possibly override this method? It seems to be overwritten every time we build. e.g. http://stackoverflow.com/questions/18813580/actionlistener-is-abstract-and-does-not-override-abstract-method-actionperformed
master PR: https://github.com/appcelerator/titanium_mobile/pull/6299 3.4.1 PR: https://github.com/appcelerator/titanium_mobile/pull/6303
Followed the steps above in the description to verify the fix. Android module builds successfully with latest 3.4.1 & 3.5.0 SDK.
build.properties:
Success logs:
Environment: Appc Studio : 3.4.1.201410281743 Ti SDK : 3.4.1.v20141103164118 , 3.5.0.v20141104101714 CLI : 3.4.1-dev Alloy : 1.5.1 GA Code Processor : 1.1.1 Android NDK : android-ndk-r10c , android-ndk64bit-r10 , android-ndk32bit-r10 MAC Yosemite : 10.10
This should not be closed yet. There is an outstanding PR.
3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6307
Verified the fix with 3.4.2.v20141110181757. The android module builds successfully. Closing. Environment: Appc Studio : 3.4.1.201410281743 Ti SDK : 3.4.2.v20141110181757 CLI : 3.4.1-alpha Alloy : 1.5.1 GA Code Processor : 1.1.1 MAC Yosemite : 10.10 Android NDK : android-ndk-r10c