问题描述
我想制作一个带有应用内购买的 android 应用程序,我经常读到我必须从 SDK 管理器下载 Google Play 计费库
(例如
谢谢!!!
检查官方博客:
Play 计费库可通过 Maven 存储库获得
只需添加:
依赖项{...编译'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:
Just add:
dependencies {
...
compile 'com.android.billingclient:billing:1.0'
}
You can find more details about the library in the official doc.
这篇关于为什么 SDK 管理器中未显示 Google Play 结算库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!