Maximilian O
- Forum-Beiträge: 990
10.05.2012, 15:37:40 via Website
10.05.2012 15:37:40 via Website
Hallo Leute,
ich versuche gerade das InApp-Billing in meine App einzubauen. Aber egal ob ich das originale Projekt von Google oder eins aus dem Internet teste, die App stürzt immer ab. Ich komme bis in den PlayStore, kann auf "Kauf akzeptieren" klicken. Doch dann schmeißt er mich mit der Meldung raus:
Könntet ihr mir da bitte mal helfen?
Liebe Grüße Maximilian
ich versuche gerade das InApp-Billing in meine App einzubauen. Aber egal ob ich das originale Projekt von Google oder eins aus dem Internet teste, die App stürzt immer ab. Ich komme bis in den PlayStore, kann auf "Kauf akzeptieren" klicken. Doch dann schmeißt er mich mit der Meldung raus:
05-10 15:33:16.746: E/AndroidRuntime(22936): java.lang.RuntimeException: Unable to start service com.example.dungeons.BillingService@40daecc8 with Intent { act=com.android.vending.billing.PURCHASE_STATE_CHANGED cmp=com.example.dungeons/.BillingService (has extras) }: java.lang.IllegalArgumentException: com.example.dungeons.util.Base64DecoderException: single trailing character at offset 19
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2738)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.access$1900(ActivityThread.java:139)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.os.Handler.dispatchMessage(Handler.java:99)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.os.Looper.loop(Looper.java:154)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.main(ActivityThread.java:4944)
05-10 15:33:16.746: E/AndroidRuntime(22936): at java.lang.reflect.Method.invokeNative(Native Method)
05-10 15:33:16.746: E/AndroidRuntime(22936): at java.lang.reflect.Method.invoke(Method.java:511)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-10 15:33:16.746: E/AndroidRuntime(22936): at dalvik.system.NativeStart.main(Native Method)
05-10 15:33:16.746: E/AndroidRuntime(22936): Caused by: java.lang.IllegalArgumentException: com.example.dungeons.util.Base64DecoderException: single trailing character at offset 19
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.generatePublicKey(Security.java:209)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.verifyPurchase(Security.java:128)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.purchaseStateChanged(BillingService.java:493)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.handleCommand(BillingService.java:383)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.onStart(BillingService.java:360)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.Service.onStartCommand(Service.java:438)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2715)
05-10 15:33:16.746: E/AndroidRuntime(22936): ... 10 more
05-10 15:33:16.746: E/AndroidRuntime(22936): Caused by: com.example.dungeons.util.Base64DecoderException: single trailing character at offset 19
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:559)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:474)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:420)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.generatePublicKey(Security.java:199)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2738)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.access$1900(ActivityThread.java:139)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.os.Handler.dispatchMessage(Handler.java:99)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.os.Looper.loop(Looper.java:154)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.main(ActivityThread.java:4944)
05-10 15:33:16.746: E/AndroidRuntime(22936): at java.lang.reflect.Method.invokeNative(Native Method)
05-10 15:33:16.746: E/AndroidRuntime(22936): at java.lang.reflect.Method.invoke(Method.java:511)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-10 15:33:16.746: E/AndroidRuntime(22936): at dalvik.system.NativeStart.main(Native Method)
05-10 15:33:16.746: E/AndroidRuntime(22936): Caused by: java.lang.IllegalArgumentException: com.example.dungeons.util.Base64DecoderException: single trailing character at offset 19
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.generatePublicKey(Security.java:209)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.verifyPurchase(Security.java:128)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.purchaseStateChanged(BillingService.java:493)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.handleCommand(BillingService.java:383)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.BillingService.onStart(BillingService.java:360)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.Service.onStartCommand(Service.java:438)
05-10 15:33:16.746: E/AndroidRuntime(22936): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2715)
05-10 15:33:16.746: E/AndroidRuntime(22936): ... 10 more
05-10 15:33:16.746: E/AndroidRuntime(22936): Caused by: com.example.dungeons.util.Base64DecoderException: single trailing character at offset 19
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:559)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:474)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.util.Base64.decode(Base64.java:420)
05-10 15:33:16.746: E/AndroidRuntime(22936): at com.example.dungeons.Security.generatePublicKey(Security.java:199)
Könntet ihr mir da bitte mal helfen?
Liebe Grüße Maximilian
Vergiss nie wieder Geburtstage, oder viel schlimmer, deinen Hochzeitstag - Birthdays Download