android sdk not detected on macOS
See original GitHub issue🐛 Bug Report
My android home is defined in my bash_profile
as export ANDROID_HOME=~/Library/Android/sdk
I have not look at the code on flipper detect android sdk code, maybe directly use envinfo to fix this bug ?
To Reproduce
Run doctor on macOS
Environment
part of npx envinfo
System:
OS: macOS 10.15.6
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 5.49 GB / 32.00 GB
Shell: 3.1.2 - /usr/local/bin/fish
Binaries:
Node: 14.9.0 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 26, 27, 28, 29, 30
Build Tools: 26.0.0, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.1, 28.0.2, 28.0.3, 29.0.2, 29.0.3
Android NDK: 21.0.6113669
flipper 0.55
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Fix "SDK location not found" in Android Studio?
Go to your project then go to the android directory and create a file with the following name – local.properties; Open the file...
Read more >How to Fix Android sdk tools not found in Android Studio
How to Fix Android sdk tools not found in Android Studio | how to fix android sdk tools obsolete Article to Install SDK...
Read more >Location of Android SDK folder on Mac
To determine where the Android SDK folder on your computer is located open Android Studio. Press the Android Studio menu in the toolbar...
Read more >Cannot install Android material on Mac Catalina
Please check the default location ~/Library/Developer/Xamarin/android-sdk-macosx or the location where android-sdk is set in user machines. If you find any ...
Read more >Visual Studio Mac: Android SDK not found - MSDN
You set the path incorrectly. You need to set it to the root folder of the Android SDK, /Users/cheunglik/Library/Android, not /users/cheunglik/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Set the absolute path will work. My fillper is installed by brew if it helps.
Changing to
/Users/xxx/Library/Android/sdk
instead of~/Library/Android/sdk
worked!