Exporting an Android Eclipse Gradle Project Does Nothing

I am trying to export my Android project from Eclipse (ADT 22.2.1) using the Gradle plugin.

I select my project in the initial Gradle dialog box, then click

enter image description here

My project appears along with Android dependencies.

enter image description here

When I click the Finish button, I barely see the message โ€œCreate Gradle Build Filesโ€, but I never get confirmation of success. And build.gradle or settings.gradle is NOT in the root directory of my projects.

I can select each of the dependency libraries and successfully complete them.

Any suggestions?

Db

+7
android eclipse gradle
source share
1 answer

I ran into the same problem, my solution was to install the last Eclipse from their page , (I used Juno, now with Kepler didn 'you have this problem) and the Android ADT plugin. They seem to have broken compatibility with the old version of eclipse in the new ADTs

Naughty, but ... at least it works

You can try the "hard way" by creating the necessary files (build.gradle, gradle wrapper, etc.) manually, but you will have many errors, not worth the time spent.

EDIT: extracted from Android Tools Technical Tools : open the project in Eclipse and export the project from there. NOTE. Make sure you use the latest possible version of Eclipse, as we have fixed export issues recently.

+1
source share

All Articles