Repository: tauri
Issue: [bug] error running android dev on windows 10
Labels: type: bug,status: needs triage,platform: Android

### Describe the bug

I followed the https://v2.tauri.app/start/prerequisites/#android this page configuration, 
run the 'npm run tauri android dev' to make mistakes
![Snipaste_2024-11-22_22-02-13](https://github.com/user-attachments/assets/93dbb943-2fed-4337-a187-b113eb02c2d1)


### Reproduction

_No response_

### Expected behavior

 run android emulator

### Full `tauri info` output

```text
[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 130.0.2849.80
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.12.1
    - pnpm: 9.5.0
    - npm: 10.5.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : 2.0.1
    - tauri-plugin-sql 🦀: 2.0.2
    - @tauri-apps/plugin-sql : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
```


### Stack trace

```text
E:\workspace\Tauri\menu> npm run tauri android dev

> menu@0.1.0 tauri 
> tauri android dev

    Info Detected connected device: Pixel_8_API_29 (Android SDK built for x86) with target "i686-linux-android"
    Info Using 192.168.3.82 to access the development server.
    Info Replacing devUrl host with 192.168.3.82. If your frontend is not listening on that address, try configuring your development server to use the `TAURI_DEV_HOST` environment variable or 0.0.0.0 as host.
    Running BeforeDevCommand (`npm run dev`)

> menu@0.1.0 dev
> vite


  VITE v5.4.11  ready in 272 ms

  ➜  Local:   http://localhost:1420/   
  ➜  Network: http://198.18.0.1:1420/  
  ➜  Network: http://192.168.3.82:1420/
warning: `C:\Users\rex19\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
   Compiling menu v0.1.0 (E:\workspace\Tauri\menu\src-tauri)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s
    Info symlinking lib "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" in jniLibs dir "E:\\workspace\\Tauri\\menu\\src-tauri\\gen/android\\app/src/main/jniLibs/x86"
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libandroid.so"
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libdl.so"
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "liblog.so" 
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libm.so"   
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libc.so"   
    Info symlink at "E:\\workspace\\Tauri\\menu\\src-tauri\\gen/android\\app/src/main/jniLibs/x86\\libmenu_lib.so" points to "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so"
<==========---> 84% EXECUTING [1s]
> :app:rustBuildX86Debug
> menu@0.1.0 tauri
> tauri android android-studio-script --target i686

warning: `C:\Users\rex19\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
   Compiling menu v0.1.0 (E:\workspace\Tauri\menu\src-tauri)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.22s
    Info symlinking lib "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" in jniLibs dir "E:\\workspace\\Tauri\\menu\\src-tauri\\gen/android\\app/src/main/jniLibs/x86"
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libandroid.so"
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libdl.so"  
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "liblog.so" 
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libm.so"   
    Info "E:\\workspace\\Tauri\\menu\\src-tauri\\target\\i686-linux-android\\debug\\libmenu_lib.so" requires shared lib "libc.so"   
Performing Streamed Install
Success
Starting: Intent { cmp=com.menu.app/.MainActivity }
--------- beginning of main
11-22 14:01:31.818 12534 12534 I com.menu.app: Late-enabling -Xcheck:jni
11-22 14:01:31.843 12534 12534 E com.menu.app: Unknown bits set in runtime_flags: 0x8000
11-22 14:01:31.844 12534 12534 W com.menu.app: Unexpected CPU variant for X86 using defaults: x86
11-22 14:01:32.129 12534 12595 W libc    : Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
    Info Watching E:\workspace\Tauri\menu\src-tauri for changes...
11-22 14:01:32.377 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
11-22 14:01:32.378 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
11-22 14:01:32.396 12534 12534 I WebViewFactory: Loading com.google.android.webview version 74.0.3729.185 (code 373018518)
11-22 14:01:32.399 12534 12534 I com.menu.app: The ClassLoaderContext is a special shared library.
11-22 14:01:32.400 12534 12534 I com.menu.app: The ClassLoaderContext is a special shared library.
11-22 14:01:32.416 12534 12534 I cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 5702-5703)
11-22 14:01:32.423 12534 12534 I chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0
11-22 14:01:32.423 12534 12613 I RustStdoutStderr: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0
11-22 14:01:32.423 12534 12534 I cr_LibraryLoader: Expected native library version number "74.0.3729.185", actual native library version number "74.0.3729.185"
11-22 14:01:32.427 12534 12620 W cr_ChildProcLH: Create a new ChildConnectionAllocator with package name = com.google.android.webview, sandboxed = true
11-22 14:01:32.428 12534 12620 W com.menu.app: Accessing hidden method Landroid/content/Context;->bindServiceAsUser(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/Handler;Landroid/os/UserHandle;)Z (greylist, reflection, allowed)
11-22 14:01:32.431 12534 12534 I cr_BrowserStartup: Initializing chromium process, singleProcess=false
11-22 14:01:32.497 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;-><init>(Landroid/content/Context;I)V (greylist, reflection, allowed)
11-22 14:01:32.497 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker;->logEvent(Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;)V (greylist, reflection, allowed)     
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionStarted(I)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, reflection, allowed)
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(II)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, 
reflection, allowed)
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, reflection, allowed)
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionModified(IILandroid/view/textclassifier/TextSelection;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, reflection, allowed)
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(III)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, reflection, allowed)
11-22 14:01:32.498 12534 12534 W com.menu.app: Accessing hidden method Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent;->selectionAction(IIILandroid/view/textclassifier/TextClassification;)Landroid/view/textclassifier/logging/SmartSelectionEventTracker$SelectionEvent; (greylist, reflection, allowed)
11-22 14:01:32.532 12534 12593 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
11-22 14:01:32.588 12534 12593 W Gralloc3: mapper 3.x is not supported
11-22 14:01:33.000 12534 12647 W cr_media: Requires BLUETOOTH permission
11-22 14:01:33.019 12534 12593 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.019 12534 12593 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.058 12534 12659 I VideoCapabilities: Unsupported profile 4 for video/mp4v-es
11-22 14:01:33.060 12534 12659 W cr_MediaCodecUtil: HW encoder for video/avc is not available on this device.
11-22 14:01:33.105 12534 12659 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.105 12534 12659 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.128 12534 12659 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.128 12534 12659 E eglCodecCommon: glUtilsParamSize: unknow param 0x000088ef
11-22 14:01:33.150 12534 12534 E Tauri/Console: File: http://tauri.localhost/ - Line 514 - Msg: Uncaught SyntaxError: Unexpected token .
11-22 14:01:33.208 12534 12534 E Tauri/Console: File: http://tauri.localhost/@vite/client - Line 34 - Msg: Uncaught SyntaxError: Unexpected token .
11-22 14:01:33.286 12534 12534 E Tauri/Console: File: http://tauri.localhost/@vite/client - Line 34 - Msg: Uncaught SyntaxError: Unexpected token .
```


### Additional context

_No response_