git clone https://github.com/djeezuss/ColonySim.git
Importer le fichier build.gradle
Cliquer auto-import
Cliquer OK
Attendre que Gradle finisse ses processus
Cliquer sur "Add configuration"
- Ajouter une nouvelle "Android App"
- Nom : "android"
- Module : android
- Cliquer "Apply"
- Ajouter une nouvelle "Application"
- Nom : desktop
- Main Class : net.ddns.djeezuss.desktop.DesktopLauncher
- Working Directory :
$PROJECT_DIR$ \android\assets - Module : desktop
- Cliquer "OK"
CTRL+ALT+S
Dans "Build, Execution, Deployment" > Gradle-Android Compiler
- Décliquer "Configure on demand"
- Cliquer OK
File > Invalidate Caches / Restart...
Sélectionner "Invalidate and Restart"
Laisser Intellij finir d'indexer ce qu'il a besoin
Partir la configuration "desktop" 2 fois (la première fois ne fonctionnera pas, mais la deuxième vas fonctionner)