{ "id": "171330", "key": "AC-5661", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-11-28T22:03:04.000+0000", "created": "2018-03-15T14:40:19.000+0000", "labels": [ "android" ], "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": "2018-11-28T22:03:05.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I'm using the Ti.InAppBilling module for Android in-app payments, all seems to go fine until I try to make a purchase using the command\r\n\r\nInAppBilling.purchase\r\n\r\nWhen I issue this, I am receiving a Java.lang.ClassNotFoundException for the class android.support.v7.app.AppCompatViewInflater. Here is the full dump\r\n\r\n\r\n{code:java}\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: Failed to instantiate custom view inflater android.support.v7.app.AppCompatViewInflater. Falling back to default.\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: java.lang.ClassNotFoundException: android.support.v7.app.AppCompatViewInflater\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.Class.classForName(Native Method)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.Class.forName(Class.java:324)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.Class.forName(Class.java:285)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.support.v7.app.aq.a(SourceFile:480)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.support.v7.app.aq.onCreateView(SourceFile:570)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.view.LayoutInflater.inflate(LayoutInflater.java:492)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.view.LayoutInflater.inflate(LayoutInflater.java:423)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.view.LayoutInflater.inflate(LayoutInflater.java:374)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat com.google.android.finsky.billing.acquire.AcquireActivity.l(SourceFile:5)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat com.google.android.finsky.billing.acquire.i.onCreate(SourceFile:27)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.Activity.performCreate(Activity.java:6259)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.ActivityThread.-wrap11(ActivityThread.java)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.os.Looper.loop(Looper.java:148)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat android.app.ActivityThread.main(ActivityThread.java:5443)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.reflect.Method.invoke(Native Method)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: Caused by: java.lang.ClassNotFoundException: Didn't find class \"android.support.v7.app.AppCompatViewInflater\" on path: DexPathList[[zip file \"/data/app/com.android.vending-2/base.apk\"],nativeLibraryDirectories=[/data/app/com.android.vending-2/lib/arm, /data/app/com.android.vending-2/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t... 24 more\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tSuppressed: java.lang.ClassNotFoundException: android.support.v7.app.AppCompatViewInflater\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t\tat java.lang.Class.classForName(Native Method)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \t\t... 25 more\r\n03-15 20:04:53.954 8709 8709 I AppCompatDelegate: \tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "java.lang.ClassNotFoundException: android.support.v7.app.AppCompatViewInflater", "creator": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 7 on MAC OSX", "comment": { "comments": [ { "id": "435662", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sdarda] Looks like it's attempting to use a class thats only available in version {{27.1.0}} of the support libraries: https://developer.android.com/reference/android/support/v7/app/AppCompatViewInflater.html\r\n\r\nThis PR should fix this: https://github.com/appcelerator/titanium_mobile/pull/9930\r\n\r\nAlternatively, the {{ti.inappbilling}} module could be updated to contain the newer libraries itself.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-15T23:30:44.000+0000", "updated": "2018-03-15T23:30:44.000+0000" }, { "id": "435666", "author": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can't see to access the pull request as I don't have the permissions. Can grant access?", "updateAuthor": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-16T07:37:13.000+0000", "updated": "2018-03-16T07:37:13.000+0000" }, { "id": "435695", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hopefully, 7.2.0 release will fix this. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-03-17T21:57:01.000+0000", "updated": "2018-03-17T21:57:01.000+0000" }, { "id": "435719", "author": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is there an ETA when a build of 7.2.0 will be available with the 27.1.0 support libraries? App is unfortunately on hold until this is available. ", "updateAuthor": { "name": "developer@tpglobalpartners.com", "key": "developer@tpglobalpartners.com", "displayName": "Nigel Underwood", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-19T14:02:13.000+0000", "updated": "2018-03-19T14:02:13.000+0000" }, { "id": "444010", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "From the comment posted by the user in [Github issue|https://github.com/appcelerator-archive/ti.inappbilling/issues/31#issuecomment-375798081] this issue is resolved. Closing this.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-11-28T22:02:24.000+0000", "updated": "2018-11-28T22:02:51.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }