AAR in Eclipse ANT project

后端 未结 4 1623
半阙折子戏
半阙折子戏 2020-12-03 03:22

is there any way to use .aar library (with resources) in eclipse ant project? I know that there is no simply way to use .aar format like in gradle, but maybe there is some w

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 03:51

    Indeed, aar files are just archive files. So you can unzip it and find jar files along with ressources files. The question have already been partially answered here:

    https://stackoverflow.com/a/21485222/1836870

    If you want to get the ressources inside your jar, you could try repackage like it's suggested in this answer:

    https://stackoverflow.com/a/21417599/1836870

提交回复
热议问题