Import module to gradle project on android studio 0.4.0v

。_饼干妹妹 提交于 2019-12-01 04:58:33

问题


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.

In older versions you could follow these steps:

  • Open a project in Eclipse. (not exported him to gradle)
  • In Android-Studio import this project as it.
  • And than you have the File-->import module Option.

But in this version, when you try to import an Eclipse project,

The android studio convert it to gradle project anyway.

And then it's just like you open a new project in Android-Studio,

You don't have the File-->import module in the menu.


回答1:


Importing modules works correctly in Android Studio 0.5.5




回答2:


Importing modules isn't implemented yet for Gradle-based Android Studio projects. Bug https://code.google.com/p/android/issues/detail?id=62122 has been filed to track the progress of this. In the meantime, you have to bring in modules by hand; using facebook sdk in android studio has detailed instructions.



来源:https://stackoverflow.com/questions/20770118/import-module-to-gradle-project-on-android-studio-0-4-0v

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!