File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,16 @@ adb install "$BUILD_DIR/passwordmanager/arch-android-arm64-v8a/android-build//bu
314314
315315---
316316
317+ If you run into an error because licenses are not accepted, you can accept them as described on
318+ [ the official documentation] ( https://developer.android.com/studio/intro/update.html#download-with-gradle )
319+ via ` sdkmanager --licenses ` . To make the accepted licenses available in builds via ` makechrootpkg ` , do
320+ the copying as mentioned in step three of the documentation, e.g. a call like this:
321+ ```
322+ sudo rsync -aHP --mkpath /opt/android-sdk/licenses/ "$PATH_CHROOT"/arch-x86_64/root/opt/android-sdk/licenses/
323+ ```
324+
325+ ---
326+
317327To use a container, you can create a suitable image using the ` imgbuild ` script from the PKGBUILDs repo, see
318328its [ README] ( https://github.com/Martchus/PKGBUILDs/blob/master/README.md#container-image-building-packages-within-a-container ) .
319329
You can’t perform that action at this time.
0 commit comments