{ "id": "173125", "key": "AC-6170", "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": "2019-03-19T08:47:32.000+0000", "created": "2019-03-14T00:54:55.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-29T23:02:59.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "An issue with ti.admob appeared in the latest release of one of my apps, and based on the crash reports through Google Play, it seems to be isolated to Huawei phones running Android 8.0 or above. I was able to replicate this crash on a Huawei phone of my own, but ti.admob seems to run fine on other Android brands (Samsung, HTC, Google).\r\n\r\nI was able to replicate this crash by running the example app.js included in the ti.admob repo.\r\n\r\nOutput:\r\n[ERROR] TiExceptionHandler: (main) [1262,1708] Failed resolution of: Lcom/google/android/gms/ads/AdSize;\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)\r\n[ERROR] TiExceptionHandler: java.lang.ClassLoader.loadClass(ClassLoader.java:379)\r\n\r\n[ERROR] TiExceptionHandler: java.lang.ClassLoader.loadClass(ClassLoader.java:312)\r\n[ERROR] TiExceptionHandler: ti.admob.View.(View.java:34)\r\n[ERROR] TiExceptionHandler: ti.admob.ViewProxy.createView(ViewProxy.java:52)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:587)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:556)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:609)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:593)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:556)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:609)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:593)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:556)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:798)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:275)\r\n[ERROR] TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:105)\r\n[ERROR] TiExceptionHandler: android.os.Looper.loop(Looper.java:207)\r\n[ERROR] TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:7470)\r\n[ERROR] TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)\r\n[ERROR] TiExceptionHandler: com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)\r\n", "attachment": [], "flagged": false, "summary": "ti.admob Android error: Failed resolution of: Lcom/google/android/gms/ads/AdSize", "creator": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "subtasks": [], "reporter": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "environment": "SDK 7.5.0\r\nAndroid ti.admob 4.4.0\r\nHuawei Mate 20 Pro (Android 9.0)", "comment": { "comments": [ { "id": "446818", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nThanks for reporting this. Can you please test this on SDK 7.5.1.GA and let us know the results.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-14T08:32:24.000+0000", "updated": "2019-03-14T08:32:24.000+0000" }, { "id": "446847", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~jtickner], So this is device model specific issue? I wasn't able to reproduce it on Nokia 6 (9.0.0). Try with the SDK 7.5.1.GA. let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-14T19:46:22.000+0000", "updated": "2019-03-14T19:46:22.000+0000" }, { "id": "446850", "author": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "body": "Tested on SDK 7.5.1.GA and it is still occurring.\r\n\r\nAlso, yes, it seems to be device model specific to Huawei. I've tested on both Samsung and HTC devices and it is working fine on those (like you're seeing with a Nokia).", "updateAuthor": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "created": "2019-03-14T20:40:23.000+0000", "updated": "2019-03-14T20:40:23.000+0000" }, { "id": "446942", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "[~jtickner], Can you please confirm you experience the same issue using this version of ti sdk:\r\n8.1.0v20190214095127\r\nYou can install the sdk using this command: appc ti sdk install 8.1.0v20190214095127\r\nLet us know the update.\r\n\r\nThanks.", "updateAuthor": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-18T05:22:36.000+0000", "updated": "2019-03-18T05:22:36.000+0000" }, { "id": "446952", "author": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "body": "Tested on SDK 8.1.0.v20190214095127 and the same issue still occurs. \r\n\r\nHowever, I think I may have misidentified the problem. I dropped my version of ti.playservices from 16.1.2 down to 11.0.40 and the issue disappears - ads are working again on all Android devices through ti.admob. Could it be a compatibility issue between the ti.admob module and ti.playsevices 16.1.2?", "updateAuthor": { "name": "jtickner", "key": "jtickner", "displayName": "Justin Tickner ", "active": true, "timeZone": "Australia/Melbourne" }, "created": "2019-03-18T21:18:01.000+0000", "updated": "2019-03-18T21:18:01.000+0000" }, { "id": "450143", "author": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "body": "Had the same error on a Pixel running Ti SDK 8.0.2.GA. Instead of going to a lower version of playservices, I went from 16.1.3 to 16.1.4 and then admob 4.4.0 works.", "updateAuthor": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "created": "2019-07-29T23:02:59.000+0000", "updated": "2019-07-29T23:02:59.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }