Create project 1. go to https://jmonkeyengine.org/start/ 2. enter project name check ckeckbox andoid and download project 3. extract archive 4. open terminal 5. cd path_to_project 6. sudo nano local properties enter sdk.dir=/home/ivan/Android/Sdk save Singn application 1. run in termianl 2. keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 3. Place my-release-key.keystore which you generated in Step 1 under project/app 4. Update your gradle.properties under project and add the following MYAPP_RELEASE_STORE_FILE=my-release-key.keystore MYAPP_RELEASE_KEY_ALIAS=my-key-alias MYAPP_RELEASE_STORE_PASSWORD=<The password you choose earlier with the keytool> MYAPP_RELEASE_KEY_PASSWORD=<The password you choose earlier with the keytool> 5. Finally you need to update your project/app/build.gradle . android { ... defaultConfig { ... } signi...
install ubuntu Open terminal Install jdk sudo apt-get update sudo apt install default-jdk Install jmonkey sdk download latest jdk open terminal cd Downloads sh jmonkeyplatform-linux-x64.sh Update jmonkey engine open engine press tools->plugins->settings check Nightty select chek interval every startup restart engine Install android sdk wget https://dl.google.com/android/repository/commandlinetools-linux-6200805_latest.zip mkdir -p Android/Sdk unzip commandlinetools-linux-6200805_latest.zip -d Android/Sdk export ANDROID_HOME=$HOME/Android/Sdk # Make sure emulator path comes before tools. Had trouble on Ubuntu with emulator from /tools being loaded # instead of the one from /emulator export PATH="$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH" sdkmanager --sdk_root=${ANDROID_HOME} "tools" sdkmanager --update sdkmanager --list sdkmanager "build-tools;28.0.3" "platform-tools" "pl...
Комментарии
Отправить комментарий