{ "id": "136436", "key": "TIMOB-17680", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-09-21T06:43:18.000+0000", "created": "2014-09-11T10:43:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:42:23.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": "Getting error on installing the app if app contains module packaged using option output Location as “Mobile App Project” \r\n\r\n\r\n*Steps to reproduce:*\r\n1. Create Android module.\r\n2. Create Classic Project. \r\n3. Package android module using option “Mobile App Project” (Select the same project from drop down created in Step 2)\r\n4. Install App on device.\r\n\r\n\r\n{color:green}*Expected Result:*{color}\r\nApp must get installed successfully.\r\n\r\n{color:red}*Actual Result:*{color}\r\nApp is not getting installed on device.\r\nGetting the logs attached.\r\n\r\nNote: Working fine with 3.3.0GA environment with ndk:android-ndk-r9d\r\n Also working fine with 3.4.0 studio using ndk:android-ndk-r9d", "attachment": [ { "id": "51223", "filename": "Screen_Shot_2014-09-12_at_2.34.54_PM.png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T21:38:37.000+0000", "size": 50926, "mimeType": "image/png" }, { "id": "51144", "filename": "studioLogs.txt", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T10:43:25.000+0000", "size": 47279, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Add support for NDK 64bit", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio:3.4.0.201409101253\r\nSdk:3.4.0.v20140910235714\r\nalloy:1.5.0-rc\r\ntitanium:3.4.0-rc\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6GMSeed \r\nAndroid Ndk:android-ndk-r10b\r\nDevice:Nexus7(v4.4.4)", "comment": { "comments": [ { "id": "323054", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So a few notes/questions:\r\n\r\n# If you install this module to the global stash and try the same, it works?\r\n# In the log file, there are two errors:\r\n## 'androidDir must be a string', duplicate of APPTS-4697\r\n## dalvikvm: dlopen(\"/data/app-lib/gl.classic.com-1/libk.j.h.so\") failed: dlopen failed: cannot locate symbol \"__cxa_end_cleanup\" referenced by \"libk.j.h.so\"...\r\n# For the second one, if you review the log file, it looks like the application is attempting to start but doesn't. There is a message about \"App successfully installed\". So I question if the app actually failed to install or rather failed to start.\r\n# Did this fail with r10? I see we tested with 9d, and 10b, but there was a version 10 in between.\r\n\r\n[~emerriman] can you assist with answering these questions?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T13:38:22.000+0000", "updated": "2014-09-11T13:38:22.000+0000" }, { "id": "323099", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Which SDK do you use to compile the module? Which SDK do you run the app which contains this module?\r\n\r\nDue to the JNI change in [PR#5973|https://github.com/appcelerator/titanium_mobile/pull/5973], if the module is compiled against 3.4.0, then the app which contains this module won't work with SDK < 3.4.0.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T17:09:59.000+0000", "updated": "2014-09-11T17:09:59.000+0000" }, { "id": "323211", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See the below updates - \r\n1) Install this module to the global stash and its working fine.\r\n2) Application install successfully on device but fail to launch the app.\r\n3) Tested with NDK version r10 also. Observed the same result as we got using NDK version r10b ", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T06:33:08.000+0000", "updated": "2014-09-12T06:33:08.000+0000" }, { "id": "323288", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you try to replicate? I honestly don't get this bug.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T15:04:08.000+0000", "updated": "2014-09-12T15:04:08.000+0000" }, { "id": "323400", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce the issue.\r\nMy steps to reproduce:\r\n1. Create a module using titanium studio. Only target on Android platform.\r\n2. Create a classic mobile app using titanium studio. Only target on Android platform.\r\n3. Try to package the module but CANNOT find the option “Mobile App Project”.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T18:56:48.000+0000", "updated": "2014-09-12T18:56:48.000+0000" }, { "id": "323438", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~pwang] \r\n!Screen_Shot_2014-09-12_at_2.34.54_PM.png!", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T21:37:23.000+0000", "updated": "2014-09-12T21:37:23.000+0000" }, { "id": "323459", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1. Create a module using titanium studio. Only target on Android platform.\r\n2. Create a classic mobile app using titanium studio. Only target on Android platform.\r\n3. Package module with mobile app using \"Mobile App Project\"\r\n\r\nWorks fine use ndk-r10b.\r\n\r\nIm unable to reproduce this.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T22:54:09.000+0000", "updated": "2014-09-12T22:54:09.000+0000" }, { "id": "323466", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tried to repro this issue but could not. Tried several times but built fine every time without any errors.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201409112242\r\nTi SDK : 3.4.0.v20140912120914\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-rc\r\nCLI - 3.4.0-rc2\r\nCode Processor: 1.1.1\r\nAndroid NDK : 10b", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T00:06:40.000+0000", "updated": "2014-09-13T00:06:58.000+0000" }, { "id": "323509", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you all for the investigation. Marking this as cannot reproduce. If you are still able to do so, please let us know the difference in steps between what we tried and what you tried.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T18:09:24.000+0000", "updated": "2014-09-13T18:09:24.000+0000" }, { "id": "324366", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue today. Did not do anything different though as far as steps are concerned.\r\n\r\nReopening.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.0.201409161950\r\nTi SDK : 3.4.0.v20140916181713 \r\nMac OSX : 10.9.4\r\nAlloy : 1.5.0-rc2\r\nCLI - 3.4.0-rc4\r\nCode Processor: 1.1.1\r\nNexus 5 - android 4.4.4\r\nAndroid NDK : 10b", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-17T21:51:56.000+0000", "updated": "2014-09-17T22:00:32.000+0000" }, { "id": "324562", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Waiting on more information from [~hpham].", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T18:43:50.000+0000", "updated": "2014-09-18T18:44:03.000+0000" }, { "id": "324570", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The current architecture does not support NDK 64bit, which is using a different default GCC, as well as having a new set of ABIs. ", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T19:11:16.000+0000", "updated": "2014-09-18T19:11:16.000+0000" }, { "id": "324736", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this to 3.5.0, as that's approximately when we want to move to 64-bit across the board.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T16:36:41.000+0000", "updated": "2014-09-19T16:36:41.000+0000" }, { "id": "325617", "author": { "name": "nicorama", "key": "nicorama", "displayName": "Nicolas Zozol", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't see the problem with NDK. By creating a new module, Titanium Studio gives us some compiled .so files in android/libs/armxx directories. Just adding this module to my project makes it fails. No need of NDK there.", "updateAuthor": { "name": "nicorama", "key": "nicorama", "displayName": "Nicolas Zozol", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-25T10:16:42.000+0000", "updated": "2014-09-25T10:16:42.000+0000" }, { "id": "325634", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nicorama] What version of the NDK do you have installed? .so files are files generated by the NDK:\r\n\r\nhttp://stackoverflow.com/questions/5669220/ndk-how-to-use-a-generated-so-library-in-another-project", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-25T14:02:54.000+0000", "updated": "2014-09-25T14:02:54.000+0000" }, { "id": "364223", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cng], I am not seeing this issue with the latest NDK r10e & with the current live stack.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-17T17:47:37.000+0000", "updated": "2015-09-17T17:47:37.000+0000" }, { "id": "416611", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Cannot Reproduce\", if you encounter any further problems please file a new ticket. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:42:23.000+0000", "updated": "2017-03-31T22:42:23.000+0000" } ], "maxResults": 20, "total": 20, "startAt": 0 } } }