Gradle build errors with Android Studio

前端 未结 3 1758
谎友^
谎友^ 2021-01-12 11:50

When I try to build my project in Android Studio I get the following error, using the gradle plugin provided with the download (v 1.6):

The specified Gradle in

3条回答
  •  一向
    一向 (楼主)
    2021-01-12 11:59

    I think the problem is with the way Eclipse 22 exports the project. In the end the way I got my project transferred over was to create a new project in Android Studio and copy over the files from my Eclipse project into the appropriate directories in the new project.

    The directory structure of projects in Android Studio is very different to the structure in Eclipse, and there are several files created when you start a new project which you don't get when importing a project from Eclipse (e.g. gradlew.bat, settings.gradle).

提交回复
热议问题