[PR #8163] fix: Add Windows support for Android builds and centralize documentation #8307

Open
opened 2026-03-23 23:23:34 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8163
Author: @Akhash16
Created: 8/10/2025
Status: 🔄 Open

Base: mainHead: fix/android-windows-build-docs


📝 Commits (4)

📊 Changes

8 files changed (+366 additions, -30 deletions)

View changed files

📝 README.md (+3 -2)
doc/BUILD_FROM_SOURCE.md (+219 -0)
📝 frontend/appflowy_flutter/.metadata (+7 -7)
📝 frontend/appflowy_flutter/README.md (+5 -1)
📝 frontend/appflowy_flutter/android/README.md (+75 -20)
frontend/appflowy_flutter/android/app/src/main/kotlin/io/appflowy/appflowy/MainActivity.kt (+5 -0)
frontend/appflowy_flutter/android/app/src/main/res/drawable/launch_background.xml (+12 -0)
📝 frontend/scripts/makefile/mobile.toml (+40 -0)

📄 Description

  • Add Windows-compatible build scripts for Android using duckscript
  • Update Android README with Windows-specific NDK configuration
  • Create comprehensive BUILD_FROM_SOURCE.md documentation
  • Update main README and Flutter README to reference centralized docs
  • Split Android build tasks into platform-specific variants

Fixes #5336: Build for Android on Windows + Documentation update

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

Summary by Sourcery

Add Windows support for Android builds, refactor Android build tasks into platform-specific variants, and centralize all build instructions into a comprehensive documentation guide

New Features:

  • Add Windows-specific cargo-make task for building the Android SDK

Enhancements:

  • Split Android build tasks into platform-specific variants for Unix and Windows
  • Add initial Android app entry point (MainActivity.kt) and launch splash screen layout

CI:

  • Add Windows aliases and tasks for Android CI builds

Documentation:

  • Create centralized BUILD_FROM_SOURCE.md guide covering all platforms
  • Update Android README with Windows environment variable and cargo config instructions
  • Reference centralized documentation in main README and Flutter README

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/8163 **Author:** [@Akhash16](https://github.com/Akhash16) **Created:** 8/10/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/android-windows-build-docs` --- ### 📝 Commits (4) - [`4bca4e5`](https://github.com/AppFlowy-IO/AppFlowy/commit/4bca4e5b23197bdbaecc1b559472159912430610) fix: Add Windows support for Android builds and centralize documentation - [`c3c8390`](https://github.com/AppFlowy-IO/AppFlowy/commit/c3c839098a6cba8c8ccd7d7e422c721d21f0674e) fix: Address code review feedback - [`0db720b`](https://github.com/AppFlowy-IO/AppFlowy/commit/0db720bdd8256150c34ce53f505f73a16542245e) Merge branch 'fix/android-windows-build-docs' of https://github.com/Akhash16/AppFlowy into fix/android-windows-build-docs - [`03c5c5e`](https://github.com/AppFlowy-IO/AppFlowy/commit/03c5c5e0d155cb7feafdefa21c851fab071d89cd) Update frontend/appflowy_flutter/README.md ### 📊 Changes **8 files changed** (+366 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -2) ➕ `doc/BUILD_FROM_SOURCE.md` (+219 -0) 📝 `frontend/appflowy_flutter/.metadata` (+7 -7) 📝 `frontend/appflowy_flutter/README.md` (+5 -1) 📝 `frontend/appflowy_flutter/android/README.md` (+75 -20) ➕ `frontend/appflowy_flutter/android/app/src/main/kotlin/io/appflowy/appflowy/MainActivity.kt` (+5 -0) ➕ `frontend/appflowy_flutter/android/app/src/main/res/drawable/launch_background.xml` (+12 -0) 📝 `frontend/scripts/makefile/mobile.toml` (+40 -0) </details> ### 📄 Description - Add Windows-compatible build scripts for Android using duckscript - Update Android README with Windows-specific NDK configuration - Create comprehensive BUILD_FROM_SOURCE.md documentation - Update main README and Flutter README to reference centralized docs - Split Android build tasks into platform-specific variants Fixes #5336: Build for Android on Windows + Documentation update <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. ## Summary by Sourcery Add Windows support for Android builds, refactor Android build tasks into platform-specific variants, and centralize all build instructions into a comprehensive documentation guide New Features: - Add Windows-specific cargo-make task for building the Android SDK Enhancements: - Split Android build tasks into platform-specific variants for Unix and Windows - Add initial Android app entry point (MainActivity.kt) and launch splash screen layout CI: - Add Windows aliases and tasks for Android CI builds Documentation: - Create centralized BUILD_FROM_SOURCE.md guide covering all platforms - Update Android README with Windows environment variable and cargo config instructions - Reference centralized documentation in main README and Flutter README --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#8307
No description provided.