AAR在Eclipse Ant项目 [英] AAR in Eclipse ANT project
问题描述
有没有办法在Eclipse蚂蚁项目中使用.aar库(与资源)?我知道,有没有简单的方法来使用.aar格式,像摇篮,但也许有一些解决方法,将它解压缩,然后手动将其导入?
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?
推荐答案
事实上,AAR文件只是存档文件。所以,你可以将它解压缩,找到jar文件连同ressources文件。这个问题已经部分地在这里找到答案:
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:
<一个href="http://stackoverflow.com/a/21485222/1836870">http://stackoverflow.com/a/21485222/1836870
如果你想获得你的罐子里面的ressources,您可以尝试重新包装,像它的建议在这个答案:
If you want to get the ressources inside your jar, you could try repackage like it's suggested in this answer:
<一个href="http://stackoverflow.com/a/21417599/1836870">http://stackoverflow.com/a/21417599/1836870
这篇关于AAR在Eclipse Ant项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!