{ "id": "170135", "key": "TIMOB-25445", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-08-30T02:22:32.000+0000", "created": "2017-10-26T00:54:22.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56758", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "169776", "key": "TIMOB-25284", "fields": { "summary": "Android Images in density-specific resource folders are not picked ", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-08-30T02:22:32.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": [], "description": "When using image folders 'res-ldpi/mdpi/hdpi/xhdpi/xxhdpi/xxxhdpi' for app running on Android Emulator (7.1.1), studio generates following errors and none of the images from these folders are NOT loaded...\r\n\r\n[WARN] : TiDrawableReference: (pool-3-thread-2) [0,671] Could not open stream to get bitmap\r\n[ERROR] : TiDrawableReference: (pool-3-thread-1) [89,760] Problem opening stream with url /images/ic_key.png: Resources/images/ic_key.png\r\n[ERROR] : TiDrawableReference: java.io.FileNotFoundException: Resources/images/ic_key.png\r\n[ERROR] : TiDrawableReference: \tat android.content.res.AssetManager.openAsset(Native Method)\r\n[ERROR] : TiDrawableReference: \tat android.content.res.AssetManager.open(AssetManager.java:347)\r\n[ERROR] : TiDrawableReference: \tat android.content.res.AssetManager.open(AssetManager.java:321)\r\n[ERROR] : TiDrawableReference: \tat org.appcelerator.titanium.util.TiFileHelper.openInputStream(TiFileHelper.java:222)\r\n[ERROR] : TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getInputStream(TiDrawableReference.java:863)\r\n[ERROR] : TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:346)\r\n[ERROR] : TiDrawableReference: \tat org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:303)\r\n[ERROR] : TiDrawableReference: \tat org.appcelerator.titanium.util.TiLoadImageManager$LoadImageJob.run(TiLoadImageManager.java:128)\r\n[ERROR] : TiDrawableReference: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)\r\n[ERROR] : TiDrawableReference: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)\r\n[ERROR] : TiDrawableReference: \tat java.lang.Thread.run(Thread.java:761)\r\n[WARN] : TiDrawableReference: (pool-3-thread-1) [2,762] Could not open stream to get bitmap\r\n\r\n\r\nTo create the error, change the DPI specific folders in assets/android/images/ to res-hdpi, res-mdpi, etc and access an image from these folders from your app.\r\n\r\nUse the following code to replicate the issue:\r\n\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t