Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
136 views
in Technique[技术] by (71.8m points)

android - Application error billing

i have created a test application with in app product in google play. http://developer.android.com/guide/market/billing/billing_admin.html

i have added the billing part in my application. i have also added a product in google play. When i click the link from my application. Google play store is lunched with the correct name of my product. After 2seconds, i got this error:

Application error This version of the application is not configured bor billing through google play.check the help venter for more information

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You need to sign your APK with your live certificate. Then install that onto your test device. You can then test InAppBilling.

If you are using the android.test.purchased it will work all the way, but you won't have the developerPayload in your final response.

If you are using your own draft in app item you can test all the way but you will be charged and so will have to refund it yourself afterwards.

You cannot buy items with the same gmail account that you use for the google play development console.

For more details see here: http://blog.blundell-apps.com/simple-inapp-billing-payment/

:D


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...