{ "id": "154838", "key": "MOD-2304", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17524", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-06T04:02:55.000+0000", "created": "2016-02-10T15:18:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ti.admob" ], "versions": [], "issuelinks": [ { "id": "52189", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "161663", "key": "MOD-2269", "fields": { "summary": "Android: ti.admob 2.1.6 crashes", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50583", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152692", "key": "MOD-2158", "fields": { "summary": "Android: Module ti.admob needs updating", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:49:12.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": "14509", "name": "Admob" } ], "description": "Since I updated to Ti SDK 5.1, Android ti.admob module no longer works. When I add the view to the window, win.add(adMobView); the app crashes with this logs:\r\n\r\n\r\n{code:java}\r\n[INFO] : dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 748: Landroid/content/res/TypedArray;.getChangingConfigurations ()I\r\n[INFO] : dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 770: Landroid/content/res/TypedArray;.getType (I)I\r\n[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/ads/internal/zzl; interface 4115 'Lcom/google/android/gms/internal/zznw$zza;'\r\n[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/ads/internal/zzl;' failed\r\n[INFO] : dalvikvm: Could not find method com.google.android.gms.ads.internal.zzl.zzq, referenced from method com.google.android.gms.ads.internal.client.zzac.zzt\r\n[WARN] : dalvikvm: VFY: unable to resolve static method 22175: Lcom/google/android/gms/ads/internal/zzl;.zzq (Landroid/content/Context;)Lcom/google/android/gms/ads/internal/zzl;\r\n[WARN] : dalvikvm: VFY: unable to resolve static field 12552 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string;\r\n[INFO] : I/[RevMob]: Install registered on server\r\n[WARN] : dalvikvm: VFY: unable to resolve static field 12549 (common_google_play_services_notification_ticker) in Lcom/google/android/gms/R$string;\r\n[WARN] : dalvikvm: VFY: unable to resolve static field 12528 (common_ic_googleplayservices) in Lcom/google/android/gms/R$drawable;\r\n[INFO] : dalvikvm: Could not find method android.app.AppOpsManager.checkPackage, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza\r\n[INFO] : dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh\r\n[WARN] : dalvikvm: VFY: unable to resolve static field 12549 (common_google_play_services_notification_ticker) in Lcom/google/android/gms/R$string;\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 156: Landroid/app/AppOpsManager;.checkPackage (ILjava/lang/String;)V\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 661: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;\r\n[INFO] : dalvikvm: DexOpt: unable to optimize static field ref 0x30ef at 0x66 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.zza\r\n[INFO] : dalvikvm: DexOpt: unable to optimize static field ref 0x3110 at 0x68 in Lcom/google/android/gms/common/GooglePlayServicesUtil;.zza\r\n[ERROR] : GooglePlayServicesUtil: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.\r\n[WARN] : GooglePlayServicesUtil: Google Play services out of date. Requires 7571000 but found 7099070\r\n[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/ads/internal/zzl; interface 4115 'Lcom/google/android/gms/internal/zznw$zza;'\r\n[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/ads/internal/zzl;' failed\r\n[INFO] : dalvikvm: Could not find method com.google.android.gms.ads.internal.zzl.zzq, referenced from method com.google.android.gms.ads.internal.zzb.zza\r\n[WARN] : dalvikvm: VFY: unable to resolve static method 22175: Lcom/google/android/gms/ads/internal/zzl;.zzq (Landroid/content/Context;)Lcom/google/android/gms/ads/internal/zzl;\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/ads/internal/zzl; interface 4115 'Lcom/google/android/gms/internal/zznw$zza;'\r\n[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/ads/internal/zzl;' failed\r\n[INFO] : dalvikvm: Could not find method com.google.android.gms.ads.internal.zzl.zzq, referenced from method com.google.android.gms.ads.internal.zza.zza\r\n[WARN] : dalvikvm: VFY: unable to resolve static method 22175: Lcom/google/android/gms/ads/internal/zzl;.zzq (Landroid/content/Context;)Lcom/google/android/gms/ads/internal/zzl;\r\n[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/ads/internal/zzl; interface 4115 'Lcom/google/android/gms/internal/zznw$zza;'\r\n[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/ads/internal/zzl;' failed\r\n[INFO] : dalvikvm: Could not find method com.google.android.gms.ads.internal.zzl.zzq, referenced from method com.google.android.gms.ads.internal.zza.zza\r\n[WARN] : dalvikvm: VFY: unable to resolve static method 22175: Lcom/google/android/gms/ads/internal/zzl;.zzq (Landroid/content/Context;)Lcom/google/android/gms/ads/internal/zzl;\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[ERROR] : dalvikvm: Could not find class 'com.google.android.gms.internal.zzan', referenced from method com.google.android.gms.ads.internal.zzp.\r\n[WARN] : dalvikvm: VFY: unable to resolve new-instance 3580 (Lcom/google/android/gms/internal/zzan;) in Lcom/google/android/gms/ads/internal/zzp;\r\n[INFO] : dalvikvm: Failed resolving Lcom/google/android/gms/ads/internal/zzg; interface 3578 'Lcom/google/android/gms/internal/zzaj;'\r\n[WARN] : dalvikvm: Link of class 'Lcom/google/android/gms/ads/internal/zzg;' failed\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[INFO] : dalvikvm: Could not find method com.google.android.gms.internal.zzan.zzc, referenced from method com.google.android.gms.internal.zzhl.zza\r\n[WARN] : dalvikvm: VFY: unable to resolve virtual method 26052: Lcom/google/android/gms/internal/zzan;.zzc (Landroid/net/Uri;)Z\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[WARN] : dalvikvm: VFY: unable to find class referenced in signature (Lcom/google/android/gms/internal/zzan;)\r\n[WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa4c13648)\r\n[ERROR] : TiApplication: (main) [312,3235] Sending event: exception on thread: main msg:java.lang.NoClassDefFoundError: com.google.android.gms.internal.zzan; Titanium 5.1.2,2015/12/16 19:00,ca822b2\r\n[ERROR] : TiApplication: java.lang.NoClassDefFoundError: com.google.android.gms.internal.zzan\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.zzp.(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.zzp.(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.zzb.(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.zzc.(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.zze.(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.client.zze.zza(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.client.zzy.zzcO(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.internal.client.zzy.zza(Unknown Source)\r\n[ERROR] : TiApplication: \tat com.google.android.gms.ads.AdView.loadAd(Unknown Source)\r\n[ERROR] : TiApplication: \tat ti.admob.View$2.run(View.java:81)\r\n[ERROR] : TiApplication: \tat android.app.Activity.runOnUiThread(Activity.java:4673)\r\n[ERROR] : TiApplication: \tat ti.admob.View.loadAd(View.java:69)\r\n[ERROR] : TiApplication: \tat ti.admob.View.createAdView(View.java:64)\r\n[ERROR] : TiApplication: \tat ti.admob.View.processProperties(View.java:135)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1209)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:505)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:512)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:512)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)\r\n[ERROR] : TiApplication: \tat com.tripvi.drawerlayout.Drawer.replaceCenterView(Drawer.java:381)\r\n[ERROR] : TiApplication: \tat com.tripvi.drawerlayout.Drawer.processProperties(Drawer.java:443)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1209)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:505)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:512)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:675)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:569)\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:237)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:33)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:508)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titani\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performCreate(Activity.java:5133)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.access$600(ActivityThread.java:141)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:137)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5103)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:525)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)\r\n[ERROR] : TiApplication: \tat dalvi\r\n{code}", "attachment": [ { "id": "58196", "filename": "Screen Shot 2016-02-11 at 12.30.19 PM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-11T06:31:18.000+0000", "size": 65985, "mimeType": "image/png" } ], "flagged": false, "summary": "Ti.admob: Android issues starting from Ti SDK 5.1", "creator": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android", "closedSprints": [ { "id": 722, "state": "closed", "name": "2016 Sprint 20 SDK", "startDate": "2016-09-28T16:50:17.299Z", "endDate": "2016-10-12T16:50:00.000Z", "completeDate": "2016-10-10T06:17:01.016Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "376593", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tried testing ti.admob version 2.1.5 in Android 4.4.2. I did not find the issue. The application run as expected in device. Although when run on the simulator Android 5.1.0, I got the alert Play store resources not found But the application runs as expected without crush. See the attachment in emulator run. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-11T06:32:31.000+0000", "updated": "2016-02-11T06:32:31.000+0000" }, { "id": "376612", "author": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi, thanks for your comment. The problem is with the last 2.1.6 ti.admob version https://github.com/appcelerator-modules/ti.admob/blob/master/android/dist/ti.admob-android-2.1.6.zip", "updateAuthor": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-11T10:56:20.000+0000", "updated": "2016-02-11T10:56:20.000+0000" }, { "id": "393633", "author": { "name": "r@rlci", "key": "r@rlci", "displayName": "Richard Campbell", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've been able to reproduce the crash using 5.3.1.GA and 5.4.0.GA with version 2.1.6 of the module ONLY on Android 6.0. To help, I'm posting my test code below:\r\n\r\nIt doesn't matter if the adUnitId is specified or not, it crashes both ways. \r\n\r\n\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win = null, Admob = require('ti.admob'), adMobView = null;\r\n\r\nwin = Ti.UI.createWindow({ backgroundColor : '#000', title : 'AdMob Test', navBarHidden : false, fullscreen : false, exitOnClose : true });\r\n\r\nadMobView = Admob.createView({ adType: Admob.AD_TYPE_BANNER, left : 0, right : 0, bottom: 0, height : 50, adBackgroundColor: '#000', isInterstitial : false, debugEnabled : true, testing: true });\r\nwin.add(adMobView);\r\nwin.open();\r\n\r\n", "updateAuthor": { "name": "r@rlci", "key": "r@rlci", "displayName": "Richard Campbell", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-19T18:06:00.000+0000", "updated": "2016-08-19T18:08:50.000+0000" }, { "id": "397804", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ti.admob: https://github.com/appcelerator-modules/ti.admob/pull/63", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-30T22:33:31.000+0000", "updated": "2016-09-30T22:33:31.000+0000" }, { "id": "398202", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-06T04:01:50.000+0000", "updated": "2016-10-06T04:01:50.000+0000" }, { "id": "440059", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:12.000+0000", "updated": "2018-08-06T17:49:12.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }