内容简介:是.每个人都在测试Android Studio.我在项目中使用Eclipse,我想迁移到Android Studio.我的项目有问题.我读过这个页面:不是一个伟大的如何在我看来.
是.每个人都在测试Android Studio.我在项目中使用Eclipse,我想迁移到Android Studio.我的项目有问题.
我读过这个页面: http://developer.android.com/sdk/installing/migrate.html
不是一个伟大的如何在我看来.
我正在我的项目库中使用不是.jar格式,但它们是eclipse项目(在属性中选中“是库”).
你能告诉我如何将我的项目移到Android Studio?我遇到了很多错误.我也在使用Google Play服务,Android Studio向我展示了相同API的旧版本.
如何添加例如ActionBarSherlock或Android-ViewPagerIndicator?
Shoud我进口就像在eclipse中所有这些项目.但在Android Studio中,我不能将项目标记为库?
这对我有用
在build.gradle文件中:
dependencies {
compile files('libs/android-support-v4.jar')
compile project(':MyLibrary')
}
而在IntelliJ Module文件中,HelloWorld.iml:
<orderEntry type="library" name="android-support-v4" level="application" /> <orderEntry type="library" name="MyLibrary.aar" level="project" />
在图书馆项目中,没有太多的事情要做:告诉Gradle和Android Studio,这是一个Android库,应用插件分别是“android-library”和option name =“LIBRARY_PROJECT”value =“true”.
代码日志版权声明:
翻译自:http://stackoverflow.com/questions/16597895/android-studio-how-to-use-libraries-from-eclipse-projects
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- 使用 MonoRepo 管理前端项目
- 使用 Mkdocs 制作项目文档
- 使用Taro开发项目总结
- 使用 Maven 构建 Java 项目
- 使用gradle构建java项目
- flask使用蓝图规划大型项目
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Visual Thinking
Colin Ware / Morgan Kaufmann / 2008-4-18 / USD 49.95
Increasingly, designers need to present information in ways that aid their audiences thinking process. Fortunately, results from the relatively new science of human visual perception provide valuable ......一起来看看 《Visual Thinking》 这本书的介绍吧!