Closed ishaan26 closed 3 months ago
Similar to #10712. But then my css is not working :/
I also have this problem - both with old and new projects.
Adding targetSdk = 34
to src-tauri/gen/android/app/build.gradle.kts
-> android { defaultConfig { ... } }
fixes the issue (including css) as mentioned in https://github.com/tauri-apps/tauri/issues/10712. Thanks @louis993546!
Closing this thread as #10712 is already open.
Describe the bug
I am getting an error stating that Unsafe app blocked on android as shown in the screenshot below:
When I install the app anyways, i get the following warning:
Also for some reason, the css of the
<input>
element in html in not working.Following is the terminal output:
Reproduction
Expected behavior
There should be no such warning in the app. css for input tag should work.
Full
tauri info
outputStack trace
No response
Additional context
Simlar warnings do not appear for macOS or ios.
Tested on unmodified template provided by
cargo create-tauri-app --rc
. I have tested this using React, Svelte, Yew and Vue templates on Samsung Galaxy S22 ultra and Oneplus nord with lineage os. I have gotten this error every single time. It believe this error stated when tauri got updated to rc.4. It was working perfectly on and before rc.3. My Android SDK platform and other tools as suggested in tauri documentation. Using MacOS 14 on M2 macbook air.