Hello, I am just learning to work with libGdx and gdx-pay.And i have the following problem:
java.lang.NoClassDefFoundError: org.onepf.oms.OpenIabHelper$Options$Builder
at com.badlogic.gdx.pay.android.openiab.PurchaseManagerAndroidOpenIAB.install(PurchaseManagerAndroidOpenIAB.java:219)
at com.badlogic.gdx.pay.PurchaseSystem.install(PurchaseSystem.java:168)
at com.altinntech.slots.services.PlatformResolver.initializeIAP(PlatformResolver.java:29)
at com.altinntech.slots.AndroidResolver.(AndroidResolver.java:28)
at com.altinntech.slots.MainActivity.onCreate(MainActivity.java:185)
if I add ... compile "org.onepf:openiab:0.9.8.7" then see the error
Error:Gradle: Execution failed for task ':android:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished with non-zero exit value 2
Hello, I am just learning to work with libGdx and gdx-pay.And i have the following problem:
java.lang.NoClassDefFoundError: org.onepf.oms.OpenIabHelper$Options$Builder at com.badlogic.gdx.pay.android.openiab.PurchaseManagerAndroidOpenIAB.install(PurchaseManagerAndroidOpenIAB.java:219) at com.badlogic.gdx.pay.PurchaseSystem.install(PurchaseSystem.java:168) at com.altinntech.slots.services.PlatformResolver.initializeIAP(PlatformResolver.java:29) at com.altinntech.slots.AndroidResolver.(AndroidResolver.java:28)
at com.altinntech.slots.MainActivity.onCreate(MainActivity.java:185)
In the build.gradle i addded:
// compile "com.badlogicgames.gdxpay:gdx-pay-android-openiab:$gdxpayVersion:library" // compile "com.badlogicgames.gdxpay:gdx-pay-android-ouya:$gdxpayVersion" // compile "org.onepf:openiab:0.9.8.7" compile fileTree(dir: 'libs', include: ['*.jar']) } }
if I add ... compile "org.onepf:openiab:0.9.8.7" then see the error
Error:Gradle: Execution failed for task ':android:dexDebug'.
Please tell me, what am I doing wrong?