Reputation: 1989
I have a project that was created in Eclipse. I opened that project in Android Studio and got the message
Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system. More Information about migrating to Gradle Don't show this message again.
I tried solving this restarting android studtio. But it didn't work. Here Run, Build, Sync etc all the options are disabled in studio.
Can any one help me in solving this issue?
Upvotes: 3
Views: 2302
Reputation: 2819
Import the project instead of open like this:
File -> New-> import project
Upvotes: 3
Reputation: 2780
Create a new project in Android Studio with the same package name, when the project is created, then copy the old projects' src, res, manifest and assets(if you are using), and paste this in the newly created workspace of Android Studio. Open the studio and sync the project. It will work. Give it a shot.
Upvotes: 0
Reputation: 6096
It appears you are trying to open project instead of import. Actually you can directly import project by click on open if existing project is built in Studio environment.But same cant be done to eclipse based project .So try again by import project option.
File -> New-> import project
Upvotes: 2