question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

image

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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gengjiawencommented, Sep 7, 2020

Hi @gengjiawen, could you open Flipper settings and specify Android SDK path there as “~/Library/Android/sdk”? I think, depending on how you launching Flipper, it might not use bash env vars.

Set the absolute path will work. My fillper is installed by brew if it helps.

0reactions
samzmanncommented, Mar 24, 2022

Changing to /Users/xxx/Library/Android/sdk instead of ~/Library/Android/sdk worked!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found