A cross-platform GUI application for Android Debug Bridge (ADB) built with Go and Fyne.
- Go: Version 1.16 or later.
- C Compiler: Fyne requires a C compiler for building.
- Windows: MSYS2 with MinGW 64-bit is required. Follow the setup guide on the Fyne website.
- macOS: Xcode Command Line Tools.
- Linux: GCC or Clang. For creating
.debor.rpmpackages, you will also need the appropriate packaging tools (dpkg-deb,rpmbuild).
- Android Tools: ADB and Fastboot must be installed and available in your system's PATH.
-
Clone the repository:
git clone https://github.com/lx19990999/adb-gui.git cd adb-gui -
Install the Fyne CLI Tool:
go install fyne.io/tools/cmd/fyne@latest
-
Download Dependencies:
go mod tidy
To run the application for development, use the go run command.
go run .Linux Note: If you experience rendering issues, you may need to enable software rendering:
LIBGL_ALWAYS_SOFTWARE=1 go run .To create a distributable application, use the fyne release command.
- For your current OS (default format):
fyne release
-
To create a Windows executable (.exe):
fyne release -os windows
-
To create a Windows installer (.msi):
fyne release -os windows -package msi
-
To create a macOS application bundle (.app):
fyne release -os darwin
-
To create a macOS installer (.dmg):
fyne release -os darwin -package dmg
-
To create a Linux executable:
fyne release -os linux
-
To create a
.debpackage:fyne release -os linux -package deb
-
To create a
.rpmpackage:fyne release -os linux -package rpm
-
To create an AppImage:
fyne release -os linux -package appimage
-
Specify application icon:
fyne release -icon Icon.png
-
Set application ID:
fyne release -id io.github.lx19990999.adb-gui
-
Create release with version:
fyne release -version 1.0.0
For platform-specific builds, you can also use Go's build tags:
# Windows
GOOS=windows GOARCH=amd64 go build -o adb-gui.exe .
# macOS
GOOS=darwin GOARCH=amd64 go build -o adb-gui .
# Linux
GOOS=linux GOARCH=amd64 go build -o adb-gui .