Reading
Add Comment
Issues I faced:
Gradle project stuck on installing NDK
Solution: Download the required NDK version from this link and save it at this location
Library > Android > SDK >NDK
https://github.com/android/ndk/wiki/Unsupported-Downloads
Gradle project stuck on installing platform tools version 31
Solution: Download the platform tool and save it at this location
Library > Android > SDK > platform tools
Kdoctar Identified the issue and solution:
- ✖ Xcode requires to perform the First Launch tasks mac m1
- Solution :
- Install Ruby. You can choose a specific version:
- rvm install ruby 3.0.0
- Install CocoaPods:
- sudo gem install -n /usr/local/bin cocoapods
- Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal
- Solution
- Check if Xcode is installed: Open the Terminal app and type xcode-select -p. If Xcode is installed, you should see the path to the Xcode application directory. If Xcode is not installed, you can download it from the Mac App Store or from the Apple Developer website.
- Run xcode-select --install: This command will prompt you to install the Xcode command-line tools if they are not already installed. Follow the prompts to complete the installation.
- Run sudo xcode-select -s /Applications/Xcode.app/Contents/Developer: This command sets the path to the Xcode developer directory. Replace /Applications/Xcode.app with the actual path to your Xcode installation directory if it is different.
- Run xcodebuild -runFirstLaunch: This command launches Xcode and performs its initial setup. You may need to agree to the Xcode license agreement or sign in with your Apple ID.
- Restart your terminal and try the command again.
- S
Adding adb in .zshrc
Add the folllowing in .zshrc (to make this visible press command + shift+ .)
export ANDROID_HOME="$HOME/Library/Android/Sdk"
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH"

0 comments:
Post a Comment