0

I'm trying to import a gradle project into eclipse but I'm getting this error :

"The SDK directory '\Applications\Android Studio.app\sdk' does not exist."

Has anyone encountered this kind of problem?

BugaIulian
  • 315
  • 3
  • 18
  • `'\Applications\Android Studio.app\sdk' ` in Eclipse? Probably an environment variable is messed up, ANDROID_HOME. – EpicPandaForce Jul 31 '14 at 09:20
  • I know... that is really strange for me too! – BugaIulian Jul 31 '14 at 09:22
  • Check your Control Panel -> System -> Advanced -> Environment Variables -> ANDROID_HOME and see where it points, if it doesn't point anywhere then specify the directory to the SDK – EpicPandaForce Jul 31 '14 at 09:22
  • I don't have an ANDROID_HOME variable...instead I have a JAVA_HOME variable that points to > C:\Program Files\Java\jdk1.8.0_05 – BugaIulian Jul 31 '14 at 09:26
  • see http://stackoverflow.com/questions/17481915/how-to-import-android-studio-project-in-eclipse/26092617#26092617 – Paul Verest Oct 13 '14 at 05:44

2 Answers2

0

Clean project manually (delete all IDE) and check Eclipse SDK settings.

QArea
  • 4,955
  • 1
  • 12
  • 22
-1

From the command line execute

gradle eclipse

Now you can import the gradle project as a normal eclipse project.

for more info - http://codetutr.com/2013/03/23/how-to-import-gradle-project-into-eclipse/

Chrishan
  • 4,076
  • 7
  • 48
  • 67