简体   繁体   English

如何在Mac上的eclipse中导入android支持库?

[英]How to import android support library in eclipse on mac?

I am trying to set up android sdk in eclipse on my mac. 我试图在Mac上的eclipse中设置android sdk。 I have downloaded the Android Support Library, however, there is nothing i can import to the eclipse. 我已经下载了Android支持库,但是没有什么可以导入到Eclipse中的。

I have already read through related post, and "Support Library Setup" as well. 我已经阅读了相关的文章,以及“支持库设置”。

Most people are having problems after importing the support library to eclipse and link to their own android application project, but thats not my case. 导入支持库以使其Eclipse和链接到他们自己的Android应用程序项目之后,大多数人都遇到了问题,但这不是我的情况。

I had been stuck for days and will be really appreciated if someone can help me to solve this out. 我已经被困了好几天,如果有人可以帮助我解决这个问题,我将不胜感激。

Screen cap of SDK Manager SDK Manager的屏幕截图

Screen cap of of ../android-sdks/extras/android/m2repository/com/android/support/ ../android-sdks/extras/android/m2repository/com/android/support/的屏幕截图

您可以找到* .aar文件(这是存档文件),然后将其解压缩并找到jar文件和资源文件,然后将其添加到项目中的libs目录中。

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

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