简体   繁体   English

ADT(eclipse) 现在是否支持 apklib 或 aar,直到 ADT v23.04?

[英]does ADT(eclipse) supports apklib or aar now, upto ADT v23.04?

Almost no one had successful import a Apklib(aar) refenerence in ADT.几乎没有人在 ADT 中成功导入 Apklib(aar) 引用。 Here is a issues , but no answer.这是一个问题,但没有答案。 In issues, this is a solution works but ugly.在问题中,这是一个解决方案,但很丑陋。

Being a fan of ADT, i do not wanna use Android Studio.作为 ADT 的粉丝,我不想使用 Android Studio。 is there some way to use Apklib(aar) in eclipse?有什么方法可以在 eclipse 中使用 Apklib(aar) 吗?

tried for sevearl weeks, i turned to idea with gradle.尝试了 sevearl 周,我转向了 gradle 的想法。 as far as i kown, apklib is supported, while aar is not full supported.据我所知,支持 apklib,而不完全支持 aar。 Here is one way to use AAR.这是使用 AAR 的一种方法。

just unpackage the aar into a folder, then import into eclipse as a library project.只需将 aar 解包到一个文件夹中,然后作为库项目导入到 eclipse 中。 do not forget to add the classes.jar into build path.不要忘记将 classes.jar 添加到构建路径中。 then add a library project dependency to you own project.然后将库项目依赖项添加到您自己的项目中。

it works.有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM