I have set the path for android from studio, however, when I'm trying to connect a real device abd and sdk manager were unfindable in terminal. this is the path which was set in zsh from studio"/Users/premtheetla/Library/Android/sdk". can u pls help me on this.
@RaghavPal
Ай бұрын
Prem If you've set the Android SDK path in Android Studio but can't find the `sdkmanager` or `adb` commands in your terminal, here's how to resolve it: 1. Android Studio Method: - Open Android Studio. - Go to File ➡️ Settings ➡️ Appearance & Behavior ➡️ System Settings ➡️ Android SDK. - In the SDK Tools tab, make sure you have the Android SDK Command-line Tools (latest) installed. If not, install or update them. - Click Apply and restart Android Studio 2. Alternative Method (Without Android Studio): - Open a terminal. - Run the following commands: ```bash sdkmanager --update sdkmanager --install "cmdline-tools;latest" flutter doctor --android-licenses ``` - This should resolve the issue even if you're not using Android Studio directly Remember to adjust the paths and commands according to your system configuration -
Пікірлер: 14