0

I have tested on my own device using the adb tool and the program seems to work ok.

I created a test account which I added inside my developer console. But When I try to log into the developer console using my test account, Google play tries to get me to pay $25 to sign up as a developer. So I think I am doing something wrong. How do I sign into my device with my test account?

Thanks!

Genadinik
  • 18,153
  • 63
  • 185
  • 284
  • It's unlikely that you're doing something wrong. It's more likely that the feature you're asking for is a "developer only" feature, and that Google is asking you to sign up to get it. – Robert Harvey Jan 02 '13 at 20:11
  • @RobertHarvey but how do I log into my device from the test account? I am using the instructions here: http://developer.android.com/training/in-app-billing/test-iab-app.html – Genadinik Jan 02 '13 at 20:13

1 Answers1

1

To sign into your device with your test account, you have to do a factory data reset and then specify your test account when it boots up and asks for your account info.

A real pain in the rear when you don't have a dedicated testing device.

See Testing In-app Billing for details.

Khantahr
  • 8,156
  • 4
  • 37
  • 60
  • So after setting the factory data reset, I have to reboot the phone, right? – Genadinik Jan 02 '13 at 20:19
  • Yes, then it will ask you for your Google account info and that's where you put in your test account. – Khantahr Jan 02 '13 at 20:20
  • @Ralgha thank...but you know, on my phone, if I go to settings -> privacy, I do not see an option to do the factory data reset. Would you know where else it could be? – Genadinik Jan 02 '13 at 20:38
  • On my phone (Galaxy Nexus) it's under Settings -> Backup & reset. – Khantahr Jan 02 '13 at 20:40
  • @Ralgha just found it - it says all apps will be erased. I can't do that :( What are my other options? – Genadinik Jan 02 '13 at 20:42
  • There are no other options, that's why it's a pain in the rear if you don't have a dedicated testing device. :( You'll have to either acquire another device for yourself, or use a friend's and add their normal account as a testing account for your app. – Khantahr Jan 02 '13 at 20:43
  • quick question....i just reset the data and now my adb tool is not able to do the usb-based apk transfer. Would you know what I need to do to enabling installation of apk via usb? – Genadinik Jan 02 '13 at 20:59
  • Probably one or both of allowing unknown sources for app installations and USB debugging. On my phone the former is under `Settings -> Security` and the latter under `Settings -> Developer options`. – Khantahr Jan 02 '13 at 21:04
  • I got that to work. Now I finally was able to try to connect from my test account to try to buy an item, and I got "item not found" error. ouch. – Genadinik Jan 02 '13 at 21:57