install Jmoneky engine for andoid ubuntu
install ubuntu
Open terminal
Install jdk
sudo apt-get update
sudo apt install default-jdk
Install jmonkey sdk
open terminal
cd Downloads
sh jmonkeyplatform-linux-x64.sh
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
Комментарии
Отправить комментарий