Search code examples
androidreact-nativesdkbuild-tools

you have not accepted the license agreements of the following sdk components [android sdk build-tools 23.0.1]


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


Solution

  • 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