问题
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