I have the next problem, i am tryng to run my app with react-native. can you help me please

- 91
- 3
- 11
-
1I want to run my app that i write, I am using React native. but I have that Problem. – Maynor Castro Oct 25 '17 at 00:19
3 Answers
Open a command prompt, go to your Android SDK folder and execute: sdkmanager.bat --licenses
It will prompt you to accept the licenses you haven't.
PS. Please make a Google search before posting, this has been widely answered.

- 9,844
- 3
- 34
- 66
Try this way
go to the path of ur android-sdk\tools
C:\Users\USER\AppData\Local\Android\android-sdk\tools
then run below command
.\android update sdk --no-ui --all --filter build-tools-xx.x.x,android-xx,extra-android-m2repository
it will install with accepted the license agreements
according to your problem build-tools-xx.x.x is 23.0.1 and android-xx is 23

- 1,335
- 1
- 19
- 36
-
not working for me it says android is not recognized an internal command – Vishal Pachpande Nov 09 '18 at 04:37
-
https://stackoverflow.com/questions/11350692/android-is-not-recognized-as-an-internal-or-external-command did you start command with "./android.." – Dulanga Heshan Nov 09 '18 at 13:03
This worked for me (on Windows):
Navigate to: C:\Program Files (x86)\Android\android-sdk\tools
Right-click android.bat
and Open as Administrator.
You can now manually install and accept the license agreement for Android SDK Build-tools 23.0.01.
If it complains about [Android Support Repository]
or any other package then simply repeat the process for that package. Cheers.

- 5,467
- 22
- 81
- 153