Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pnpm tauri android dev - error #21

Open
kumaraguru1735 opened this issue Sep 24, 2024 · 0 comments
Open

pnpm tauri android dev - error #21

kumaraguru1735 opened this issue Sep 24, 2024 · 0 comments

Comments

@kumaraguru1735
Copy link

PS C:\Users\ZERO\Desktop\app-demo\quantum> pnpm tauri android dev

quantum@ tauri C:\Users\ZERO\Desktop\app-demo\quantum
tauri "android" "dev"

Info Detected connected device: Medium_Phone_API_35 (sdk_gphone64_x86_64) with target "x86_64-linux-android"
Running BeforeDevCommand (`pnpm dev`)

quantum@ dev C:\Users\ZERO\Desktop\app-demo\quantum
vinxi dev

vinxi v0.4.1
vinxi starting dev server

➜ Local: http://localhost:3000/
➜ Network: use --host to expose

Warn Waiting for your frontend dev server to start on http://localhost:3000/...
Info detected host target triple "x86_64-pc-windows-msvc"

Compiling vswhom-sys v0.1.2
Compiling wry v0.41.0
Compiling vswhom v0.1.0
Compiling embed-resource v2.4.3
Compiling tauri-winres v0.1.1
Compiling tauri-build v2.0.0-rc.0
Compiling tauri-runtime-wry v2.0.0-rc.0
Compiling tauri v2.0.0-rc.0
Compiling quantum v0.0.0 (C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri)
Compiling tauri-plugin-fs v2.0.0-rc.0
Compiling tauri-plugin-devtools v2.0.0-rc.0
Compiling tauri-plugin-updater v2.0.0-rc.0
Compiling tauri-plugin-shell v2.0.0-rc.0
Compiling tauri-plugin-dialog v2.0.0-rc.0
Compiling tauri-specta v2.0.0-rc.15
Finished dev profile [unoptimized + debuginfo] target(s) in 24.72s
Info symlinking lib "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" in jniLibs dir "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android\app/src/main/jniLibs/x86_64"
Info "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" requires shared lib "libandroid.so"
Info "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" requires shared lib "libdl.so"
Info "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" requires shared lib "liblog.so"
Info "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" requires shared lib "libm.so"
Info "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so" requires shared lib "libc.so"
3000
Info symlink at "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android\app/src/main/jniLibs/arm64-v8a\libquantum_lib.so" points to "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\aarch64-linux-android\release\libquantum_lib.so"
Info symlink at "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android\app/src/main/jniLibs/x86_64\libquantum_lib.so" points to "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\target\x86_64-linux-android\debug\libquantum_lib.so"

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not open settings generic class cache for settings file 'C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen\android\settings.gradle' (C:\Users\ZERO.gradle\caches\8.4\scripts\933tego7nlvvixlblimy1avfb).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 66

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 1s
 ELIFECYCLE  Command failed with exit code 4294967295.
Error Failed to assemble APK: command ["C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android\gradlew.bat", "--project-dir", "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android"] exited with code 1: command ["C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android\gradlew.bat", "--project-dir", "C:\Users\ZERO\Desktop\app-demo\quantum\src-tauri\gen/android"] exited with code 1
 ELIFECYCLE  Command failed with exit code 1.
PS C:\Users\ZERO\Desktop\app-demo\quantum>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant