-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
status: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
cargo, rust,npm,tauri-cli are all latest.
use npx tauri android build to build.
the wrong message is below:
w: d:\pf\rust.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\tauri-2.0.0-alpha.9\mobile\android\src\m
ain\java\app\tauri\PermissionHelper.kt: (113, 30): Unchecked cast: Array to Array<String?>
w: d:\pf\rust.cargo\registry\src\mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd\tauri-2.0.0-alpha.9\mobile\android\src\m
ain\java\app\tauri\plugin\PluginMethodData.kt: (11, 23): Parameter 'methodDecorator' is never used
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:rustBuildArm64Release'.
A problem occurred starting process 'command 'npx-cli.cmd''
Reproduction
No response
Expected behavior
No response
Platform and versions
Microsoft Windows [版本 10.0.19045.3086]
(c) Microsoft Corporation。保留所有权利。
D:\workspace\tauri-apps\na>npx tauri info
[✔] Environment
- OS: Windows 10.0.19045 X64
✔ WebView2: 114.0.1823.43
✔ MSVC: Visual Studio Community 2022
✔ rustc: 1.72.0-nightly (7820972f8 2023-06-10)
✔ Cargo: 1.72.0-nightly (49b6d9e17 2023-06-09)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (default)
- node: 20.0.0
- pnpm: 8.6.2
- yarn: 1.22.19
- npm: 9.7.1
[-] Packages
- tauri [RUST]: 2.0.0-alpha.9
- tauri-build [RUST]: 2.0.0-alpha.5
- wry [RUST]: 0.28.3
- tao [RUST]: 0.19.1
- @tauri-apps/api [NPM]: 2.0.0-alpha.4
- @tauri-apps/cli [NPM]: 2.0.0-alpha.9
[-] App
- build-type: bundle
- CSP: unset
- distDir: ./dist
- devPath: ./dist
Stack trace
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug