I am trying to import a libgdx project (desktop, ios and android) to outshine on my mac, which I have in the local git repository.
When I try to import the project into eclipse (Import → Gradle → Gradle Project, and then add my root folder for the entire libgdx project), I try to "Create a model", but then I get an error message:
"SDK location not Found. Define location with sdk.dir in the local.properties file or with and ANDROID_HOME environment variable"
I already set my ANDROID_HOME with
export ANDROID_HOME=/Development/Tools/android-sdk-mac export PATH=$PATH:$ANDROID_HOME/bin
but I still get the same error and it doesn't work.
The project was originally created on my Windows computer (where everything works fine) and used git to also have it on my mac for ios.
I also tried to import it as a local git repo (Import -> git -> Projects from git -> existing local repository, added the project path). When I then select the wizard to import the project as "Import existing projects", it does not find it. And when I import both “Use the project wizard” and “Import as a general project”, it doesn’t work, and I can’t start my projects (desktop, ios and android), and sometimes I don’t even get the project files in the eclipse.
What am I doing wrong and how can I fix it?
PS: Catalog:
-SpeedRun --SpeedRun-android --SpeedRun-desktop --SpeedRun-ios
- Speedrun core
git android eclipse gradle libgdx
user2539369 Jun 01 '14 at 18:46 2014-06-01 18:46
source share