I can't figure out how to add Downloader Library and Licensing Library to Android Studio

前端 未结 4 1042
庸人自扰
庸人自扰 2021-02-05 13:56

I\'m trying to use Google\'s Downloader Library and Application Licensing Service since my app is going to use APK Expansion. But the problem is I don\'t know how to add those 2

4条回答
  •  太阳男子
    2021-02-05 14:52

    I just wanted to add a comment that the .project file for downloader should point to correct dependency:

    android.library.reference.1=../../market_licensing/library
    

    Now importing downloader will also import licensing which depends and create the correct dependency.

    EDIT: That libraries are rather old. I've found new versions here:

    https://github.com/google/play-apk-expansion

    https://github.com/google/play-licensing

提交回复
热议问题