[英]Import module to gradle project on android studio 0.4.0v
I need to import a library project as a module to an existing project. 我需要将库项目作为模块导入现有项目。
Please Note! 请注意!
There are answers to questions like that, 有这样的问题的答案,
All answers regarding older versions of Android-Studio. 关于旧版Android-Studio的所有答案。
In older versions you could follow these steps: 在旧版本中,您可以按照以下步骤操作:
But in this version, when you try to import an Eclipse project, 但是在这个版本中,当您尝试导入Eclipse项目时,
The android studio convert it to gradle project anyway. android工作室无论如何都将它转换为gradle项目。
And then it's just like you open a new project in Android-Studio, 然后就像你在Android-Studio中打开一个新项目一样,
You don't have the File-->import module in the menu. 您没有菜单中的文件 - >导入模块。
Importing modules isn't implemented yet for Gradle-based Android Studio projects. 对于基于Gradle的Android Studio项目,尚未实现导入模块。 Bug https://code.google.com/p/android/issues/detail?id=62122 has been filed to track the progress of this. 已提交错误https://code.google.com/p/android/issues/detail?id=62122以跟踪此进度。 In the meantime, you have to bring in modules by hand; 在此期间,您必须手动引入模块; using facebook sdk in android studio has detailed instructions. 在android studio中使用facebook sdk有详细的说明。
导入模块在Android Studio 0.5.5中正常运行
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.