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

前端 未结 4 1048
庸人自扰
庸人自扰 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:33

    I solved the problem in a very weird way.

    I noticed that I can't import those 2 libraries directly to Android Studio because they are missing a lot of project files and therefore Android Studio doesn't recognize them as libraries.

    I then imported both libraries to Eclipse so that everything neccessary was generated and then exported them directly to Android Studio.

    That worked like a charm.

    Maybe a weird way to import a library but at least it worked.

提交回复
热议问题