mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
Sky SDK
|
|
=======
|
|
|
|
This document describes an experimental development kit for Sky. We're still
|
|
iterating on Sky heavily, which means the framework and underlying engine are
|
|
both likely to change in incompatible ways several times, but if you're
|
|
interested in trying out the system, this document can help you get started.
|
|
|
|
Set up your device
|
|
------------------
|
|
|
|
Currently Sky requires an Android device running the Lollipop (or newer) version
|
|
of the Android operating system.
|
|
|
|
1. Install ``Sky`` on your device by via the Play Store. The Sky app on your
|
|
device is capable of displaying applications written using Sky.
|
|
|
|
2. Enable developer mode on your device by visiting ``Settings > About phone``
|
|
and tapping the ``Build number`` field five times.
|
|
|
|
3. Enable ``USB debugging`` in ``Settings > Developer options``.
|
|
|
|
Set up your computer
|
|
--------------------
|
|
|
|
1. Install the ``adb`` tool from the Android SDK.
|
|
- Mac: ``brew install android-platform-tools``
|
|
- Linux: ``sudo apt-get install android-tools-adb``
|
|
|
|
2. Download the Sky framework:
|
|
- ``git clone https://github.com/domokit/sky-sdk.git``
|
|
|
|
3. Using a USB cable, plug your phone into your computer. If prompted on your
|
|
device, authorize your computer to access your device.
|
|
|
|
Running a Sky application
|
|
-------------------------
|
|
|
|
1. ``/path/to/sky-sdk/shelldb myapp.sky && adb logcat``
|