Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(971)

Side by Side Diff: sky/SDK.md

Issue 990493002: Make package: work like Dart expects in preparation for a Sky SDK (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Works Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Sky SDK 1 Sky SDK
2 ======= 2 =======
3 3
4 This document describes an experimental development kit for Sky. We're still 4 This document describes an experimental development kit for Sky. We're still
5 iterating on Sky heavily, which means the framework and underlying engine are 5 iterating on Sky heavily, which means the framework and underlying engine are
6 both likely to change in incompatible ways several times, but if you're 6 both likely to change in incompatible ways several times, but if you're
7 interested in trying out the system, this document can help you get started. 7 interested in trying out the system, this document can help you get started.
8 8
9 Set up your computer
10 --------------------
11
12 1. Install the Dart SDK:
13 - https://www.dartlang.org/tools/download.html
14
15 2. Install the ``adb`` tool from the Android SDK:
16 - https://developer.android.com/sdk/installing/index.html
17
18 3. Install the Sky SDK:
19 - ``git clone https://github.com/domokit/sky_sdk.git``
20
21 4. Ensure sure $DART_SDK is set to the path of your Dart SDK and 'adb'
22 (inside 'platform-tools' in the android sdk) is in your $PATH.
23
24
9 Set up your device 25 Set up your device
10 ------------------ 26 ------------------
11 27
12 Currently Sky requires an Android device running the Lollipop (or newer) version 28 Currently Sky requires an Android device running the Lollipop (or newer) version
13 of the Android operating system. 29 of the Android operating system.
14 30
15 1. Install ``Sky`` on your device by via the Play Store. The Sky app on your 31 1. Enable developer mode on your device by visiting ``Settings > About phone``
16 device is capable of displaying applications written using Sky.
17
18 2. Enable developer mode on your device by visiting ``Settings > About phone``
19 and tapping the ``Build number`` field five times. 32 and tapping the ``Build number`` field five times.
20 33
21 3. Enable ``USB debugging`` in ``Settings > Developer options``. 34 2. Enable ``USB debugging`` in ``Settings > Developer options``.
22
23 Set up your computer
24 --------------------
25
26 1. Install the ``adb`` tool from the Android SDK.
27 - Mac: ``brew install android-platform-tools``
28 - Linux: ``sudo apt-get install android-tools-adb``
29
30 2. Download the Sky framework:
31 - ``git clone https://github.com/domokit/sky-sdk.git``
32 35
33 3. Using a USB cable, plug your phone into your computer. If prompted on your 36 3. Using a USB cable, plug your phone into your computer. If prompted on your
34 device, authorize your computer to access your device. 37 device, authorize your computer to access your device.
35 38
39
36 Running a Sky application 40 Running a Sky application
37 ------------------------- 41 -------------------------
38 42
39 1. ``/path/to/sky-sdk/shelldb myapp.sky && adb logcat`` 43 1. ``sky_sdk/bin/sky --install sky_sdk/examples/index.sky``
44 The --install flag is only necessary the first time to install SkyDemo.apk.
45
46 2. Use ``adb logcat`` to view any errors or Dart print() output from the app.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698