{ "id": "138869", "key": "TIMOB-17946", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-04T19:23:14.000+0000", "created": "2014-10-31T23:31:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T18:35:40.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6.Issue description\r\nCalling 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. \r\n\r\nh6.Steps to replicate\r\n# Unzip the attached module \r\n# set its build properties as I outlined above so that it uses the following: \r\n# 3.3.0.GA, Android/Google 14 SDK, r8d NDK. \r\n# Run the command, \"ant dist\" \r\n# Notice that the build is Successful (Logs attached)\r\n# Change the TiSDK to 3.4.0.GA \r\n# Run the command, \"ant dist\" \r\n# Notice that the build fails (Logs attached)\r\n# Change the TiSDK back to 3.3.0.GA \r\n\r\nChanging the NDK to r9 as recommended does not address the issue either. \r\n http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_the_Android_NDK \r\n\r\nWe 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. \r\n\r\nh6.Combos Tried: \r\nh6.3.5.0 CI\r\n{quote}\r\n|TISDK|NDK|Android SDK & Google APIs|SUCCESS| \r\n|3.5.0.v20141028174916| r8d| 14 | No \r\n|3.5.0.v20141028174916| r9| 14 | No \r\n|3.5.0.v20141028174916| r8d| 18 | No \r\n|3.5.0.v20141028174916| r9| 18 | No \r\n{quote}\r\n\r\nh6.3.4.2\r\n{quote}\r\n|TISDK|NDK|Android SDK & Google APIs|SUCCESS| \r\n|3.4.2.v20141028145714| r8d| 14 | No \r\n|3.4.2.v20141028145714| r9| 14 | No \r\n|3.4.2.v20141028145714| r8d| 18 | No \r\n|3.4.2.v20141028145714| r9| 18 | No \r\n{quote}\r\n\r\nh6.3.4.0.GA\r\n{quote}\r\n|TISDK|NDK|Android SDK & Google APIs|SUCCESS| \r\n|3.4.0.GA| r8d| 14 | No \r\n|3.4.0.GA| r9| 14 | No \r\n|3.4.0.GA| r8d| 18 | No \r\n|3.4.0.GA| r9| 18 | No \r\n{quote}\r\n\r\nh6.3.3.0.GA\r\n{quote}\r\n|TISDK|NDK|Android SDK & Google APIs|SUCCESS| \r\n|3.3.0.GA| r8d| 14 | YES \r\n|3.3.0.GA| r9| 14 | YES \r\n|3.3.0.GA| r8d| 18 | YES \r\n|3.3.0.GA| r9| 18 | YES \r\n{quote}\r\n\r\nThese are the following build.properties: \r\n\r\n{code}\r\ntitanium.platform=/Users/egomez/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.GA/android\r\nandroid.platform=/Users/egomez/android-sdks/platforms/android-14\r\ngoogle.apis=/Users/egomez/android-sdks/add-ons/addon-google_apis-google-14\r\nandroid.sdk=/Users/egomez/android-sdks\r\nandroid.ndk=/Users/egomez/android-ndk-r8\r\n{code}\r\n\r\nh6.NDKs\r\nr8d NDK: http://dl.google.com/android/ndk/android-ndk-r8d-darwin-x86.tar.bz2 \r\nr9 NDK: http://dl.google.com/android/ndk/android-ndk-r9-darwin-x86.tar.bz2 ", "attachment": [ { "id": "52281", "filename": "HelloWorld_Android.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T23:31:17.000+0000", "size": 2439661, "mimeType": "application/zip" }, { "id": "52279", "filename": "Logs_3.3.0.GA.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T23:31:17.000+0000", "size": 17794, "mimeType": "text/plain" }, { "id": "52280", "filename": "Logs_3.4.0.GA.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T23:31:17.000+0000", "size": 17582, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android Module: Fails to Build with 3.4.0.GA TiSDK", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.4.0.GA\r\nTiSDK CI 3.5.0.v20141028174916", "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "330241", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue is here:\r\n\r\n{code}\r\n[javac] /Users/egomez/modules/HelloWorld_Android/build/generated/java/com/mfoundry/mb/helloworld/AssetCryptImpl.java:13: com.mfoundry.mb.helloworld.AssetCryptImpl is not abstract and does not override abstract method setIsProduction(boolean) in org.appcelerator.kroll.util.KrollAssetHelper.AssetCrypt\r\n{code}\r\n\r\nWe should have a default implementation.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T23:37:21.000+0000", "updated": "2014-10-31T23:37:21.000+0000" }, { "id": "330243", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "is there a way to possibly override this method? It seems to be overwritten every time we build.\r\n\r\ne.g. http://stackoverflow.com/questions/18813580/actionlistener-is-abstract-and-does-not-override-abstract-method-actionperformed", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T23:43:33.000+0000", "updated": "2014-10-31T23:43:33.000+0000" }, { "id": "330599", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/6299\r\n3.4.1 PR: https://github.com/appcelerator/titanium_mobile/pull/6303", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-03T20:24:29.000+0000", "updated": "2014-11-04T00:21:17.000+0000" }, { "id": "330706", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Followed the steps above in the description to verify the fix.\r\n\r\nAndroid module builds successfully with latest 3.4.1 & 3.5.0 SDK.\r\n\r\nh6.build.properties:\r\n{code}\r\ntitanium.platform=/Users/lokeshchoudhary/Library/Application\\ Support/Titanium/mobilesdk/osx/3.4.1.v20141103164118/android\r\nandroid.platform=/Users/lokeshchoudhary/Desktop/android-sdk-macosx/platforms/android-19\r\ngoogle.apis=/Users/lokeshchoudhary/Desktop/android-sdk-macosx/add-ons/addon-google_apis-google-19\r\nandroid.sdk=/Users/lokeshchoudhary/Desktop/android-sdk-macosx\r\nandroid.ndk=/Users/lokeshchoudhary/Desktop/androidNDK/android-ndk-r10c\r\n{code}\r\n\r\nh6. Success logs:\r\n{code}\r\ndist:\r\n [jar] Building jar: /Users/lokeshchoudhary/Desktop/HelloWorld_Android/dist/helloworld_android.jar\r\n\r\npost.jar:\r\n\r\npython.set.exec:\r\n\r\npython.check:\r\n [echo] Testing for Python\r\n [exec] Python 2.7.6\r\n\r\ninit:\r\n\r\npre.docgen:\r\n\r\ndocgen:\r\n [exec] Generating /Users/lokeshchoudhary/Desktop/HelloWorld_Android/build/docs/index.html\r\n\r\npost.docgen:\r\n\r\ncheck.respackage:\r\n [zip] Building zip: /Users/lokeshchoudhary/Desktop/HelloWorld_Android/dist/com.mfoundry.mb.helloworld-android-2.0.0.zip\r\n\r\nlibs.check:\r\n\r\nzip.libs:\r\n [zip] Updating zip: /Users/lokeshchoudhary/Desktop/HelloWorld_Android/dist/com.mfoundry.mb.helloworld-android-2.0.0.zip\r\n\r\nzip.metadata:\r\n [zip] Updating zip: /Users/lokeshchoudhary/Desktop/HelloWorld_Android/dist/com.mfoundry.mb.helloworld-android-2.0.0.zip\r\n\r\nclean.respackage:\r\n\r\npost.dist:\r\n\r\nBUILD SUCCESSFUL\r\nTotal time: 11 seconds\r\n{code}\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.1.v20141103164118 , 3.5.0.v20141104101714\r\nCLI : 3.4.1-dev\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nAndroid NDK : android-ndk-r10c , android-ndk64bit-r10 , android-ndk32bit-r10\r\nMAC Yosemite : 10.10", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-04T19:11:20.000+0000", "updated": "2014-11-04T19:15:11.000+0000" }, { "id": "330709", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should not be closed yet. There is an outstanding PR.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-04T19:19:22.000+0000", "updated": "2014-11-04T19:19:22.000+0000" }, { "id": "330710", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6307", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-04T19:20:26.000+0000", "updated": "2014-11-04T19:20:26.000+0000" }, { "id": "331646", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with 3.4.2.v20141110181757. The android module builds successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.2.v20141110181757\r\nCLI : 3.4.1-alpha\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nAndroid NDK : android-ndk-r10c", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-11T19:04:13.000+0000", "updated": "2014-11-11T19:04:40.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }