Skip to content

Instantly share code, notes, and snippets.

@takanakahiko
Last active November 22, 2017 07:54
Show Gist options
  • Save takanakahiko/fb3a604190d3c6980d64b83a615bddda to your computer and use it in GitHub Desktop.
Save takanakahiko/fb3a604190d3c6980d64b83a615bddda to your computer and use it in GitHub Desktop.

jsWaffleのサンプル動作確認手順

前提

  • AndroilStudioがインストールされているものとする
  • AndroidStudioの初期設定(proxy等)は完了しているものとする

実際の手順

ライブラリをダウンロードし,解凍する

以下URLからダウンロードして,適当な場所で解凍してください.

https://github.com/kujirahand/jswaffle/archive/master.zip

ライブラリのZipフォルダ内のProjectTemprate5を,任意の作業用フォルダにコピーする

image

コピーされたProjectTemprate5をAndroidStudioから読み込む([File]->[Open...])

例:ZドライブのAndroidフォルダ内にコピーした場合

image

プロジェクトの読み込みを暫く待つ(こちらのPCでは3分程度)

以下のようなプログレスバーがなくなるまで待機します

image

下記画像のようなメッセージが,下側のコンソールに表示された場合はリンクからBuildツールをインストール

image

下記を参考にエミュレータの設定をする

https://qiita.com/takanakahiko/private/04c34c1f2d82096c1074

(デフォルトで作られるエミュレータであるNexus 5X API 24で動作確認)

完了後に実行

三角ボタンを押して実行します

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment