{ "id": "155317", "key": "AC-969", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-03-09T07:47:53.000+0000", "created": "2016-03-03T14:17:55.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-09T13:45:35.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": [], "description": "h3. Steps to Reproduce\r\nheader.png should already be in the assets->images and I believe I've referenced the image in the index.xml already\r\n\r\nJust execute\r\n\r\nh3. Actual Result\r\nno image shows\r\n\r\nh3. Expected Result\r\nimage should show\r\n\r\nRelated SO question:\r\nhttp://stackoverflow.com/questions/35635180/titanium-appcelerator-images-will-not-show-on-android/", "attachment": [ { "id": "58408", "filename": ".log", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-03T14:17:58.000+0000", "size": 2673915, "mimeType": "text/plain" }, { "id": "58555", "filename": "android_20160309-084428.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-09T07:47:26.000+0000", "size": 98967, "mimeType": "image/png" }, { "id": "58409", "filename": "diagnostic5981547644041106151.log", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-03T14:18:05.000+0000", "size": 58921, "mimeType": "text/plain" } ], "flagged": false, "summary": "Image doesn't display unless in res-hdpi folder", "creator": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "378586", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "Log when I executed application:\r\n\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.2.0\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\n2016-03-03T14:34:45.210Z | TRACE | set environment to {\"registry\":\"https://software.appcelerator.com\",\"security\":\"https://security.appcelerator.com\",\"baseurl\":\"https://platform.appcelerator.com\"}\r\n2016-03-03T14:34:45.212Z | TRACE | checking credentials for existing session\r\n2016-03-03T14:34:45.485Z | TRACE | Attempting to load session info from config file\r\n2016-03-03T14:34:45.490Z | TRACE | check if session is invalidated\r\n2016-03-03T14:34:45.937Z | TRACE | session expiry 1457531748489 false\r\n2016-03-03T14:34:45.938Z | TRACE | Arrow Cloud config file: /Users/michael.kellogg/.acs\r\n2016-03-03T14:34:45.942Z | TRACE | found Arrow Cloud login { mid: 'c15e9f83b8d824452e443bb96ca8076ba897d3ab',\r\n publishPort: 443,\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n username: 'mkellogg91@gmail.com',\r\n cookie: [ 'connect.sid=s%3AmO%2F0FI7dxYE9EGFeyjGcu%2Fyp.BeDRnFadYkhCCl9BLXRO5rlbrudnTv%2BDnYWBJPrLqJo; Path=/; Expires=Wed, 16 Mar 2016 13:55:50 GMT; HttpOnly' ],\r\n defaultEP: \r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\n2016-03-03T14:34:45.944Z | TRACE | Arrow Cloud cookie expiry [ 1458136550000 ]\r\n2016-03-03T14:34:45.944Z | TRACE | session already loaded in opts.session\r\n2016-03-03T14:34:45.945Z | TRACE | getCredentials() session:\r\n{\r\n \"ipaddress\": \"192.168.1.10\",\r\n \"username\": \"mkellogg91@gmail.com\",\r\n \"password\": \"\",\r\n \"session\": \"\",\r\n \"nonce\": \"\",\r\n \"environment\": {\r\n \"name\": \"production\",\r\n \"isProduction\": true,\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n \"acsAuthBaseUrl\": \"https://secure-identity.cloud.appcelerator.com\",\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n },\r\n \"token\": \"\",\r\n \"fingerprint\": \"c15e9f83b8d824452e443bb96ca8076ba897d3ab\",\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02Q60S1G8WL\",\r\n \"org_id\": 100094648,\r\n \"expiry\": 1457531748489\r\n}\r\n2016-03-03T14:34:45.946Z | TRACE | loading plugins for command \"run\"\r\n2016-03-03T14:34:45.990Z | TRACE | run search paths:\r\n[\r\n \"/Users/michael.kellogg/.appcelerator/install/5.2.0/package\",\r\n \"/Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules\",\r\n \"/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules\",\r\n \"/Applications/Appcelerator Studio/node_modules\",\r\n \"/Applications/node_modules\",\r\n \"/node_modules\",\r\n \"/Users/michael.kellogg/.appcelerator/.npm/lib/node_modules\"\r\n]\r\n2016-03-03T14:34:45.991Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/appc.js\r\n2016-03-03T14:34:46.118Z | DEBUG | [PLUGIN-LOAD] 126ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/appc-cli-titanium/appc.js\r\n2016-03-03T14:34:46.118Z | DEBUG | run plugin: /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/appc-cli-titanium\r\n2016-03-03T14:34:46.121Z | DEBUG | [PLUGIN-LOAD] 1ms /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/arrow/appc.js\r\n2016-03-03T14:34:46.125Z | DEBUG | run plugin: /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/arrow\r\n2016-03-03T14:34:46.131Z | TRACE | plugin \"arrow\" failed its \"when\" function check, skipping...\r\n2016-03-03T14:34:46.132Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via function\r\n2016-03-03T14:34:46.134Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via array\r\n2016-03-03T14:34:46.136Z | TRACE | executing command \"run\" with the following plugins:\r\n[\"titanium\"]\r\n2016-03-03T14:34:46.138Z | TRACE | Attempting to load session info from config file\r\n2016-03-03T14:34:46.140Z | TRACE | check if session is invalidated\r\n2016-03-03T14:34:46.586Z | TRACE | session expiry 1457531748489 false\r\n2016-03-03T14:34:46.587Z | TRACE | session already loaded in opts.session\r\n2016-03-03T14:34:46.589Z | DEBUG | Titanium Downloads Last Checked: 1456926998159\r\n2016-03-03T14:34:46.592Z | TRACE | \"/usr/local/bin/node\" \"/Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/titanium/bin/titanium\" sdk -o json\r\n2016-03-03T14:34:47.169Z | TRACE | checking for titanium, result:\r\n { activeSDK: '5.2.0.GA',\r\n defaultInstallLocation: '/Users/michael.kellogg/Library/Application Support/Titanium',\r\n installLocations: \r\n [ '/Users/michael.kellogg/Library/Application Support/Titanium',\r\n '/Library/Application Support/Titanium' ],\r\n installed: \r\n { '5.2.0.GA': '/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA',\r\n '5.1.2.GA': '/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA' },\r\n sdks: \r\n { '5.2.0.GA': \r\n { name: '5.2.0.GA',\r\n manifest: [Object],\r\n path: '/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA' },\r\n '5.1.2.GA': \r\n { name: '5.1.2.GA',\r\n manifest: [Object],\r\n path: '/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA' } } }\r\n2016-03-03T14:34:47.170Z | DEBUG | getTiDefaultPath /Users/michael.kellogg/Library/Application Support/Titanium\r\n2016-03-03T14:34:47.170Z | DEBUG | active sdk install path /Users/michael.kellogg/Library/Application Support/Titanium\r\n2016-03-03T14:34:48.488Z | DEBUG | to download {\"modules\":[{\"oses\":[\"linux\",\"win32\",\"osx\"],\"platforms\":[\"iphone\",\"android\"],\"required\":true,\"partner_id\":\"C62F568D148845509E7E9D8317A24462\",\"partner_name\":\"crittercism\",\"name\":\"Appcelerator Performance Module\",\"description\":\"Used to enable the Appcelerator Performance service. Appcelerator Performance service allows you to identify and troubleshoot crashes in your mobile applications.\",\"id\":\"com.appcelerator.apm\",\"guid\":\"ec36d909-befa-4ca1-b518-1e3f152ead61\",\"version\":\"1.1.5\",\"url\":\"http://s3-us-west-2.amazonaws.com/appcelerator-modules/com.appcelerator.apm-ios_android-1.1.5.zip\",\"min_mobilesdk_version\":\"3.5.1\"}],\"components\":[{\"id\":\"com.soasta.touchtest.matt\",\"name\":\"Appcelerator Test Module\",\"description\":\"Used to enable the Appcelerator Test service. Appcelerator Test service allows you to easily automate functional testing for mobile applications.\",\"oses\":[\"linux\",\"win32\",\"osx\"],\"platforms\":[\"iPhone\",\"android\"],\"version\":\"8023.374\",\"url\":\"http://appctest-2.appcelerator.com/concerto/downloads/mobile/MakeAppTouchTestable.zip\",\"min_mobilesdk_version\":\"3.1.1\",\"required\":true,\"partner_id\":\"B70300B47FCF40FB83F9F870B7BF77E8\",\"partner_name\":\"soasta\"}]}\r\n3/3/2016, 9:34:52 AM\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 0.12.10\r\n npm Version = 2.14.9\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.1.2.GA\r\n SDK Path = /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA\r\n Target Platform = android\r\nCommand\r\n /usr/local/bin/node /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/titanium/lib/titanium.js build run --platform android --log-level trace --sdk 5.1.2.GA --project-dir /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester --target emulator --android-sdk /Users/michael.kellogg/android-sdk --device-id Google Nexus 10 - 5.0.0 - API 21 - 2560x1600 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 64274 --username mkellogg91@gmail.com --password altec1991 --config-file /var/folders/9t/5wy55nd50sjc91s_lnny1pn178qlrm/T/build-1457015686587.json --no-banner --project-dir /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester\r\n[INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=development path=/Users/michael.kellogg/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9\r\n[INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=development path=/Users/michael.kellogg/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.10\r\n[INFO] : Found Titanium plugin id=ti.alloy version=1.0 \r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: emulator\r\n[INFO] : Building for emulator: Google Nexus 10 - 5.0.0 - API 21 - 2560x1600\r\n[INFO] : Targeting Android SDK API: 23\r\n[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86\r\n[INFO] : Signing with keystore: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/dev_keystore (tidev)\r\n[INFO] : Debugging disabled\r\n[INFO] : Profiler disabled\r\n[INFO] : Forcing rebuild: /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/build-manifest.json does not exist\r\n[INFO] : Found Alloy app in /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/app\r\n[INFO] : Executing Alloy compile: /usr/local/bin/node /Users/michael.kellogg/.appcelerator/install/5.2.0/package/node_modules/alloy/bin/alloy compile /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/app --config platform=android,version=0,simtype=none,devicefamily=none,deploytype=development,target=emulator --no-colors\r\n[INFO] : [config.json] regenerating CFG.js from config.json...\r\n[INFO] : ----- MVC GENERATION -----\r\n[INFO] : [app.tss] global style processing...\r\n[INFO] : [global style] writing to cache...\r\n[INFO] : [index.xml] view processing...\r\n[INFO] : style: \"index.tss\"\r\n[INFO] : view: \"index.xml\"\r\n[INFO] : controller: \"index.js\"\r\n[INFO] : created: \"Resources/android/alloy/controllers/index.js\"\r\n[INFO] : created: \"Resources/android/alloy/styles/index.js\"\r\n[INFO] : \r\n[INFO] : \r\n[INFO] : [app.js] Titanium entry point processing...\r\n[INFO] : created: \"Resources/android/app.js\"\r\n[INFO] : \r\n[INFO] : ----- OPTIMIZING -----\r\n[INFO] : - android/alloy.js\r\n[INFO] : - android/alloy/sync/localStorage.js\r\n[INFO] : - android/alloy/sync/properties.js\r\n[INFO] : - android/alloy/sync/sql.js\r\n[INFO] : \r\n[INFO] : Alloy compiled in 0.63869s\r\n[INFO] : Alloy compiler completed successfully\r\n[INFO] : Launching emulator: Google Nexus 10 - 5.0.0 - API 21 - 2560x1600\r\n[INFO] : Emulator already running\r\n[INFO] : Emulator is booted\r\n[INFO] : SD card not required, skipping mount check\r\n[INFO] : Emulator ready!\r\n[INFO] : Processing JavaScript files\r\n[INFO] : Encrypting JavaScript files: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/titanium_prep.macos \"com.tester.test\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/assets\" \"alloy/CFG.js\" \"app.js\" \"alloy/backbone.js\" \"alloy/constants.js\" \"alloy/controllers/BaseController.js\" \"alloy/controllers/index.js\" \"alloy/styles/index.js\" \"alloy/sync/localStorage.js\" \"alloy/sync/properties.js\" \"alloy/sync/sql.js\" \"alloy/underscore.js\" \"alloy/widget.js\" \"alloy.js\" \"ti.cloud.js\" \"_app_props_.json\"\r\n[INFO] : Writing /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/assets/app.json\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-analytics.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-android.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-app.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-filesystem.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-media.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-locale.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-network.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-xml.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-utils.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-geolocation.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-accelerometer.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-contacts.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-map.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-calendar.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-gesture.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-platform.res.zip\r\n[INFO] : Extracting module resources: /Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-database.res.zip\r\n[INFO] : No aidl files to compile, continuing\r\n[INFO] : Generating i18n files\r\n[INFO] : Generating /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/res/values/theme.xml\r\n[INFO] : Packaging application: /Users/michael.kellogg/android-sdk/build-tools/23.0.2/aapt \"package\" \"-f\" \"-m\" \"-J\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/gen\" \"-M\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/AndroidManifest.xml\" \"-A\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/assets\" \"-S\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/res\" \"-I\" \"/Users/michael.kellogg/android-sdk/platforms/android-23/android.jar\" \"-F\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/app.ap_\" \"--auto-add-overlay\" \"--extra-packages\" \"ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview\" \"-S\" \"/var/folders/9t/5wy55nd50sjc91s_lnny1pn178qlrm/T/11623-30474-xs1ea1/res\" \"-S\" \"/var/folders/9t/5wy55nd50sjc91s_lnny1pn178qlrm/T/11623-30474-184ocox/res\" \"-S\" \"/var/folders/9t/5wy55nd50sjc91s_lnny1pn178qlrm/T/11623-30474-1fgtccc/res\"\r\n[INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/bin/javac \"-J-Xmx1024M\" \"-encoding\" \"utf8\" \"-bootclasspath\" \"/Users/michael.kellogg/android-sdk/platforms/android-23/android.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-v8.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-analytics.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/aps-analytics.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-android.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/jaxen-1.1.1.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/ti-commons-codec-1.3.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-common.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/titanium.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-app.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-ui.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-filesystem.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-media.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-appcompat.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v4.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v7-appcompat.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-cardview.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cardview-v7-23.0.1.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-locale.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-network.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-xml.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-utils.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-geolocation.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-accelerometer.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-contacts.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-map.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-calendar.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-gesture.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-platform.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-database.jar:/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/lib/titanium-verify.jar:R.class:AndroidstyletesterActivity.class:AndroidstyletesterAppInfo.class:AndroidstyletesterApplication.class:AssetCryptImpl.class\" \"-d\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/classes\" \"-proc:none\" \"-target\" \"1.6\" \"-source\" \"1.6\" \"@/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/java-sources.txt\"\r\n[INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/bin/java \"-Xmx1024M\" \"-XX:-UseGCOverheadLimit\" \"-Djava.ext.dirs=/Users/michael.kellogg/android-sdk/platform-tools\" \"-jar\" \"/Users/michael.kellogg/android-sdk/build-tools/23.0.2/lib/dx.jar\" \"--dex\" \"--output=/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/classes.dex\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/classes\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/lib/titanium-verify.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-v8.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-analytics.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/aps-analytics.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-android.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/jaxen-1.1.1.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/ti-commons-codec-1.3.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-common.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/titanium.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-app.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-ui.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/nineoldandroids-appc-2.4.0.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-filesystem.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-media.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-appcompat.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v4.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v7-appcompat.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-cardview.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cardview-v7-23.0.1.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-locale.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-network.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-xml.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-utils.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-geolocation.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-accelerometer.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-contacts.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-map.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-calendar.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-gesture.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-platform.jar\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-database.jar\"\r\n[INFO] : Creating unsigned apk\r\n[INFO] : Processing /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/src\r\n[INFO] : Writing unsigned apk: /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/app-unsigned.apk\r\n[INFO] : Using MD5withRSA signature algorithm\r\n[INFO] : Signing apk: /Library/Java/JavaVirtualMachines/jdk1.8.0_72.jdk/Contents/Home/bin/jarsigner \"-sigalg\" \"MD5withRSA\" \"-digestalg\" \"SHA1\" \"-keystore\" \"/Users/michael.kellogg/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/dev_keystore\" \"-storepass\" \"*******\" \"-signedjar\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/AndroidStyleTester.apk\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/app-unsigned.apk\" \"tidev\"\r\n[INFO] : Aligning zip file: /Users/michael.kellogg/android-sdk/build-tools/23.0.2/zipalign \"-v\" \"4\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/AndroidStyleTester.apk\" \"/Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/AndroidStyleTester.apkz\"\r\n[INFO] : Writing build manifest: /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/build-manifest.json\r\n[INFO] : Making sure the adb server is running\r\n[INFO] : Installing apk: /Users/michael.kellogg/Documents/Appcelerator_Studio_Workspace/AndroidStyleTester/build/android/bin/AndroidStyleTester.apk\r\n[INFO] : App successfully installed\r\n[INFO] : Starting app: com.tester.test/.AndroidstyletesterActivity\r\n[INFO] : Application pid: 1884\r\n[INFO] : Project built successfully in 50s 211ms\r\n-- Start application log -----------------------------------------------------\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [25,25] Titanium 5.1.2 (2015/12/16 19:00 ca822b2)\r\n[INFO] : TiApplication: (main) [37,62] Titanium Javascript runtime: v8\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[WARN] : V8Object: (KrollRuntimeThread) [48,48] Runtime disposed, cannot set property 'userAgent'\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.tester.test.AndroidstyletesterActivity@2f83bc4b\r\n[INFO] : OpenGLRenderer: Initialized EGL, version 1.4\r\n[WARN] : EGL_emulation: eglSurfaceAttrib not implemented\r\n[WARN] : OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xf0108ec0, error=EGL_SUCCESS\r\n[WARN] : EGL_emulation: eglSurfaceAttrib not implemented\r\n[WARN] : OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xf0108ee0, error=EGL_SUCCESS\r\n[INFO] : APSAnalyticsService: Analytics Service Started\r\n[INFO] : APSAnalyticsService: Stopping Analytics Service\r\n{code}", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-03T14:37:07.000+0000", "updated": "2016-03-08T08:01:48.000+0000" }, { "id": "378591", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\n\"app/assets\" folder contains image assets and other files that need to be copied into the Resources directory.\r\nReference these files in the code without the 'app/assets' path and without the platform-specific folder if it is inside one. So in your case the image path should be \"/images/header.png\". Try that.\r\n\r\nThanks.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-03T15:13:39.000+0000", "updated": "2016-03-08T08:02:39.000+0000" }, { "id": "378595", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "I was using '/images/header.png' it didn't work. I could try the lib thing. ", "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-03T15:37:34.000+0000", "updated": "2016-03-03T15:37:34.000+0000" }, { "id": "379140", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~mkellogg91@gmail.com] could you attach a sample project?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-08T08:05:06.000+0000", "updated": "2016-03-08T08:05:06.000+0000" }, { "id": "379154", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "I am able to display image using the following code and the following conditions.\r\n\r\n1.In a classic mobile app project for android putting the image in \"Resources\" folder and code \"image: 'header.png',\"\r\n\r\n2.In a classic mobile app project for android putting the image in \"Resources/android/images\" folder and code \" image: '/images/header.png',\".\r\n\r\n{code}\r\nvar header = Ti.UI.createImageView({\r\n width: 300,\r\n image: '/images/header.png', // this line changes\r\n width: 300\r\n});\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n height: Ti.UI.FILL,\r\n title: 'test',\r\n width: Ti.UI.FILL\r\n});\r\n\r\nwin.add(header);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Environment*:\r\n\r\n*Device info:* Nexux7 (android 6.0.1)\r\n*Node.js Version:* 0.12.7\r\n*npm Version:* 2.11.3\r\n*Titanium SDKs:* 5.2.0 and 5.1.2.GA\r\n*Java Development Kit Version:* 1.8.0_73\r\n*Titanium CLI Version:* 5.0.5", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-08T10:29:54.000+0000", "updated": "2016-03-08T14:51:39.000+0000" }, { "id": "379168", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-08T13:21:01.000+0000", "updated": "2016-03-08T13:21:01.000+0000" }, { "id": "379298", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~mkellogg91@gmail.com] Thanks for the project. I could reproduce. However, if I copy over another PNG (e.g. the {{appicon.png}} one level up) to the same folder that image works fine. So it seems like your PNG is corrupt:\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n!android_20160309-084428.png|thumbnail!\r\n\r\nThis seems to be confirmed by what I get when I move your {{header.png}} into a {{res-hdpi}} folder. The compile then fails with:\r\n\r\n{code}\r\n[ERROR] Failed to package application:\r\n[ERROR]\r\n[ERROR] libpng error: CgBI: unhandled critical chunk\r\n[ERROR] ERROR: Failure processing PNG image /Users/fokkezb/Downloads/CustomSchemeTest/build/android/res/drawable-hdpi/header_d4829b6ff7.png\r\n{code}", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-09T07:47:45.000+0000", "updated": "2016-03-09T07:47:45.000+0000" }, { "id": "379338", "author": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "body": "I was aware of the failure processing PNG issue. I resolved that by exporting as .png and then re-adding into the project previously. I will try to re-export my png. However, I was able to reproduce the results that you came up with. Thank you sir", "updateAuthor": { "name": "mkellogg91@gmail.com", "key": "mkellogg91@gmail.com", "displayName": "Michael Kellogg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-09T13:45:35.000+0000", "updated": "2016-03-09T13:45:35.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }