-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
I got the following error when I initialized a mobile app using yarn create tauri-app --alpha
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 24961
--- adb starting (pid 24961) ---
adb I 04-08 14:46:38 24961 24961 main.cpp:63] Android Debug Bridge version 1.0.41
adb I 04-08 14:46:38 24961 24961 main.cpp:63] Version 34.0.1-9680074
adb I 04-08 14:46:38 24961 24961 main.cpp:63] Installed as /home/flysoft/Android/Sdk/platform-tools/adb
adb I 04-08 14:46:38 24961 24961 main.cpp:63]
adb F 04-08 14:46:38 24961 24961 main.cpp:165] could not install *smartsocket* listener: Address already in use
* failed to start daemon
adb: cannot connect to daemon
Error Failed to install APK: Command "/home/flysoft/Android/Sdk/platform-tools/adb -s emulator-5554 install /home/flysoft/Desktop/stock/src-tauri/gen/android/stock/app/build/outputs/apk/x86_64/debug/app-x86_64-debug.apk" didn't complete successfully, exiting with code 1.
Reproduction
yarn create tauri-app --alpha
cd my-app
yarn
yarn tauri android init
yarn tauri android dev
Expected behavior
No response
Platform and versions
[✔] Environment
- OS: Ubuntu 22.04 X64
✔ webkit2gtk-4.1: 2.38.5
✔ rsvg2: 2.52.5
✔ rustc: 1.68.1 (8460ca823 2023-03-20)
✔ Cargo: 1.68.1 (115f34552 2023-02-26)
✔ rustup: 1.25.2 (17db695f1 2023-02-01)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
- node: 18.15.0
- pnpm: 8.1.1
- yarn: 3.5.0
- npm: 9.5.0
[-] Packages
- tauri [RUST]: 2.0.0-alpha.6
- tauri-build [RUST]: 2.0.0-alpha.3
- wry [RUST]: 0.27.2
- tao [RUST]: 0.18.3
- @tauri-apps/api [NPM]: 2.0.0-alpha.2
- @tauri-apps/cli [NPM]: 2.0.0-alpha.6
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- bundler: Vite
Stack trace
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform: Androidstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug