Android Compile Error Do not Accept License

Description:

You have not accepted the license agreements of the following SDK components:

[Solver for ConstraintLayout 1.0.0-beta4, ConstraintLayout for Android 1.0.0-beta4].

 

Solution:

https://discuss.bitrise.io/t/android-sdk-license-issue/97/2

            set -ex
            mkdir -p "${ANDROID_HOME}/licenses"
            echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "${ANDROID_HOME}/licenses/android-sdk-license"
            echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "${ANDROID_HOME}/licenses/android-sdk-preview-license"
            echo -e "\nd975f751698a77b662f1254ddbeed3901e976f5a" > "${ANDROID_HOME}/licenses/intel-android-extra-license"

 

猜你喜欢

转载自shappy1978.iteye.com/blog/2390190