{ "id": "145984", "key": "AC-927", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-09-29T05:47:20.000+0000", "created": "2015-03-20T03:28:48.000+0000", "labels": [ "android", "module" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:14.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "I have Install the JRE1.7 and setup the Java Compiler in Titanium Studio but everytime I compile (packaging) the Module Is still using JRE1.6 . I can test this by a Switch Case with String Because in JRE1.6 is not support this .only in JRE1.7 can use Switch Case with String.\r\nError Log", "attachment": [ { "id": "54525", "filename": "1.png", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T03:28:48.000+0000", "size": 31714, "mimeType": "image/png" }, { "id": "54526", "filename": "2.png", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T03:28:48.000+0000", "size": 66092, "mimeType": "image/png" }, { "id": "54527", "filename": "3.png", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T03:28:48.000+0000", "size": 29758, "mimeType": "image/png" }, { "id": "54528", "filename": "4.png", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T03:28:48.000+0000", "size": 46395, "mimeType": "image/png" } ], "flagged": false, "summary": "MacOSX can't compile Android Module using JDK 1.7", "creator": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Titanium Studio Version: 3.4.1.201410281727\r\nLatest Titanium SDK: 3.5.1.GA\r\nHost OS: Mac OS X\r\nOS Version: 10.9.5\r\nOS Arch: x86\r\n\r\nTitanium SDK Version: 3.4.1.GA\r\nSDK Modules API Version:2\r\nSDK Timestamp: 11/13/14 13:33\r\nSDK Build Number: 5982e8f\r\n\r\nTitanium SDK Version: 3.5.1.GA\r\nSDK Modules API Version:2\r\nSDK Timestamp: 03/05/15 10:08\r\nSDK Build Number: 96875c9\r\n\r\nAndroid SDK Version: 5.0.1\r\nAndroid NDK Version: r9 (64-bit)\r\n", "comment": { "comments": [ { "id": "346662", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease run \"ti setup check\" in terminal and provide the output. THanks\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-03-20T05:58:01.000+0000", "updated": "2015-03-20T05:58:01.000+0000" }, { "id": "346666", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Dear Shuo Liang,\r\n\r\n\r\n──────────────────┤ Check Environment ├───────────────────\r\n\r\nNode.js\r\n ★ node new version v0.12.0 available! (currently v0.10.35)\r\n ★ npm new version v2.7.3 available! (currently v1.4.28)\r\n \r\nTitanium CLI\r\n ✓ cli bleeding edge (v3.4.2)\r\n \r\nTitanium CLI Dependencies\r\n ✓ async up-to-date (v0.2.10)\r\n ✓ colors up-to-date (v0.6.2)\r\n ✓ fields up-to-date (v0.1.23)\r\n ✓ humanize up-to-date (v0.0.9)\r\n ✓ jade up-to-date (v0.35.0)\r\n ✓ longjohn up-to-date (v0.2.4)\r\n ✓ moment up-to-date (v2.4.0)\r\n ✓ node-appc up-to-date (v0.2.25)\r\n ✓ optimist up-to-date (v0.6.1)\r\n ✓ request up-to-date (v2.27.0)\r\n ✓ semver up-to-date (v2.2.1)\r\n ✓ sprintf up-to-date (v0.1.5)\r\n ✓ temp up-to-date (v0.6.0)\r\n ✓ winston up-to-date (v0.6.2)\r\n ✓ wrench up-to-date (v1.5.8)\r\n \r\nTitanium SDK\r\n ✓ latest sdk installed (v3.5.1.GA)\r\n ✓ selected sdk up-to-date (v3.5.1.GA)\r\n \r\nMac OS X Environment\r\n ✓ CLI Tools installed\r\n \r\niOS Environment\r\n ✓ Xcode installed (6.1.1)\r\n ✓ iOS SDK installed (8.1)\r\n ✓ WWDR cert installed\r\n ✓ developer cert installed (2 found)\r\n ! distribution cert not found\r\n ✓ dev provisioning installed (8 found)\r\n ✓ dist provisioning installed (2 found)\r\n \r\nAndroid Environment\r\n ✓ sdk installed (/Users/jacklee/android-sdk-macosx)\r\n ✓ tools installed (v24.1.2)\r\n ✓ platform tools installed (v21)\r\n ! build tools untested version 22.0.0; may or may not work\r\n ✓ adb installed /Users/jacklee/android-sdk-macosx/platform-tools/adb\r\n ✓ android installed /Users/jacklee/android-sdk-macosx/tools/android\r\n ✓ emulator installed /Users/jacklee/android-sdk-macosx/tools/emulator\r\n ✓ mksdcard installed /Users/jacklee/android-sdk-macosx/tools/mksdcard\r\n ✓ zipalign installed /Users/jacklee/android-sdk-macosx/build-tools/22.0.0/zipalign\r\n ✓ aapt installed /Users/jacklee/android-sdk-macosx/build-tools/22.0.0/aapt\r\n ✓ aidl installed /Users/jacklee/android-sdk-macosx/build-tools/22.0.0/aidl\r\n ✓ targets installed (10 found)\r\n ✓ avds installed (3 found)\r\n ✓ ndk installed (undefined)\r\n ✓ ndk-build installed (undefined)\r\n \r\nJava Development Kit\r\n ✓ jdk installed (v1.7.0)\r\n ✓ java installed /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/java\r\n ✓ javac installed /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/javac\r\n ✓ keytool installed /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/keytool\r\n ✓ jarsigner installed /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/bin/jarsigner\r\n \r\nIntel® Hardware Accelerated Execution Manager (HAXM)\r\n ✓ compatible \r\n ✓ installed \r\n \r\nNetwork\r\n ✓ online \r\n - no proxy server configured \r\n ✓ http request test \r\n ✓ https request test \r\n \r\nDirectory Permissions\r\n ✓ home directory \r\n ✓ titanium config directory \r\n ✓ titanium sdk install directory \r\n ✓ temp directory \r\n ", "updateAuthor": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T06:51:28.000+0000", "updated": "2015-03-20T06:51:28.000+0000" }, { "id": "346667", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Prove a Check Environment in for My Mac Machine.", "updateAuthor": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-20T06:52:17.000+0000", "updated": "2015-03-20T06:52:17.000+0000" }, { "id": "346961", "author": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Dear Shuo Liang \r\n\r\nI have provide the information . please let me know if you need more information for check.\r\n\r\nThanks.\r\nJack Lee", "updateAuthor": { "name": "jack_lee_ip", "key": "jack_lee_ip", "displayName": "Jack lee", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-03-23T08:48:44.000+0000", "updated": "2015-03-23T08:48:44.000+0000" }, { "id": "361254", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nI have tested this issue in updated environment. This is working as expected.\r\n\r\n*Test Environments:*\r\n\r\nCLI Version :4.0.1\r\nTitanium SDK Version :4.1.0.GA\r\nAppcelerator Studio, build: 4.1.1.201507141126\r\njava version :1.7.0_25\r\nOperating System= Mac OS X, Version 10.10.1\r\n\r\n\r\n*Steps to do:*\r\n\r\n 1.Check if Java JDK is installed: java --version (if not installed you can download it from [here |http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html] )\r\n2.Check [Android Module Prerequisites |http://docs.appcelerator.com/platform/latest/#!/guide/Android_Module_Quick_Start-section-43289022_AndroidModuleQuickStart-AndroidModulePrerequisites] .\r\n \r\n3.From Appcelerator Studio menu, *select File > New > Mobile Module Project* to open the New Mobile Module Project dialog.\r\n\r\n4.In the Project hame field, enter testrakhi.\r\n\r\n5.In the Module Id field, enter *com.example. testrakhi*\r\n\r\n6.In Deployment Targets, select Android.(if need install JDT & check NDK Settings)\r\n\r\n7.Click Next, then click Finish.\r\n\r\n8.Open the *new module >android>build.properties*\r\n\r\nAdd NDK settings to *build.properties* file\r\n\r\n{code}\r\n\r\nandroid.ndk =/Users/gsl5/Library/android-ndk-r8e\r\n\r\n{code}\r\n\r\n9.Module Build : Right Click On *Module->Publish> Package Android Module*\r\n\r\n*Or* Build *Using Ant:*\r\n\r\nFrom a terminal,go to the module’s android directory and run ant \r\n\r\n*android /Users/gsl5/Documents/apache_ant/bin/ant*\r\n\r\nAfter the build completes, there will be a BUILD SUCCESSFUL Message in Terminal.\r\n\r\n*Test Results:*\r\n\r\nAndroid Module Packaging is Successful.Check [this|http://i57.tinypic.com/149qech.png] .\r\n\r\nThanks", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-26T11:20:32.000+0000", "updated": "2015-09-29T05:47:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }