AAR在Eclipse ANT项目中 [英] AAR in Eclipse ANT project
问题描述
确实,aar文件只是存档文件。所以你可以解压缩它,并找到jar文件以及ressources文件。这个问题已经在这里被部分回答了:
https:// stackoverflow。 com / a / 21485222/1836870
如果要在jar中获取资源,可以像在这个答案中建议的那样尝试重新打包: p>
https://stackoverflow.com/a/21417599/1836870
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 workaround to unzip it and import it manually?
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
这篇关于AAR在Eclipse ANT项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!