
The search phrase Git clone https github com wgh136 PicaComic is really a command written out in words: git clone https://github.com/wgh136/PicaComic. People type it when they want to build the Pica Comic app themselves instead of downloading a prebuilt package. Maybe they need a build for an unusual device, want to read the code before trusting it, or simply enjoy compiling their own tools.
This guide takes you from an empty machine to a working build. It covers installing Git and Flutter, cloning the repository correctly, resolving dependencies, building for Android and desktop, and fixing the errors that most often appear along the way.
What You Are Building
PicaComic is a comic reader written in Dart using Google's Flutter framework. It began as a reader for PicACG and grew into a multi-source app: it shipped with several built-in sources, including PicACG and the JM catalogue often called Jcomic, and from version 3.0.0 it allowed custom sources to be added inside the app.
Two facts shape the build process:
- It is a Flutter project. Building it means installing the Flutter SDK and using Flutter's command-line tool. There is no separate build system to learn.
- The repository is archived. The author archived it in late 2024 and pointed users to Venera, the successor. Archived code does not change, so a build that works today will keep working with the same toolchain.
That second point has a practical side. Flutter evolves quickly, and the newest SDK release may not compile an archived project without warnings or errors. The project's README badge references the Flutter version it was built against, and matching it closely produces the smoothest build.
Prerequisites
| Tool | Purpose | Notes |
|---|---|---|
| Git | Cloning the source | Any recent version |
| Flutter SDK | Compiling the app | Ideally a version near the one the project targeted |
| Android Studio or command-line tools | Android SDK, build tools, emulator | Needed for APK builds |
| Visual Studio with C++ workload | Windows desktop builds | Only for Windows targets |
| Xcode | iOS and macOS builds | macOS only |
| 15 GB free disk space | SDKs, caches and build output | Builds are larger than you expect |
A machine with 8 GB of memory is the practical minimum for comfortable Flutter builds; 16 GB makes Gradle and the Dart analyser noticeably faster.
Step 1: Install Git
Windows: install Git for Windows and accept the default option that adds Git to your PATH.
macOS: run git --version in Terminal. If Git is missing, macOS offers to install the command-line developer tools automatically.
Linux: use your distribution's package manager, for example sudo apt install git on Debian or Ubuntu, or sudo pacman -S git on Arch.
Confirm the installation:
git --version
Step 2: Clone the Repository
Choose a working folder without spaces or non-English characters in its path; Gradle and some native toolchains still stumble over unusual paths. Then run the command the search phrase describes:
git clone https://github.com/wgh136/PicaComic
cd PicaComic
Git downloads the entire project history. If your connection is slow and you only need the latest code, a shallow clone is much faster:
git clone --depth 1 https://github.com/wgh136/PicaComic
When cloning fails
- Connection reset or timeout: large clones over unstable networks can drop. Retry with
--depth 1, or configure Git to use your proxy withgit config --global http.proxy http://127.0.0.1:PORT. - SSL certificate problems: usually caused by a corporate proxy intercepting traffic. Fix the certificate chain rather than disabling verification.
- Filename too long on Windows: enable long paths with
git config --global core.longpaths true.
Step 3: Install Flutter
Download the Flutter SDK for your operating system from the official Flutter site and extract it to a stable location such as C:\src\flutter on Windows or ~/development/flutter on macOS and Linux. Add its bin folder to your PATH.
Because PicaComic is archived, you may want a Flutter version close to the one it was built with. The cleanest approach is to switch the SDK to a specific release:
cd path/to/flutter
git fetch --tags
git checkout 3.24.1
flutter --version
Version managers such as FVM make this easier if you work on several Flutter projects with different requirements.
Run flutter doctor
flutter doctor
The doctor command checks every part of the toolchain and prints a checklist. Fix anything marked with a cross for the platforms you intend to build. Accept Android licences when prompted:
flutter doctor --android-licenses
Step 4: Fetch Dependencies
Inside the cloned PicaComic folder:
flutter pub get
This reads pubspec.yaml and downloads every Dart package the app depends on. If you see version-solving errors, the cause is almost always a Flutter SDK that is too new or too old for the project. Switch SDK version rather than editing dependency constraints by hand.
Step 5: Build for Android
Connect an Android phone with USB debugging enabled, or start an emulator, and confirm Flutter can see it:
flutter devices
For a quick test run:
flutter run
For installable release APKs, split by processor architecture to keep file sizes small:
flutter build apk --release --split-per-abi
The finished files appear in build/app/outputs/flutter-apk/. You will typically see separate APKs for arm64-v8a, armeabi-v7a and x86_64. Copy the arm64-v8a file to a modern phone and install it.
About signing
Release builds need a signing key. If the project's Gradle configuration references a keystore that you do not have, the build will fail at the signing step. You have two options:
- Create your own keystore with
keytooland point the Android signing configuration at it. - For personal testing only, temporarily sign release builds with the debug key.
Remember that an APK signed with your key cannot update an install signed with a different key. Uninstall any other build of the app before installing your own.
Step 6: Build for Desktop
Flutter desktop targets are enabled per platform:
flutter config --enable-windows-desktop
flutter build windows --release
On macOS use flutter build macos, and on Linux use flutter build linux after installing the GTK development packages your distribution requires. The output sits under build/<platform>/ and includes the executable plus its supporting libraries; keep the whole folder together when moving it.
Note that the PicACG desktop experience is also available through the separate picacg-qt client, which is written in Python and does not need Flutter at all. Many people build PicaComic for Android and use picacg-qt on their computers.
Common Build Errors and Fixes
| Error message contains | Meaning | Fix |
|---|---|---|
| version solving failed | SDK and dependency constraints disagree | Use a Flutter version near the project's target |
| Gradle task assembleRelease failed | Usually Java or Gradle version mismatch | Use the JDK version bundled with Android Studio |
| Minimum supported Gradle version | Wrapper is older than the Android plugin expects | Match versions as the error suggests, or use the matching Flutter release |
| Keystore file not found | Signing config references a missing key | Create your own keystore or sign with debug for testing |
| CMake or Visual Studio not found | Windows desktop toolchain missing | Install Visual Studio with "Desktop development with C++" |
| No connected devices | Phone not authorised for debugging | Accept the USB debugging prompt on the phone |
The Java version trap
Gradle is particular about the Java version. If you have several JDKs installed, Flutter may pick the wrong one. Point Flutter at Android Studio's bundled JDK:
flutter config --jdk-dir "<path to Android Studio>/jbr"
Clearing stale build state
When nothing makes sense, start clean:
flutter clean
flutter pub get
flutter build apk --release --split-per-abi
Keeping Your Clone Up to Date
An archived repository receives no new commits, so git pull will report that everything is up to date. If you want ongoing development, clone the successor project instead and follow the same steps; it is also a Flutter application, so your installed toolchain carries over.
For your own experiments, create a branch before changing anything:
git checkout -b my-tweaks
That keeps the original code untouched on the main branch and lets you compare or undo changes easily.
Reading the Code With Purpose
Building from source is a chance to understand how a comic client works. A few places are especially instructive:
- Source definitions show how each comic service is requested, parsed and paginated.
- Image handling shows how pages are cached and, for the JM catalogue, how scrambled pages are reassembled. That restructuring approach credits tonquer's JMComic-qt project.
- Reader widgets reveal how paging, scrolling and zoom gestures are implemented in Flutter.
- Download management illustrates queueing, resuming and storing chapters on disk.
You do not need to master Dart to follow the overall structure, and reading it is the best way to confirm that the app does nothing unexpected with your account.
Responsible Use of Your Build
A build you compile yourself is only as good as the habits around it.
- Keep your build personal. Redistributing modified builds under the original name confuses users and can violate licence terms.
- Do not hard-code your account credentials into the source for convenience.
- Respect the content's owners. The client is a reader; the comics remain the property of their creators.
- Keep your toolchain updated for security fixes even if the app itself is frozen.
Building on Each Operating System
The core commands are identical everywhere, but each host system has its own small quirks worth knowing before you start.
Windows hosts
Install Android Studio first, open it once so it downloads the Android SDK, then run flutter doctor. Use Windows Terminal rather than the legacy console, because Gradle output is long and a modern terminal handles it better. Keep the project on a local NTFS drive; building from a network share is painfully slow. If Windows Defender scans every file Gradle writes, the first build can take several extra minutes. Excluding only the project's build directory from real-time scanning speeds things up without exposing anything important.
macOS hosts
On a Mac you can build Android, macOS and iOS targets from the same clone. Install Xcode from the App Store, accept its licence with sudo xcodebuild -license, and install CocoaPods, which Flutter uses for iOS and macOS dependencies. Apple silicon Macs build Android APKs without issues, though the Android emulator should use an arm64 system image for good performance.
Linux hosts
Linux is the lightest environment for Flutter. Install the Android command-line tools or Android Studio, plus clang, cmake, ninja-build, pkg-config and the GTK 3 development package if you also want the Linux desktop target. Make sure your user belongs to the group that allows USB device access, otherwise adb will not detect your phone.
Understanding the Build Output
Knowing what the build produces helps you choose the right file.
| File | Where it appears | Use it for |
|---|---|---|
| app-arm64-v8a-release.apk | build/app/outputs/flutter-apk | Modern 64-bit Android phones |
| app-armeabi-v7a-release.apk | same folder | Older 32-bit Android devices |
| app-x86_64-release.apk | same folder | Emulators and x86 tablets |
| app-release.apk | same folder, without split-per-abi | A single larger universal APK |
| Release folder | build/windows/x64/runner/Release | Windows desktop, keep all files together |
Release builds are optimised and much smaller and faster than debug builds. Always share or install release builds for daily use, and keep debug builds for testing changes on a connected device with hot reload.
Testing Your Build Before Daily Use
Before replacing an app you depend on, spend a few minutes confirming your build behaves correctly. Sign in to PicACG and confirm the home feed loads. Open a comic, read a chapter in each reading mode and download a short chapter for offline use. Toggle airplane mode and open the downloaded chapter. Check the settings screen for network line options and confirm they respond. If everything passes, your build is ready to become your everyday reader.
Summary
Cloning PicaComic is one command; building it well takes a little care. Install Git and a matching Flutter SDK, clone with git clone https://github.com/wgh136/PicaComic, run flutter pub get, then build for Android with flutter build apk --release --split-per-abi or for desktop with the platform-specific command. When errors appear, they almost always trace back to version mismatches, signing configuration or a missing platform toolchain, all of which are straightforward to correct.
Frequently Asked Questions
Is it legal to build PicaComic myself?
The source code was published under the MIT licence, which permits building and running it. Your use of any comic platform remains subject to that platform's own terms.
Why does the newest Flutter version fail to build it?
The project is archived and was written for an older Flutter release. Newer SDKs sometimes remove or change APIs. Using a Flutter version near the one listed in the README avoids this.
Can I build an iPhone version on Windows?
No. iOS builds require Xcode, which only runs on macOS.
Where is the finished APK saved?
In build/app/outputs/flutter-apk/ inside the project folder, with one file per processor architecture when you use split-per-abi.
Should I build PicaComic or Venera?
If you want ongoing updates, Venera is the actively developed successor. If you specifically want the classic PicaComic experience, build the archived repository with a matching toolchain.


