正如许多人所建议的,我正在尝试从 Eclipse 切换到 Android Studio。遵循以下建议https://developer.android.com/sdk/installing/migrate.html https://developer.android.com/sdk/installing/migrate.html我直接导入了eclipse工作区,没有从Eclipse生成gradle文件。但是导入后,我的项目都没有 build.gradle 文件,我可以在其中添加类路径和内容。
请指教,有没有办法生成build.gradle文件之类的?
谢谢。
你读了...吗this https://stackoverflow.com/questions/22791150/how-do-you-import-an-eclipse-project-into-android-studio-now?看来您没有获得特殊的导入向导流程。至少对我来说是这样。
The root directory of the project you import must have an AndroidManifest.xml file.
Either:
The root directory must contain the .project and .classpath files from Eclipse
or
The root directoy must contain res and src directories.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)