SDK location not found

血红的双手。 提交于 2020-01-07 08:34:06

问题


am new in using react native. I install android studio , nodejs , npm . Then i connect my device to run the app.When running it i get this error

could anyone help me How to fix sdk location in my app ? ps: am using linux mint as OS .

Thanks for help


回答1:


If this is your first build you must define %ANDROID_HOME% path first in the "Environment Variables"

  1. Copy path to your sdk folder

  1. Open System Properties\Advanced\Environment Variables (search for keyword "environment" for shortcut)

  1. Press "New" in "User variables..." panel
  2. Type "ANDROID_HOME" in "variable name" and paste your SDK path --> press Ok



来源:https://stackoverflow.com/questions/44920676/sdk-location-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!