Android Development on FydeOS
Last Update: 2023-07-18
Introduction
In 2016, Google expanded the Android ecosystem by integrating the Android operating environment into Chrome OS. This move opened the door for desktop Android apps designed for large screens and keyboard and mouse operations. Over the years, Google has made significant enhancements to the Android environment on Chrome OS, encouraging more manufacturers and developers to get involved. In May, Google’s open-source project, Project Crostini, brought a native Linux experience to Chrome OS, enabling daily development and debugging work on Chrome OS.
During the annual Google Developers Conference (Google IO), we witnessed the installation of Chrome on a Google Pixelbook during a presentation on “What’s new in Android apps for Chrome OS”. This Pixelbook supports large Linux apps like Android Studio and allows direct debugging and compiling of Android apps via ADB and the onboard Android environment, marking a significant milestone in the promotion of the Android desktop ecosystem.
FydeOS is a desktop operating system based on Chromium OS. It decouples the originally tightly bound Google services and adds self-developed modules and optimizations, making it more accessible to users in mainland China.
This guide will walk you through enabling the Linux subsystem in FydeOS, installing and running Linux apps, and working with the onboard Android environment to achieve high efficiency on Chrome OS + Pixelbook, as demonstrated at Google IO.
System Requirements
Hardware Prerequisites
Compatibility Notes
Setup Process
Phase 1: Installing FydeOS
- Download FydeOS from the official website
- Flash FydeOS to a portable storage device following the setup guide
- Install FydeOS on your PC
Phase 2: Enabling Android Debug Bridge
- Open “Android” from the application launcher
- Navigate to “System” -> “Developer options”
- Enable the “ADB debugging” option
Phase 3: Setting up Linux Environment
- Open “Settings”
- Locate and click on “Linux” settings
- Click “Turn On” and follow the installation prompts
- Wait for the Terminal app to appear in your launcher
Phase 4: Installing Android Studio
- Download Android Studio for ChromeOS from developer.android.com
- Double-click the downloaded file to begin installation
- Follow the initialization wizard
- Download required SDK and toolsets when prompted
Phase 5: Configuring ADB Connection
- Open a new Terminal window
- Install ADB by running:
Terminal window sudo apt-get install adb - Connect to the Android subsystem:
Terminal window adb connect 100.115.92.2:5555
Network ADB Connection
- Ensure ADB debugging is enabled on your device
- Locate your FydeOS device’s IP address
- Connect using:
adb connect <device-ip>:5555
Support Resources
Need help? Here are some useful resources:
- Check the FydeOS FAQ & Knowledge Base
- Visit the FydeOS Community for technical support