mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 21:00:19 +00:00
[GH-ISSUE #6959] [Bug] building on windows succeed,but i cant build android #3081
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3081
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Stiuk on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6959
Bug Description
I followed the steps to debug Windows successfully,but i buildwith AF-Android:Clean + ReBuild All failed,The log is as follows.
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Terminal will be reused by tasks, press any key to close it.
Executing task: cargo make --profile development-android appflowy-core-dev-android
[cargo-make] INFO - cargo make 0.37.23
[cargo-make] INFO -
[cargo-make] INFO - Project: dart-ffi
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: appflowy-core-dev-android
[cargo-make] INFO - Profile: development-android
[cargo-make] INFO - Execute Command: "cargo" "make" "--disable-check-for-updates" "--no-on-error" "--loglevel=info" "--profile=development-android" "--makefile" "E:\VSCODE\appflowy\frontend\Makefile.toml" "appflowy-core-dev-android"
[cargo-make][1] INFO -
[cargo-make][1] INFO - Project: dart-ffi
[cargo-make][1] INFO - Build File: E:\VSCODE\appflowy\frontend\Makefile.toml
[cargo-make][1] INFO - Task: appflowy-core-dev-android
[cargo-make][1] INFO - Profile: development-android
[cargo-make][1] INFO - Running Task: echo_env
"-------- Env Parameters --------"
CRATE_TYPE: cdylib
BUILD_FLAG: debug
TARGET_OS: android
RUST_COMPILE_TARGET:
FEATURES: dart,openssl_vendored
PRODUCT_EXT: apk
APP_ENVIRONMENT: local
BUILD_ARCHS:
BUILD_VERSION:
[cargo-make][1] INFO - Running Task: install_flutter_protobuf
[cargo-make][1] INFO - Skipping Task: env_check
[cargo-make][1] INFO - Running Task: set-app-version
APP_VERSION: 0.7.6
[cargo-make][1] INFO - Running Task: setup-crate-type
[cargo-make][1] INFO - Running Task: set-app-version
APP_VERSION: 0.7.6
[cargo-make][1] INFO - Running Task: sdk-build-android
系统找不到指定的路径。
'_FLAG" = "debug" ]; then' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'煔€' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'ndk' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
'cho' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
error: Failed to load Cargo.toml in current directory.
error:
cargo metadataexited with an error: error: could not findCargo.tomlinE:\VSCODE\appflowy\frontendor any parent directory'fi' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
[cargo-make][1] INFO - Running Task: post-mobile-android
🚀 🚀 🚀 AppFlowy-Core for Android platform build success
💻 💻 💻 Copying E:\VSCODE\appflowy\frontend/rust-lib/jniLibs/ to E:\VSCODE\appflowy\frontend/appflowy_flutter/android/app/src/main/
[cargo-make][1] ERROR - Error while running duckscript: Source: Unknown Line: 9 - Path does not exist.
[cargo-make][1] WARN - Build Failed.
[cargo-make] INFO - Running Task: restore-crate-type
[cargo-make] ERROR - Task error detected, exit code: 1
[cargo-make] WARN - Build Failed.
How to Reproduce
run task AF-Android:Clean + ReBuild All
Expected Behavior
build success
Operating System
windows 11
AppFlowy Version(s)
0.7.6
Screenshots
Additional Context
i checked the environments and its all good,and windows all right too
@LucasXu0 commented on GitHub (Dec 11, 2024):
Hi @Stiuk, could you share your NDK version? Also, have you installed cargo-ndk?
@Stiuk commented on GitHub (Dec 11, 2024):
Do I need to update?
@annieappflowy commented on GitHub (Jan 3, 2025):
@LucasXu0 , status?