Hello everyone,
I'm facing an issue when trying to launch pnpm tauri android dev. Here's a brief overview of what I've done so far:
- Successfully set up everything using
pnpm tauri android init. - Installed Android Studio via the JetBrains Toolbox.
- Set up the following environment variables:
ANDROID_HOME=/home/*user*/Android/SdkNDK_HOME=/home/*user*/Android/Sdk/ndk/27.0.11902837
However, when I try to launch from the package.json file, I encounter this error:
Error: Have you installed the Android SDK? The `ANDROID_HOME` environment variable is set, but doesn't point to an existing directory.
Additionally, when I try to run the command from the console without root privileges, nothing happens, and it seems to result in an infinite loading state.
Any advice or guidance on how to resolve this issue would be greatly appreciated. Thanks in advance!