If you have accepted licensing agreements on one workstation, but want to create your projects on another workstation, you can export your licenses by copying the directory of accepted licenses. To copy licenses on another computer, run the following steps: And accept licenses that you haven`t accepted yet (but you have to). I had a similar problem, but the ./sdkmanager licenses weren`t working. I`m this thread and “obladors” comment gave me the solution: github.com/oblador/react-native-vector-icons/issues/527 Maybe I`m late, but this helped me accept SDK licenses for OSX, you could have two Android SDKs on your computer. Be sure to check both that they have both the “Library/Android/Sdk” file and /usr/local/share/android-sdk! If you`re not sure, completely uninstall Android Studio from your computer and start with a clean slate. Documentation for the use of Android SDK: developer.android.com/studio/command-line/sdkmanager.html Hey. I had the same problem. I resolved it by accepting (1) the licenses and (2) I copied the “Licences” folder in my sdk folder (as explained here: developer.android.com/studio/intro/update) Copy my sdk`s license file into my basic project file, I solved this problem, installed these components in “Android 7.0 (API 24)”: SDK platform Google Apis Sources for android SDK checkout: post: – cp -r licenses/. $ANDROID-HOME/licenses` From: developer.android.com/studio/intro/update.html#download-with-gradle If anyone is still facing the problem, please follow the link to the solution aboutreact.com/you-have-not-accepted-the-license-agreements-of-the-following-sdk-components/ None of the above solutions worked for me and finally accepted all Android licenses.
An ETA, when will this be corrected? Consider buying CircleCI, but it`s definitely a non-starter. The Cache_directories to get around the problem doesn`t seem to work if you`re using the new restriction libraries. I get the error down now. These license files must be included on the image to solve this problem. You can solve this. Please open the platforms/Android in Android Studio. Subsequently, the same error in the building log is displayed as an error. You will find the link to the lack of agreement.
You can simply click on it to download it and accept it. The problem arises when some of your Android modules need to be compiled with a different sdk from the main image (28 in this case). Licenses are not signed… Windows:.