install Jmoneky engine for andoid ubuntu

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" "platforms;android-28" "tools"

sdkmanager --licenses


now we need run emulator

cd ~/Android/Sdk/tools

sdkmanager --install “system-images;android-23;google_apis;x86”

sdkmanager --channel=3 emulator

avdmanager create avd -n test -k “system-images;android-23;google_apis;x86”

./emulator -avd test


Комментарии

Популярные сообщения из этого блога

jmonkey engine create and build andoid project

jmonkey custom crursor