Repository: tauri
Issue: [bug] default app not working on samsung galaxy A13 (armv7-linux-androideabi)
Labels: type: bug,status: needs triage,platform: Android

### Describe the bug

I cant run the default app on a device with armv7-linux-androideabi (samsung galaxy A13). I am not sure the arch/device has anything to do, since someone in the discord, with a samsung galaxy s23, has the same problem

The splash screen appears, but then a blank screens stays for a long time.
After some time, the screen changes color slightly, and displays the text
```
error sending request for url
(http://192.168.1.19:1420)
```

The log contains a few errors, but I am unsure which are relevant and which arent. I attach the entire logs, grepping for the app name:
[android_logs.txt](https://github.com/user-attachments/files/18054637/android_logs.txt)


### Reproduction

Running the default app, with svelte, and npm as the package manager:

```
npm install
npm run tauri android init
npm run tauri android dev
```

On a samsung galaxy (A13 armv7-linux-androideabi)

### Expected behavior

_No response_

### Full `tauri info` output

```text
> tauri-test@0.1.0 tauri
> tauri info


[✔] Environment
    - OS: Ubuntu 22.4.0 x86_64 (X64)
    ✔ webkit2gtk-4.1: 2.46.3
    ✔ rsvg2: 2.52.5
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 20.11.1
    - npm: 10.2.4

[-] 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

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://0.0.0.0:1420/
    - framework: Svelte
    - bundler: Vite
```


### Stack trace

```text
[android_logs.txt](https://github.com/user-attachments/files/18054628/android_logs.txt)

12-08 19:07:45.426  1018  2517 E BufferQueueDebug: [ActivityRecord{70f787a u0 com.tauri_test.app/.MainActivity t16871}#355292](this:0xe56b78b8,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'ActivityRecord{70f787a u0 com.tauri_test.app/.MainActivity t16871}#355292'
...
12-08 19:07:45.445  1018  2517 E BufferQueueDebug: [f36bc3d Splash Screen com.tauri_test.app#355293](this:0xe56a90b8,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'f36bc3d Splash Screen com.tauri_test.app#355293'
...
12-08 19:07:45.502  1018  2517 E BufferQueueDebug: [157ba3b ActivityRecordInputSink com.tauri_test.app/.MainActivity#355298](this:0xe55d68b8,id:-1,api:0,p:-1,c:-1) id info cannot be read from '157ba3b ActivityRecordInputSink com.tauri_test.app/.MainActivity#355298'
...
12-08 19:07:47.436  1018  2517 E BufferQueueDebug: [Surface(name=7fe74c8 com.tauri_test.app/com.tauri_test.app.MainActivity)/@0x70f07c3 - animation-leash of starting_reveal#355303](this:0xe543e0b8,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'Surface(name=7fe74c8 com.tauri_test.app/com.tauri_test.app.MainActivity)/@0x70f07c3 - animation-leash of starting_reveal#355303'
...
12-08 19:08:12.185  3073 26919 E pageboostd: alp start : app comtauri_testapp
12-08 19:08:12.200  3073 26919 E pageboostd: comtauri_testapp, amt 0 scnt 0 fcnt 0
12-08 19:08:12.200  3073 26919 E pageboostd: comtauri_testapp, amt 0 scnt 0 fcnt 0
12-08 19:08:12.200  3073 26919 E pageboostd: alp end : app comtauri_testapp data_amount 0
12-08 19:08:12.202  1508  1551 I ActivityManager: Start proc 26920:com.tauri_test.app/u0a307 for activelaunch {com.tauri_test.app/com.tauri_test.app.MainActivity}
12-08 19:08:12.206  2087  2210 D ShellStartingWindow: preload Icon com.tauri_test.app
12-08 19:08:12.215 26920 26920 I .tauri_test.app: Late-enabling -Xcheck:jni
12-08 19:08:12.241 26920 26920 I .tauri_test.app: Using CollectorTypeCC GC.
12-08 19:08:12.276  1508  1539 I ChimeraSystemEventListener: appLaunchIntent package name is: com.tauri_test.app
12-08 19:08:12.276  1508  1652 I Pageboost: onAppLaunch : com.tauri_test.app
12-08 19:08:12.276  1508  1958 I Pageboost: Record App IO : com.tauri_test.app pid 26920
12-08 19:08:12.279  1508  1652 V WindowManager: Collecting in transition 25110: ActivityRecord{6f25380 u0 com.tauri_test.app/.MainActivity, caller=com.android.server.wm.TransitionController.collect:866 com.android.server.wm.ActivityStarter.startActivityUnchecked:2249 com.android.server.wm.ActivityStarter.executeRequest:1839 com.android.server.wm.ActivityStarter.execute:1000 com.android.server.wm.ActivityTaskManagerService.startActivityAsUser:1953 
12-08 19:08:12.279  1508  1652 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{6f25380 u0 com.tauri_test.app/.MainActivity t-1} display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@53173992
12-08 19:08:12.279  1508  1652 D [secipm]: mSecIpmManager Preload com.tauri_test.app dex files
12-08 19:08:12.279  1508  1652 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{6f25380 u0 com.tauri_test.app/.MainActivity t-1} display-from-option=0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@53173992 inherit-from-source=fullscreen non-freeform-task-display-area display-area=DefaultTaskDisplayArea@53173992 default-portrait freeform-size-mismatch=Rect(54, 377 - 666, 1177)
12-08 19:08:12.282  1508  1652 D ActivityTaskManager: TaskLaunchParamsModifier:task=Task{f9ebdb9 #16872 type=standard A=10307:com.tauri_test.app} activity=ActivityRecord{6f25380 u0 com.tauri_test.app/.MainActivity t-1} display-from-option=
0 display-id=0 task-display-area-windowing-mode=1 suggested-display-area=DefaultTaskDisplayArea@53173992 inherit-from-source=fullscreen non-freeform-task-display-area display-area=DefaultTaskDisplayArea@53173992 default-portrait freeform-size-mismatch=Rect(54, 377 - 666, 1177)
12-08 19:08:12.283  1508  1652 V WindowManager: Collecting in transition 25110: Task{f9ebdb9 #16872 type=standard A=10307:com.tauri_test.app}, caller=com.android.server.wm.Transition.collectExistenceChange:886 com.android.server.wm.TransitionController.collectExistenceChange:908 com.android.server.wm.ActivityStarter.setNewTask:4516 com.android.server.wm.ActivityStarter.startActivityInner:2783 com.android.server.wm.ActivityStarter.startActivityUnchecked:2252 
12-08 19:08:12.283  1018  1357 E BufferQueueDebug: [ActivityRecord{6f25380 u0 com.tauri_test.app/.MainActivity t16872}#355337](this:0xe54810b8,id:-1,api:0,p:-1,c:-1) id info cannot be read from
...
12-08 19:12:21.547 24952 25038 E android.vending: Failed to open APK '/data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk': I/O error
12-08 19:12:21.549 25851 27590 I ENTM:Systemprocess: checkKLMActivationForPackageRemoved().START - com.tauri_test.app
12-08 19:12:21.566 24952 25038 W ResourcesManager: failed to preload asset path '/data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk'
12-08 19:12:21.566 24952 25038 W ResourcesManager: java.io.IOException: Failed to load asset path /data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk
12-08 19:12:21.581 24952 25038 W ziparchive: Unable to open '/data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk': No such file or directory
12-08 19:12:21.581 24952 25038 E android.vending: Failed to open APK '/data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk': I/O error
12-08 19:12:21.582 24952 25038 E ResourcesManager: failed to add asset path '/data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk'
12-08 19:12:21.582 24952 25038 E ResourcesManager: java.io.IOException: Failed to load asset path /data/app/~~CcO4m9MsDQCE-9h-4Mf6BA==/com.tauri_test.app-qOcjB-4XR3Cbo8ddpjVLSw==/base.apk
```


### Additional context

Compiled in ubuntu 22, using the latest android studio version, and latest NDK version. Tried with android studio 2022 and ndk 26 before, had the problem, updated it, and same problem.