Memo : Flutter x Dart [2015-2016]
  • Introduction
  • hello
    • helloworld
    • build flutter
    • build as standalone android app(old)
      • draw text
      • draw image
      • set icon
    • build as standalone apk(now)
    • build as ios app
    • build as linux app
    • build as mac app
    • build mojo
    • build as chromeapp
  • rendering
    • draw_rect
    • anime_rect
    • anime_rect(use animation.dart)
    • draw_image
    • rotate_image
    • draw_image_from_assets
    • sound_test(rendering & service)
    • touch_test
    • multitouch_test
    • [@]demo::mini game(spacewar!)
    • draw_text
    • draw_path
    • draw_vertexs
    • draw_vertexs_with_image
    • [@]demo:3d anime
    • input text from ime(RenderObject)
  • widget
    • text
    • network image
    • assets image
    • raw image
    • container
    • row
    • col
    • flexible
    • navigator
    • stateful component
    • scaffold
    • scaffold x drawer
    • scrollable viewport
    • scrollable list
    • input text from ime(EditableText)
  • dart:io
    • HttpClient Post & Get
    • NetworkInterface
    • TCP Socket
    • UDP Socket
    • File Path(dart:io & service)
    • File Create & Permission
  • dart:ui
    • draw rect
    • pointer event
  • mojo for flutter
    • get and post request
    • sensor test
    • [@]demo:gravity sensor
  • 2d physics for scratch
    • collision without rotation
    • [@]democollision without friction
    • [b]
  • 2d physics for newton
  • mojo for native
    • build mojo
  • 48 hour trial
    • create iron heart
    • tiny tetris
Powered by GitBook
On this page
  • Environment
  • [1] Install Curl and git
  • [2] Install depot_tools
  • [2-1] clone depot_tools form git repository
  • [2-2] set path
  • [3] Checkout code
  • [3-1]
  • [4] Build and Run mojo on Linux
  • [5] Build and Run mojo on Android
  • [5-1] install jdk
  • [5-2] build android env
  • [5-3] run sample app
  • [Memo]
  • kill a process that use a particula port
  • kill adb server

Was this helpful?

  1. mojo for native

build mojo

Previousmojo for nativeNext48 hour trial

Last updated 5 years ago

Was this helpful?

Mojo application is exeutable multiplatform Linux and android ..etc.

This is memo when I tried to install into ubuntu on vmware fusion.

Environment

  • ubuntu-ja-14.04-desktop-amd64.iso(ISOイメージ) (md5sum: f5edb84f00b9fcd1d059f04901eea7c5)

  • date

    • 2015/10/16

  • vmware setting

    • maybe, need storage 40GB

    • assign 2core and 4GB MEMORY

[1] Install Curl and git

[1-1]

  • sudo apt-get install git

  • sudo apt-get install curl

  • sudo apt-get install emacs

[2] Install depot_tools

[2-1] clone depot_tools form git repository

[2-2] set path

  • export PATH=`pwd`/depot_tools:"$PATH"

[3] Checkout code

[3-1]

  • fetch mojo --target_os=android

  • cd src

  • ./build/install-build-deps.sh

  • mojo/tools/mojob.py gn

[4] Build and Run mojo on Linux

  • ninja -C out/Debug -j 10

  • out/Debug/mojo_shell mojo:spinning_cube

[5] Build and Run mojo on Android

[5-1] install jdk

  • sudo add-apt-repository ppa:webupd8team/java

  • sudo apt-get update

  • sudo apt-get install oracle-java8-installer

[5-2] build android env

  • mojo/tools/mojob.py gn --android

  • mojo/tools/mojob.py build --android

[5-3] run sample app

  • source build/android/envsetup.sh

  • export PATH="$PATH":$MOJO_DIR/src/third_party/android_tools/sdk/platform-tools

[Memo]

kill a process that use a particula port

  • sudo netstat -lpn |grep :80

  • sudo kill xxxx

kill adb server

  • adb kill-server

git clone

mojo/devtools/common/mojo_run --android

https://github.com/domokit/mojo
https://www.ubuntulinux.jp/download/ja-remix
http://www.chromium.org/developers/how-tos/install-depot-tools
https://chromium.googlesource.com/chromium/tools/depot_tools.git
http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/
https://core.mojoapps.io/spinning_cube.mojo