Skip to content

Doctor is not detecting the correct Android SDK #857

@rborn

Description

@rborn

Environment

$ react-native info
info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
    Memory: 192.95 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 11.12.0 - /usr/local/bin/node
    Yarn: 1.7.0 - ~/.npm-packages/bin/yarn
    npm: 6.9.0 - ~/.npm-packages/bin/npm
    Watchman: 4.7.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 21, 22, 23, 24, 25, 26, 27, 28
      Build Tools: 21.1.2, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.2, 27.0.3, 28.0.2, 28.0.3
      Android NDK: 18.1.5063045
  IDEs:
    Xcode: 11.2.1/11B500 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.11.0 => 16.11.0 
    react-native: 0.61.4 => 0.61.4 
  npmGlobalPackages:
    create-react-native-app: 1.0.0
    eslint-plugin-react-native: 3.1.0
    react-native-asset: 2.0.0
    react-native-cli: 2.0.1
    react-native-fetch-blob: 0.10.8
    react-native-git-upgrade: 0.2.6
    react-native-image-picker: 0.26.7

Description

Doctor seems not to detect the correct Android SDK, but seems to be taking the first one in list (build-tools)

Screenshot 2019-11-19 at 14 35 14

Screenshot 2019-11-19 at 14 36 26

Reproducible Demo

That's a little hard to do, I think it depends on each environment 😬
I can add more info or run tests if needed to 🤗

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions