License Verification Library on Marshmallow and above

喜夏-厌秋 提交于 2021-02-08 11:51:50

问题


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.

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

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?


回答1:


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

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 seem to still have version 1 of this which I don't understand, as some Google docs shows a version 2.



来源:https://stackoverflow.com/questions/52260756/license-verification-library-on-marshmallow-and-above

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!