|
|
# Nastavení IDE
|
|
|
|
|
|
## Android Studio
|
|
|
### Nastavení
|
|
|
* *Import Non-Android Studio project*
|
|
|
|
|
|
### Spuštění
|
|
|
#### Desktop
|
|
|
* *Run -> Edit Configurations... -> Add New Configuration -> Application*
|
|
|
* Name: ```Desktop```
|
|
|
* MainClass: ```DesktopLauncher```
|
|
|
* Working Directory: ```tablexia/android/assets``` (aby mohla desktop aplikace přistupovat k assetům)
|
|
|
* Use Classpath of module: ```tablexia.desktop```
|
|
|
|
|
|
![desktop_setup](uploads/3f086a782d8f9959984649cfa06c51f7/desktop_setup.png)
|
|
|
|
|
|
#### Android
|
|
|
* Měl by být nastaven hned po importu.
|
|
|
|
|
|
#### HTML
|
|
|
* *Run -> Edit Configurations... -> Add New Configuration -> Gradle*
|
|
|
* Name: ```HTML```
|
|
|
* Gradle project: ```:html```
|
|
|
* Tasks: ```html:superDev```
|
|
|
|
|
|
## Eclipse
|
|
|
### Nastavení
|
|
|
* nainstalovat plugin Eclipse ADT -> https://dl-ssl.google.com/android/eclipse/
|
... | ... | @@ -18,26 +42,4 @@ |
|
|
* nainstalovat plugin ```Goole Plugin for Eclipse```
|
|
|
* nainstalovat plugin ```Eclipse Jetty```
|
|
|
* *Tablexia-libGDX-html -> Google -> GWT Compile* -> vybrat adresář ```war/``` pro deploy (build bude nějakou dobu trvat)
|
|
|
* *Tablexia-libGDX-html -> RunAs -> Run with Jetty*
|
|
|
|
|
|
|
|
|
## Android Studio
|
|
|
### Nastavení
|
|
|
* *Import Non-Android Studio project*
|
|
|
|
|
|
### Spuštění
|
|
|
#### Desktop
|
|
|
* *Run -> Edit Configurations... -> Add New Configuration -> Application*
|
|
|
* Name: ```Desktop```
|
|
|
* MainClass: ```DesktopLauncher```
|
|
|
* Working Directory: ```tablexia-libgdx/android/assets``` (aby mohla desktop aplikace přistupovat k assetům)
|
|
|
* Use Classpath of module: ```desktop```
|
|
|
|
|
|
#### Android
|
|
|
* Měl by být nastaven hned po importu.
|
|
|
|
|
|
#### HTML
|
|
|
* *Run -> Edit Configurations... -> Add New Configuration -> Gradle*
|
|
|
* Name: ```HTML```
|
|
|
* Gradle project: ```:html```
|
|
|
* Tasks: ```html:superDev``` |
|
|
\ No newline at end of file |
|
|
* *Tablexia-libGDX-html -> RunAs -> Run with Jetty* |
|
|
\ No newline at end of file |