为什么Google Play结算库未显示在SDK Manager中? [英] Why is the Google Play Billing Library not shown up in the SDK Manager?
问题描述
我想在应用内购买Android应用程序,我经常阅读我必须从SDK Manager下载Google Play结算库
(例如
感谢!!!
检查官方博客:
Play账单库可通过Maven存储库获取
只需添加:
依赖项{
...
compile'com.android.billingclient:billing:1.0'
}
您可以在官方文档。
I'd like to make an android application with in app purchases, I read often that I have to download the Google Play Billing Library from SDK Manager
(e.g. http://www.techotopia.com/index.php/An_Android_Studio_Google_Play_In-app_Billing_Tutorial#Installing_the_Google_Play_Billing_Library ), but I can't find it there. Does I need this file? If yes, how can I manage that it is shown to me? On the developers.android webside is nothing written of the Google Play Billing Library, but if I copy their sample code to my project, I get many errors. I searched for Example projects for example on github, I found one, but when I run it, the app crashes. Is there any sample project, I think this would solve my problems?
THANKS !!!
Checking the offical blog:
Play Billing Library is available through Maven repository
Just add:
dependencies {
...
compile 'com.android.billingclient:billing:1.0'
}
You can find more details about the library in the official doc.
这篇关于为什么Google Play结算库未显示在SDK Manager中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!