wiifree wiifree - 1 month ago 7
Java Question

LibGDX GDX-Pay crash

I implement the GDXPay but if i want to start the Game it comes a crash with this value


10-15 04:40:42.963 1721-1721/com.packagename.mygame.android E/AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'com.badlogic.gdx.pay.PurchaseManagerConfig com.packagename.mygame.mygame.purchaseManagerConfig' on a null object reference
10-15 04:40:42.963 1721-1721/com.packagename.mygame.android E/AndroidRuntime: at com.packagename.mygame.android.GooglePlayResolver.(GooglePlayResolver.java:17)
10-15 04:40:42.963 1721-1721/com.packagename.mygame.android E/AndroidRuntime: at com.packagename.mygame.AndroidLauncher.onCreate(AndroidLauncher.java:42)


I don't understand it. I hope you can help me.

Answer Source

i found a other answer. GDX Pay dont work so good but with this tutorial it work good. LINK