You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A very basic Svelte app crashes on Android emulator with Caused by: java.lang.ClassNotFoundException: Didn't find class "app.tauri.opener.OpenerPlugin"
It works on macOS/iOS
What I tried:
rm -rf src-tauri/gen/android and rm -rf src-tauri/target/*
Re-run npm run tauri android init
Reinstall a new device in Android Studio and retry 1. and 2.
rustup update
npm run tauri android dev
Did try npm run tauri android dev --open but I don't know Studio well enough 😅
12-15 12:57:17.254 10839 10839 W ziparchive: Unable to open '/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.dm': No such file or directory
12-15 12:57:17.254 10839 10839 W ziparchive: Unable to open '/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.dm': No such file or directory
12-15 12:57:17.358 10839 10839 D nativeloader: Configuring clns-7 for other apk /data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/lib/arm64:/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.proxibenef.app
12-15 12:57:17.380 609 624 I AppsFilter: interaction: PackageSetting{50f354a com.proxibenef.app/10207} -> PackageSetting{53c7fa5 com.google.android.apps.nexuslauncher/10176} BLOCKED
12-15 12:57:17.405 10839 10839 D nativeloader: Load /data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk!/lib/arm64-v8a/libproxibenef_lib.so using ns clns-7 from class loader (caller=/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk!classes7.dex): ok
12-15 12:57:17.532 10839 10839 W .proxibenef.app: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
12-15 12:57:17.532 10839 10839 W .proxibenef.app: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
12-15 12:57:17.544 10839 10839 E AndroidRuntime: Process: com.proxibenef.app, PID: 10839
12-15 12:57:17.544 10839 10839 E AndroidRuntime: at com.proxibenef.app.WryActivity.getAppClass(WryActivity.kt:115)
12-15 12:57:17.544 10839 10839 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "app.tauri.opener.OpenerPlugin" on path: DexPathList[[zip file "/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk"],nativeLibraryDirectories=[/data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/lib/arm64, /data/app/~~pTORiwRf0py2Gqkl8kRkfQ==/com.proxibenef.app-RIPmsAHeG1MmFY5aE11jLQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
12-15 12:57:17.546 10839 10858 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 10858 (.proxibenef.app), pid 10839 (.proxibenef.app)
Additional context
Platform infos
Java
java --version
openjdk 21.0.3 2024-04-16
OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
OpenJDK 64-Bit Server VM (build 21.0.3+-79915917-b509.11, mixed mode)
Android Studio / Emulator
Android Studio Ladybug | 2024.2.1 Patch 3
Build #AI-242.23339.11.2421.12700392, built on November 23, 2024
Describe the bug
Hi all,
A very basic Svelte app crashes on Android emulator with
Caused by: java.lang.ClassNotFoundException: Didn't find class "app.tauri.opener.OpenerPlugin"
It works on macOS/iOS
What I tried:
npm run tauri android init
npm run tauri android dev
Did try
npm run tauri android dev --open
but I don't know Studio well enough 😅Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
Platform infos
Java
Android Studio / Emulator
Android Studio Ladybug | 2024.2.1 Patch 3
Build #AI-242.23339.11.2421.12700392, built on November 23, 2024
The text was updated successfully, but these errors were encountered: