-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[bug] bundleresources is not working for Android #8911
Comments
I am having the same issue. |
I am using this for a school project. I found a workaround. By making a zip file in the build.r.s and using include_bytes. Then I extract the files if needed. I know it isn't the best option. However, this is a small school project. |
@wyatt-herkamp FYI. I just follow android doc and handle the files with an android plugin. |
I had the same issue and decided to move towards using this library https://github.com/pyrossh/rust-embed. It works very well and simplifies a lot the data management. |
I had the same issue, i can used resource by typescript frontend, but rustend can't |
It works just fine on MacOS. Android --> get no file when DEV --> get a small piece of html when BUILD Indeed seems Tauri path resolver return tauri://localhost paths instead of fs paths When I unpack my APK --> I see the file embedded: --- pnpm tauri android dev --- pnpm tauri android build ( and signed ) 2025-01-20T04:28:30.869Z ==== ANDROID RESOURCE CHECK ==== --- tauri.conf.json --- AndroidManifest.xml --- capabilities/mobile.json --- tauri "info" [✔] Environment [-] Packages [-] Plugins [-] App |
+1 I'm also hitting this bug |
Describe the bug
It won't bundle the resources specified in the bundleresources config for Android (
yarn tauri android dev
). Does this option apply to Android?Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: