mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
buildserver: add new android-sdk-license hash
The old hash does not work anymore, at least for platform-27. Where this new one comes from: 1. Download command line tools from https://developer.android.com/studio/index.html#command-tools 2. Unzip the package 3. Run ./tools/bin/sdkmanager --licenses 4. Read and accept licenses 5. Find the hash in ./licenses/android-sdk-license
This commit is contained in:
parent
358fedc611
commit
3a7a043c68
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,11 @@ y
|
||||||
EOH
|
EOH
|
||||||
|
|
||||||
mkdir -p $ANDROID_HOME/licenses/
|
mkdir -p $ANDROID_HOME/licenses/
|
||||||
echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > $ANDROID_HOME/licenses/android-sdk-license
|
cat << EOF > $ANDROID_HOME/licenses/android-sdk-license
|
||||||
|
|
||||||
|
8933bad161af4178b1185d1a37fbf41ea5269c55
|
||||||
|
d56f5187479451eabf01fb78af6dfcb131a6481e
|
||||||
|
EOF
|
||||||
echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > $ANDROID_HOME/licenses/android-sdk-preview-license
|
echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > $ANDROID_HOME/licenses/android-sdk-preview-license
|
||||||
echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1"
|
echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.1"
|
||||||
echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1"
|
echo y | $ANDROID_HOME/tools/bin/sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue