棉花糖及以上版本的许可证验证库 [英] License Verification Library on Marshmallow and above

查看:45
本文介绍了棉花糖及以上版本的许可证验证库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于Google需要所有新上传到Google Play的文件才能至少使用api级别26或更高版本(Android 8.0),因此我试图使许可验证库(LVL)库正常工作.

Since Google needs all new uploads to Google Play to use at least api level 26 or above (Android 8.0) I'm trying to get the License Verification Library (LVL) library to work.

但是LVL使用的是org.apache.http,在Android 8中已弃用并删除了它.

But the LVL uses the org.apache.http and it has been deprecated and removed in Android 8.

使用Eclipse下载LVL时,只有相同的版本1.

When downloading the LVL with Eclipse there is only the same version with revision 1.

是否在某个地方可以找到更新的版本,或者有人可以解决此问题的解决方法吗?

Is there a newer version to be found somewhere or has anybody a fix to how this problem can be solved?

推荐答案

如果有人从这里过来,我只想与Gi​​thub上的许可证验证库的更新版本共享到github的链接:

If somebody else comes by here I just wanted to share the link to the github with an updated version of License Verification Library on Github: github.com/google/play-licensing

只需将其直接复制到您的项目中即可.您感兴趣的目录是com.google.android.vending.licensing(保留目录结构).

Just copy it directly into your project. The directory you are interested in is the com.google.android.vending.licensing (Keep the directory structure).

Android Studio似乎仍然具有我不了解的版本1,因为某些Google文档显示了版本2.

Android Studio seem to still have version 1 of this which I don't understand, as some Google docs shows a version 2.

这篇关于棉花糖及以上版本的许可证验证库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆