You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2022. It is now read-only.
I'm using the Open IAB unitypackage v0.9.4.1 from the asset store. Billing works fine on iOS but I'm getting errors on Android. This is the logcat output:
05-22 14:15:35.990: I/Unity(13462): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53)
05-22 14:15:36.180: I/Unity(13462): ********** Android OpenIAB plugin initialized **********
05-22 14:15:36.180: I/Unity(13462):
05-22 14:15:36.180: I/Unity(13462): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53)
05-22 14:15:36.460: D/OpenIAB-UnityPlugin(13462): createBroadcasts
05-22 14:15:36.460: D/OpenIAB-UnityPlugin(13462): Starting setup.
05-22 14:15:36.690: D/OpenIAB-UnityPlugin(13462): Setup finished.
05-22 14:15:36.690: D/OpenIAB-UnityPlugin(13462): Setup successful.
05-22 14:15:36.700: I/dalvikvm(13462): Failed resolving Lorg/onepf/oms/appstore/TStoreRequestCallback; interface 3446 'Lcom/skplanet/dodo/IapPlugin$RequestCallback;'
05-22 14:15:36.700: W/dalvikvm(13462): Link of class 'Lorg/onepf/oms/appstore/TStoreRequestCallback;' failed
05-22 14:15:36.700: E/dalvikvm(13462): Could not find class 'org.onepf.oms.appstore.TStoreRequestCallback', referenced from method org.onepf.oms.appstore.TStoreBillingService.launchPurchaseFlow
05-22 14:15:36.700: W/dalvikvm(13462): VFY: unable to resolve new-instance 3850 (Lorg/onepf/oms/appstore/TStoreRequestCallback;) in Lorg/onepf/oms/appstore/TStoreBillingService;
05-22 14:15:36.700: D/dalvikvm(13462): VFY: replacing opcode 0x22 at 0x0017
05-22 14:15:36.700: I/dalvikvm(13462): Could not find method com.skplanet.dodo.IapPlugin.getPlugin, referenced from method org.onepf.oms.appstore.TStoreBillingService.startSetup
05-22 14:15:36.710: W/dalvikvm(13462): VFY: unable to resolve static method 23672: Lcom/skplanet/dodo/IapPlugin;.getPlugin (Landroid/content/Context;)Lcom/skplanet/dodo/IapPlugin;
05-22 14:15:36.710: D/dalvikvm(13462): VFY: replacing opcode 0x71 at 0x0002
05-22 14:15:36.710: I/dalvikvm(13462): Failed resolving Lorg/onepf/oms/appstore/TStoreRequestCallback; interface 3446 'Lcom/skplanet/dodo/IapPlugin$RequestCallback;'
05-22 14:15:36.710: W/dalvikvm(13462): Link of class 'Lorg/onepf/oms/appstore/TStoreRequestCallback;' failed
05-22 14:15:36.710: D/dalvikvm(13462): DexOpt: unable to opt direct call 0x63be at 0x1b in Lorg/onepf/oms/appstore/TStoreBillingService;.launchPurchaseFlow
this is our AndroidManifest (I replaced the pointy brackets so that it would show here in the post):
I'm using the Open IAB unitypackage v0.9.4.1 from the asset store. Billing works fine on iOS but I'm getting errors on Android. This is the logcat output:
05-22 14:15:35.990: I/Unity(13462): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53)
05-22 14:15:36.180: I/Unity(13462): ********** Android OpenIAB plugin initialized **********
05-22 14:15:36.180: I/Unity(13462):
05-22 14:15:36.180: I/Unity(13462): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 53)
05-22 14:15:36.460: D/OpenIAB-UnityPlugin(13462): createBroadcasts
05-22 14:15:36.460: D/OpenIAB-UnityPlugin(13462): Starting setup.
05-22 14:15:36.690: D/OpenIAB-UnityPlugin(13462): Setup finished.
05-22 14:15:36.690: D/OpenIAB-UnityPlugin(13462): Setup successful.
05-22 14:15:36.700: I/dalvikvm(13462): Failed resolving Lorg/onepf/oms/appstore/TStoreRequestCallback; interface 3446 'Lcom/skplanet/dodo/IapPlugin$RequestCallback;'
05-22 14:15:36.700: W/dalvikvm(13462): Link of class 'Lorg/onepf/oms/appstore/TStoreRequestCallback;' failed
05-22 14:15:36.700: E/dalvikvm(13462): Could not find class 'org.onepf.oms.appstore.TStoreRequestCallback', referenced from method org.onepf.oms.appstore.TStoreBillingService.launchPurchaseFlow
05-22 14:15:36.700: W/dalvikvm(13462): VFY: unable to resolve new-instance 3850 (Lorg/onepf/oms/appstore/TStoreRequestCallback;) in Lorg/onepf/oms/appstore/TStoreBillingService;
05-22 14:15:36.700: D/dalvikvm(13462): VFY: replacing opcode 0x22 at 0x0017
05-22 14:15:36.700: I/dalvikvm(13462): Could not find method com.skplanet.dodo.IapPlugin.getPlugin, referenced from method org.onepf.oms.appstore.TStoreBillingService.startSetup
05-22 14:15:36.710: W/dalvikvm(13462): VFY: unable to resolve static method 23672: Lcom/skplanet/dodo/IapPlugin;.getPlugin (Landroid/content/Context;)Lcom/skplanet/dodo/IapPlugin;
05-22 14:15:36.710: D/dalvikvm(13462): VFY: replacing opcode 0x71 at 0x0002
05-22 14:15:36.710: I/dalvikvm(13462): Failed resolving Lorg/onepf/oms/appstore/TStoreRequestCallback; interface 3446 'Lcom/skplanet/dodo/IapPlugin$RequestCallback;'
05-22 14:15:36.710: W/dalvikvm(13462): Link of class 'Lorg/onepf/oms/appstore/TStoreRequestCallback;' failed
05-22 14:15:36.710: D/dalvikvm(13462): DexOpt: unable to opt direct call 0x63be at 0x1b in Lorg/onepf/oms/appstore/TStoreBillingService;.launchPurchaseFlow
this is our AndroidManifest (I replaced the pointy brackets so that it would show here in the post):
[?xml version="1.0" encoding="utf-8"?]
[manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.qualcomm.QCARUnityPlayer" android:versionCode="1" android:versionName="1.0"]
[uses-sdk android:minSdkVersion="9" /]
[uses-feature android:name="android.hardware.camera" /]
[supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" /]
[uses-permission android:name="android.permission.INTERNET" /]
[uses-permission android:name="android.permission.CAMERA" /]
[uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /]
[uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /]
[uses-permission android:name="com.android.vending.BILLING" /]
[uses-permission android:name="com.android.vending.CHECK_LICENSE" /]
[uses-permission android:name="android.permission.RECEIVE_SMS"/]
[uses-permission android:name="android.permission.READ_PHONE_STATE"/]
[uses-permission android:name="com.tmoney.vending.INBILLING"/]
[uses-permission android:name="com.yandex.store.permission.BILLING"/]
[uses-permission android:name="com.sec.android.iap.permission.BILLING"/]
[uses-permission android:name="org.onepf.openiab.permission.BILLING"/]
[uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /]
[uses-permission android:name="android.permission.WAKE_LOCK" /]
[application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:debuggable="false"]
[activity android:name="com.neatplug.u3d.plugins.common.NPQCARUnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:launchMode="singleTask" android:screenOrientation="sensor"]
[intent-filter]
[action android:name="android.intent.action.MAIN" /]
[category android:name="android.intent.category.LAUNCHER" /]
[/intent-filter]
[meta-data android:name="android.app.lib_name" android:value="unity" /]
[meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" /]
[/activity]
[activity android:name="org.onepf.openiab.UnityProxyActivity" android:launchMode="singleTask" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"]
[/activity]
[receiver android:name="com.amazon.inapp.purchasing.ResponseReceiver"]
[intent-filter]
[action android:name="com.amazon.inapp.purchasing.NOTIFY" android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY" /]
[/intent-filter]
[/receiver]
[activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:screenOrientation="sensor" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"]
[/activity]
[activity android:name="com.facebook.unity.FBUnityLoginActivity" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"]
[/activity]
[activity android:name="com.facebook.LoginActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"]
[/activity]
[activity android:name="com.facebook.unity.FBUnityDeepLinkingActivity" android:exported="true"]
[/activity]
[meta-data android:name="com.facebook.sdk.ApplicationId" android:value="\ 523254637782945" /]
[/application]
[/manifest]
how can this issue be resolved?