React Native : target with hash string 'android-X' not found

前端 未结 8 1559
[愿得一人]
[愿得一人] 2021-02-01 14:56

I am trying to develop my first react-native Android app. When I run

sudo react-native run-android

I get the following error

8条回答
  •  既然无缘
    2021-02-01 15:22

    What helped me - I've just removed all installed SDK Platforms and SDK tools using Android SDK Tool

    And Run build again and Android Studio found what it should install and where. If you will follow this instruction - make sure you are running Android Studio with enough permissions to install everything.

    Have fun with this issue! Hope it will help you

提交回复
热议问题