I can't build my android project because of missing licenses. How do I add them ?
The error i:
> You have not accepted the license agreements of the following SDK components: [Android SDK Platform 24, Android SDK Build-Tools 24.0.3]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
The following pipeline steps works for me (Found here:
http://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences)
# Accept all licences - mkdir -p "$ANDROID_HOME/licenses" - echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license" - echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
can i get you full setup yml file upto only installing the sdk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this doesnt work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this https://stackoverflow.com/a/46649351/4757934
It works fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.