now writing
This is memo when I tried to install into ubuntu on vmware fusion.
- ubuntu-ja-14.04-desktop-amd64.iso(ISOイメージ) (md5sum: f5edb84f00b9fcd1d059f04901eea7c5)
- date
- 2015/10/25
- vmware setting
- maybe, need storage 30GB, assign 60GB to use mojo build env too.
- assign 2core and 4GB MEMORY
- ok: can make flutter shell for android and make example app apk.
- sudo apt-get install git
- sudo apt-get install curl
- sudo apt-get install emacs
http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/
- sudo add-apt-repository ppa:webupd8team/java
- sudo apt-get update
- sudo apt-get install oracle-java8-installer
export PATH=`pwd`/depot_tools:"$PATH"
####[3-1]
- emacs .gclien
solutions = [
{
"managed": False,
"name": "src",
"url": "https://github.com/flutter/engine.git",
"custom_deps": {},
"deps_file": "DEPS",
"safesync_url": "",
},
]
target_os = ["android"]
- gclient sync
- cd src
[4] Build and Run mojo on Linux
./build/install-build-deps.sh
./sky/tools/gn
ninja -C out/Debug
./out/Debug/sky_shell --package-root=./examples/hello_world/packages ./examples/hello_world/lib/main.dart
- source build/android/envsetup.sh
- export PATH="$PATH":$MOJO_DIR/src/third_party/android_tools/sdk/platform-tools
- ./tools/android/download_android_tools.py
- sudo ./build/install-build-deps-android.sh
- ./sky/tools/gn --android
- ninja -C out/android_Debug
- ./sky/tools/shelldb start out/android_Debug/ examples/hello_world/lib/main.dart
- sudo netstat -lpn |grep :80
- sudo kill xxxx
- adb kill-server