poiuytrez / AndroidInAppBilling

Android App Billing plugin for Cordova
174 stars 144 forks source link

How to debug after .buy #81

Closed bryanwokich closed 10 years ago

bryanwokich commented 10 years ago

So I'm guessing someone here has experienced this.

I think I have an error in the JS somewhere in the buy callback.

The difficulty I'm having is figuring out how to debug it. I have to build a release .apk to interact with the store and building a release .apk means I can't hook up my debug tools.

android:debuggable="true" won't let me build.

I've been trying to build via adb, but that doesn't seem to be working.

Has anyone solved this problem?

Cheers.

bryanwokich commented 10 years ago

In the end I resorted to the android logs. I don't like this, but it worked. I'm going to leave this here in case anyone else has the same question.