I see a bunch of threads here for android in-app billing, I went through them but can’t find solution to my problem:
I’m trying to run the in-app-billing-v03, i.e. the TrivialDrive app. I have followed exactly what is written in the README file until I signed the apk and installed it with adb onto my test device. Then I ran it but what I see is a black screen with “ONE SEC” in the middle and nothing else. I have absolutely no idea what’s going on behind since I can’t run it with debug.
so had anyone the same experience and would love to share a solution? the sample’s not providing any information.
I don’t have 50 reputation so I can’t leave a comment…
I have the same problem, and can describe in a little bit more detail what is happening.
In the IABHelper.startSetup() call, it never triggers the onIabSetupFinished() callback.
In the startSetup() method this call
returns false and never calls mServiceConn.onServiceConnected (which is where the onIabSetupFinished() is called).
Logcat says something like: EDIT: When I went to run to check this logcat statement, it started working. It WAS saying something
What did I do to fix this? No idea, but I’m guessing it has something to do with that IInAppBillingService generated file. Check your build path to make sure /gen is included in the output and do a clean/build. You can debug this particular problem with a debug signature in eclipse.