Skip to content

Latest commit

 

History

History
74 lines (53 loc) · 3.01 KB

windows-install.md

File metadata and controls

74 lines (53 loc) · 3.01 KB

Install for Windows

System requirements

  • Operating system: Windows 7 SP1 or later (64-bit)
  • Tools:
    • Python 3 (3.6 or later)
      • If you're on Windows 10, you can run python3 in a console window to get Python from Microsoft Store.
    • Tizen Studio (4.0 or later)
    • .NET SDK (3.0 or later)
    • Git for Windows 2.x (enable the Use Git from the Windows Command Prompt option)

Installing flutter-tizen

  1. Clone this repository to your local hard drive.

    git clone https://github.com/flutter-tizen/flutter-tizen.git
  2. Add flutter-tizen\bin to your PATH.

    • From the Start search bar, enter "env" and select Edit environment variables for your account.
    • Under User variables check if there is an entry called Path:
      • If the entry exists, click Edit... and add a new entry with the full path to flutter-tizen\bin.
      • If the entry doesn't exist, create a new user variable named Path with the full path to flutter-tizen\bin as its value.

    You have to close and reopen any existing console windows for this change to take effect.

  3. Verify that the fluter-tizen command is available by running:

    where.exe flutter-tizen

Running flutter-tizen on WSL (Windows Subsystem for Linux)

If you experience any performance issue, you can alternatively run flutter-tizen on Windows Subsystem for Linux.

  1. (Windows) Install Tizen Studio using the GUI installer. If you plan to test Flutter apps on Tizen emulators, also install emulator packages using Package Manager.

  2. (Linux) Install Tizen Studio using the CLI installer. For example:

    # Install dependencies.
    sudo apt update
    sudo apt install wget pciutils zip libncurses5 python libpython2.7
    
    # Download and install Tizen Studio.
    wget http://download.tizen.org/sdk/Installer/tizen-studio_4.0/web-cli_Tizen_Studio_4.0_ubuntu-64.bin
    chmod a+x web-cli_Tizen_Studio_4.0_ubuntu-64.bin
    ./web-cli_Tizen_Studio_4.0_ubuntu-64.bin --accept-license
    
    # Install required packages using package-manager-cli.
    ~/tizen-studio/package-manager/package-manager-cli.bin install \
      NativeCLI NativeToolchain-Gcc-9.2 Certificate-Manager \
      WEARABLE-4.0-NativeAppDevelopment-CLI WEARABLE-5.5-NativeAppDevelopment-CLI
  3. (Linux) Install flutter-tizen and add to your PATH.

  4. (Windows) Restart the sdb server by running sdb kill-server and sdb start-server.

  5. (Linux) Run the doctor command.

    $ flutter-tizen doctor
    [✓] Flutter (Channel unknown, 1.22.0-12.1.pre, on Linux, locale C.UTF-8)
    [✗] Android toolchain - develop for Android devices
        ✗ Unable to locate Android SDK.
    [✓] Tizen toolchain - develop for Tizen devices
    [!] Android Studio (not installed)
    [✓] Connected device (2 available)