Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- danny@lw10:~/work/walletScrutinyCom$ ./test.sh --apk /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- +++ dirname ./test.sh
- ++ cd .
- ++ pwd
- + SCRIPT_DIR=/home/danny/work/walletScrutinyCom/scripts
- + TEST_ANDROID_DIR=/home/danny/work/walletScrutinyCom/scripts/test/android
- + wsContainer=docker.io/walletscrutiny/android:5
- + takeUserActionCommand='echo "CTRL-D to continue";
- bash'
- + shouldCleanup=false
- + [[ 2 -gt 0 ]]
- + case $1 in
- + downloadedApk=/home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- + shift
- + shift
- + [[ 0 -gt 0 ]]
- + [[ /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk =~ ^/.* ]]
- + '[' '!' -f /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk ']'
- ++ sha256sum /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- ++ awk '{print $1;}'
- + appHash=810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- + fromPlayFolder=/tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- + rm -rf /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- ++ getSigner /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- +++ dirname /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- ++ DIR=/home/danny/work/apk
- +++ basename /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- ++ BASE=com.greenaddress.greenbits_android_wallet_v22000428.apk
- +++ podman run --rm --volume /home/danny/work/apk:/mnt:ro --workdir /mnt docker.io/walletscrutiny/android:5 apksigner verify --print-certs com.greenaddress.greenbits_android_wallet_v22000428.apk
- +++ grep 'Signer #1 certificate SHA-256'
- +++ awk '{print $6}'
- ++ s=32f9cc00b13fbeace51e2fb51df482044e42ad34a9bd912f179fedb16a42970e
- ++ echo 32f9cc00b13fbeace51e2fb51df482044e42ad34a9bd912f179fedb16a42970e
- + signer=32f9cc00b13fbeace51e2fb51df482044e42ad34a9bd912f179fedb16a42970e
- + echo 'Extracting APK content ...'
- Extracting APK content ...
- + containerApktool /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- + targetFolder=/tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- + app=/home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- ++ dirname /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- + targetFolderParent=/tmp
- ++ basename /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- + targetFolderBase=fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b
- ++ dirname /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- + appFolder=/home/danny/work/apk
- ++ basename /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- + appFile=com.greenaddress.greenbits_android_wallet_v22000428.apk
- + podman run --rm --volume /tmp:/tfp --volume /home/danny/work/apk:/af:ro docker.io/walletscrutiny/android:5 sh -c 'apktool d -o "/tfp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b" "/af/com.greenaddress.greenbits_android_wallet_v22000428.apk"'
- I: Using Apktool 2.4.1 on com.greenaddress.greenbits_android_wallet_v22000428.apk
- I: Loading resource table...
- I: Decoding AndroidManifest.xml with resources...
- I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk
- I: Regular manifest package...
- I: Decoding file-resources...
- I: Decoding values */* XMLs...
- I: Baksmaling classes.dex...
- I: Baksmaling classes2.dex...
- I: Baksmaling classes3.dex...
- I: Baksmaling classes4.dex...
- I: Copying assets and libs...
- I: Copying unknown files...
- I: Copying original files...
- I: Copying META-INF/services directory
- + return 0
- ++ cat /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b/AndroidManifest.xml
- ++ head -n 1
- ++ sed 's/.*package=\"//g'
- ++ sed 's/\".*//g'
- + appId=com.greenaddress.greenbits_android_wallet
- ++ cat /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b/apktool.yml
- ++ grep versionName
- ++ sed 's/.*\: //g'
- ++ sed 's/'\''//g'
- + versionName=4.0.28
- ++ cat /tmp/fromPlay810f2008edef117d0cf144874d7433636590f54af1e0689540cd69a47d42e24b/apktool.yml
- ++ grep versionCode
- ++ sed 's/.*\: //g'
- ++ sed 's/'\''//g'
- + versionCode=22000428
- + workDir=/tmp/test_com.greenaddress.greenbits_android_wallet
- + '[' -z com.greenaddress.greenbits_android_wallet ']'
- + '[' -z 4.0.28 ']'
- + '[' -z 22000428 ']'
- + echo
- + echo 'Testing "/home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk" (com.greenaddress.greenbits_android_wallet version 4.0.28)'
- Testing "/home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk" (com.greenaddress.greenbits_android_wallet version 4.0.28)
- + echo
- + testScript=/home/danny/work/walletScrutinyCom/scripts/test/android/com.greenaddress.greenbits_android_wallet.sh
- + '[' '!' -f /home/danny/work/walletScrutinyCom/scripts/test/android/com.greenaddress.greenbits_android_wallet.sh ']'
- + source /home/danny/work/walletScrutinyCom/scripts/test/android/com.greenaddress.greenbits_android_wallet.sh
- ++ repo=https://github.com/Blockstream/green_android/
- ++ tag=release_4.0.28
- ++ builtApk=/tmp/test_com.greenaddress.greenbits_android_wallet/app/green/build/outputs/apk/productionGoogle/release/BlockstreamGreen-v4.0.28-productionGoogle-release-unsigned.apk
- + prepare
- + echo 'Testing com.greenaddress.greenbits_android_wallet from https://github.com/Blockstream/green_android/ revision release_4.0.28 (revisionOverride: '\'''\'')...'
- Testing com.greenaddress.greenbits_android_wallet from https://github.com/Blockstream/green_android/ revision release_4.0.28 (revisionOverride: '')...
- + rm -rf /tmp/test_com.greenaddress.greenbits_android_wallet
- + mkdir -p /tmp/test_com.greenaddress.greenbits_android_wallet
- + cd /tmp/test_com.greenaddress.greenbits_android_wallet
- + echo 'Trying to clone …'
- Trying to clone …
- + '[' -n '' ']'
- + git clone --quiet --branch release_4.0.28 --depth 1 https://github.com/Blockstream/green_android/ app
- Note: switching to 'a14807e77150f00764f5579ccbe6c469d4257dd5'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by switching back to a branch.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -c with the switch command. Example:
- git switch -c <new-branch-name>
- Or undo this operation with:
- git switch -
- Turn off this advice by setting config variable advice.detachedHead to false
- + cd app
- ++ git log -n 1 --pretty=oneline
- ++ sed 's/ .*//g'
- + commit=a14807e77150f00764f5579ccbe6c469d4257dd5
- + test
- + podman run -it --volume /tmp/test_com.greenaddress.greenbits_android_wallet/app:/mnt --rm docker.io/walletscrutiny/android:5 bash -x -c 'chmod 777 /tmp/;
- cd /mnt;
- apt update;
- DEBIAN_FRONTEND=noninteractive apt install -y curl jq openjdk-11-jdk;
- update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java;
- update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac;
- yes | /opt/android-sdk/tools/bin/sdkmanager "build-tools;34.0.0";
- if [ ! -f ./gradlew ]; then
- echo '\''gradlew script not found in project directory'\'';
- exit 1;
- fi
- ./gradlew useBlockstreamKeys --info | tee gradle-useBlockstreamKeys.log;
- ./gradlew -x test clean assembleProductionGoogleRelease --info | tee gradle-assembleProductionGoogleRelease.log;
- echo "CTRL-D to continue";
- bash'
- + chmod 777 /tmp/
- + cd /mnt
- + apt update
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
- Get:3 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3608 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3669 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.8 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1205 kB]
- Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
- Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
- Get:13 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.5 kB]
- Get:14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1502 kB]
- Get:15 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3758 kB]
- Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4143 kB]
- Get:17 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
- Get:18 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
- Fetched 31.5 MB in 3s (10.3 MB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 111 packages can be upgraded. Run 'apt list --upgradable''Etc/UTC'
- Local time is now: Fri May 17 09:40:59 UTC 2024.
- Universal Time is now: Fri May 17 09:40:59 UTC 2024.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- Setting up libxcb-present0:amd64 (1.14-2) ...
- Setting up libasound2-data (1.2.2-2.1ubuntu2.5) ...
- Setting up xtrans-dev (1.4.0-1) ...
- Setting up libfontenc1:amd64 (1:1.1.4-0ubuntu1) ...
- Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.7) ...
- Setting up libxcb-sync1:amd64 (1.14-2) ...
- Setting up libllvm12:amd64 (1:12.0.0-3ubuntu1~20.04.5) ...
- Setting up libsensors5:amd64 (1:3.6.0-2ubuntu1.1) ...
- Setting up libglapi-mesa:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
- Setting up libvulkan1:amd64 (1.2.131.2-1) ...
- Setting up libxcb-dri2-0:amd64 (1.14-2) ...
- Setting up libgif7:amd64 (5.1.9-1) ...
- Setting up libatk1.0-data (2.35.1-1ubuntu2) ...
- Setting up fonts-dejavu-extra (2.37-1) ...
- Setting up alsa-topology-conf (1.2.2-1) ...
- Setting up libxshmfence1:amd64 (1.3-1) ...
- Setting up libxcb-randr0:amd64 (1.14-2) ...
- Setting up libasound2:amd64 (1.2.2-2.1ubuntu2.5) ...
- Setting up libcurl4:amd64 (7.68.0-1ubuntu2.22) ...
- Setting up libx11-6:amd64 (2:1.6.9-2ubuntu1.6) ...
- Setting up libharfbuzz0b:amd64 (2.6.4-1ubuntu4.2) ...
- Setting up xorg-sgml-doctools (1:1.11-1) ...
- Setting up libatk1.0-0:amd64 (2.35.1-1ubuntu2) ...
- Setting up curl (7.68.0-1ubuntu2.22) ...
- Setting up libxkbfile1:amd64 (1:1.1.0-1) ...
- Setting up libdrm-common (2.4.107-8ubuntu1~20.04.2) ...
- Setting up libelf1:amd64 (0.176-1.1ubuntu0.1) ...
- Setting up libxcomposite1:amd64 (1:0.4.5-1) ...
- Setting up libsm6:amd64 (2:1.2.3-1) ...
- Setting up libonig5:amd64 (6.9.4-1) ...
- Setting up libwayland-client0:amd64 (1.18.0-1ubuntu0.1) ...
- Setting up x11proto-dev (2019.2-1ubuntu1) ...
- Setting up libxft2:amd64 (2.3.3-0ubuntu1) ...
- Setting up libxau-dev:amd64 (1:1.0.9-0ubuntu1) ...
- Setting up libxpm4:amd64 (1:3.5.12-1ubuntu0.20.04.2) ...
- Setting up libice-dev:amd64 (2:1.0.10-0ubuntu1) ...
- Setting up libsm-dev:amd64 (2:1.2.3-1) ...
- Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ...
- Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
- Setting up openjdk-11-jre-headless:amd64 (11.0.22+7-0ubuntu2~20.04.1) ...
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
- Setting up libxxf86dga1:amd64 (2:1.1.5-0ubuntu1) ...
- Setting up openjdk-11-jdk-headless:amd64 (11.0.22+7-0ubuntu2~20.04.1) ...
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jfr to provide /usr/bin/jfr (jfr) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
- Setting up libatspi2.0-0:amd64 (2.36.0-2) ...
- Setting up libxxf86vm1:amd64 (1:1.1.4-1build1) ...
- Setting up libatk-bridge2.0-0:amd64 (2.34.2-0ubuntu2~20.04.1) ...
- Setting up libxdmcp-dev:amd64 (1:1.1.3-0ubuntu1) ...
- Setting up libxfixes3:amd64 (1:5.0.3-2) ...
- Setting up x11proto-core-dev (2019.2-1ubuntu1) ...
- Setting up libxinerama1:amd64 (2:1.1.4-2) ...
- Setting up libxv1:amd64 (2:1.0.11-1) ...
- Setting up libxrandr2:amd64 (2:1.5.2-0ubuntu1) ...
- Setting up libxt6:amd64 (1:1.1.5-1) ...
- Setting up libdrm2:amd64 (2.4.107-8ubuntu1~20.04.2) ...
- Setting up at-spi2-core (2.36.0-2) ...
- Setting up jq (1.6-1ubuntu0.20.04.1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ...
- Setting up libdrm-amdgpu1:amd64 (2.4.107-8ubuntu1~20.04.2) ...
- Setting up mesa-vulkan-drivers:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
- Setting up libxmu6:amd64 (2:1.1.3-0ubuntu1) ...
- Setting up libdrm-nouveau2:amd64 (2.4.107-8ubuntu1~20.04.2) ...
- Setting up libxcb1-dev:amd64 (1.14-2) ...
- Setting up libdrm-radeon1:amd64 (2.4.107-8ubuntu1~20.04.2) ...
- Setting up libdrm-intel1:amd64 (2.4.107-8ubuntu1~20.04.2) ...
- Setting up libgl1-mesa-dri:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
- Setting up libx11-dev:amd64 (2:1.6.9-2ubuntu1.6) ...
- Setting up libxaw7:amd64 (2:1.0.13-1) ...
- Setting up libxt-dev:amd64 (1:1.1.5-1) ...
- Setting up shared-mime-info (1.15-1) ...
- Setting up libglx-mesa0:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
- Setting up libglx0:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
- Setting up libgl1:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
- Setting up x11-utils (7.7+5) ...
- Setting up libatk-wrapper-java (0.37.1-1) ...
- Setting up openjdk-11-jre:amd64 (11.0.22+7-0ubuntu2~20.04.1) ...
- Setting up libatk-wrapper-java-jni:amd64 (0.37.1-1) ...
- Setting up openjdk-11-jdk:amd64 (11.0.22+7-0ubuntu2~20.04.1) ...
- update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
- Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
- + update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
- + update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
- + yes
- + /opt/android-sdk/tools/bin/sdkmanager 'build-tools;34.0.0'
- Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
- at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156)
- at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75)
- at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81)
- at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
- at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
- Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
- at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
- at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
- at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
- ... 5 more
- + '[' '!' -f ./gradlew ']'
- + ./gradlew useBlockstreamKeys --info
- + tee gradle-useBlockstreamKeys.log
- Downloading https://services.gradle.org/distributions/gradle-8.7-bin.zip
- ............10%.............20%.............30%.............40%............50%.............60%.............70%.............80%.............90%............100%
- Initialized native services in: /root/.gradle/native
- Initialized jansi services in: /root/.gradle/native
- Welcome to Gradle 8.7!
- Here are the highlights of this release:
- - Compiling and testing with Java 22
- - Cacheable Groovy script compilation
- - New methods in lazy collection properties
- For more details see https://docs.gradle.org/8.7/release-notes.html
- Received JVM installation metadata from '/usr/lib/jvm/java-11-openjdk-amd64': {JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64, JAVA_VERSION=11.0.22, JAVA_VENDOR=Ubuntu, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_VENDOR=Ubuntu, OS_ARCH=amd64}
- Removing 0 daemon stop events from registry
- Starting a Gradle Daemon (subsequent builds will be faster)
- Starting process 'Gradle build daemon'. Working directory: /root/.gradle/daemon/8.7 Command: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -XX:+HeapDumpOnOutOfMemoryError --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx8g -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /root/.gradle/wrapper/dists/gradle-8.7-bin/bhs2wmbdwecv87pi65oeuq5iu/gradle-8.7/lib/gradle-launcher-8.7.jar -javaagent:/root/.gradle/wrapper/dists/gradle-8.7-bin/bhs2wmbdwecv87pi65oeuq5iu/gradle-8.7/lib/agents/gradle-instrumentation-agent-8.7.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.7
- Successfully started process 'Gradle build daemon'
- An attempt to start the daemon took 1.472 secs.
- The client will now receive all logging from the daemon (pid: 1268). The daemon log file: /root/.gradle/daemon/8.7/daemon-1268.out.log
- Starting build in new daemon [memory: 8 GiB]
- Using 4 worker leases.
- Received JVM installation metadata from '/usr/lib/jvm/java-11-openjdk-amd64': {JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64, JAVA_VERSION=11.0.22, JAVA_VENDOR=Ubuntu, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_VENDOR=Ubuntu, OS_ARCH=amd64}
- Watching the file system is configured to be enabled if available
- Not watching /mnt since the file system is not supported
- File system watching is active
- Starting Build
- Generating /root/.gradle/caches/8.7/generated-gradle-jars/gradle-api-8.7.jar
- Cannot use Kotlin build script compile avoidance with /root/.gradle/caches/8.7/generated-gradle-jars/gradle-api-8.7.jar: class org/gradle/configurationcache/extensions/AutoCloseableExtensionsKt: inline fun useToRun(): compile avoidance is not supported with public inline functions
- Cannot use Kotlin build script compile avoidance with /root/.gradle/wrapper/dists/gradle-8.7-bin/bhs2wmbdwecv87pi65oeuq5iu/gradle-8.7/lib/gradle-kotlin-dsl-extensions-8.7.jar: class org/gradle/kotlin/dsl/GradleApiKotlinDslExtensions_1cbh1oqkvm762j10e96dawuh5Kt: inline fun domainObjectContainer(): compile avoidance is not supported with public inline functions
- Cannot use Kotlin build script compile avoidance with /root/.gradle/wrapper/dists/gradle-8.7-bin/bhs2wmbdwecv87pi65oeuq5iu/gradle-8.7/lib/gradle-kotlin-dsl-8.7.jar: class org/gradle/kotlin/dsl/ArtifactHandlerScope: inline fun invoke(): compile avoidance is not supported with public inline functions
- Caching disabled for Kotlin DSL script compilation (Settings/TopLevel/stage1) because:
- Build cache is disabled
- Caching disabled for Kotlin DSL script compilation (Settings/TopLevel/stage2) because:
- Build cache is disabled
- Settings evaluated using settings file '/mnt/settings.gradle.kts'.
- Caching disabled for generation of dependency accessors for libs because:
- Build cache is disabled
- Type-safe project accessors is an incubating feature.
- Caching disabled for generation of project accessors because:
- Build cache is disabled
- Projects loaded. Root project using build file '/mnt/build.gradle.kts'.
- Included projects: [root project 'Blockstream_Green', project ':base', project ':common', project ':compose', project ':gdk', project ':gms', project ':green', project ':hardware', project ':jade', project ':no-gms']
- > Configure project :
- Evaluating root project 'Blockstream_Green' using build file '/mnt/build.gradle.kts'.
- Caching disabled for Kotlin DSL version catalog plugin accessors for classpath '4472935700f39495cde05cda36dc7fe0' because:
- Build cache is disabled
- Caching disabled for Kotlin DSL plugin specs accessors for classpath '4472935700f39495cde05cda36dc7fe0''t support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching.
- FAILURE: Build failed with an exception.
- * What went wrong:
- A problem occurred configuring root project 'Blockstream_Green'.
- > Could not resolve all artifacts for configuration ':classpath'.
- > Could not resolve androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7.
- Required by:
- project :
- > No matching variant of androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.7' but:
- - Variant 'apiElements' declares a library, packaged as a jar, and its dependencies declared externally:
- - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
- - Other compatible attribute:
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- - Variant 'runtimeElements' declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
- - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
- - Other compatible attribute:
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- - Variant 'sourcesElements' declares a component for use during runtime, and its dependencies declared externally:
- - Incompatible because this component declares documentation and the consumer needed a library
- - Other compatible attributes:
- - Doesn't say anything about its elements (required them packaged as a jar)
- - Doesn't say anything about its target Java version (required compatibility with Java 11)
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- * Try:
- > Review the variant matching algorithm at https://docs.gradle.org/8.7/userguide/variant_attributes.html#sec:abm_algorithm.
- > No matching variant errors are explained in more detail at https://docs.gradle.org/8.7/userguide/variant_model.html#sub:variant-no-match.
- > Run with --stacktrace option to get the stack trace.
- > Run with --debug option to get more log output.
- > Run with --scan to get full insights.
- > Get more help at https://help.gradle.org.
- BUILD FAILED in 48s
- + ./gradlew -x test clean assembleProductionGoogleRelease --info
- + tee gradle-assembleProductionGoogleRelease.log
- Initialized native services in: /root/.gradle/native
- Initialized jansi services in: /root/.gradle/native
- Received JVM installation metadata from '/usr/lib/jvm/java-11-openjdk-amd64': {JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64, JAVA_VERSION=11.0.22, JAVA_VENDOR=Ubuntu, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=11.0.22+7-post-Ubuntu-0ubuntu220.04.1, VM_VENDOR=Ubuntu, OS_ARCH=amd64}
- The client will now receive all logging from the daemon (pid: 1268). The daemon log file: /root/.gradle/daemon/8.7/daemon-1268.out.log
- Starting 2nd build in daemon [uptime: 43.877 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 8 GiB]
- Using 4 worker leases.
- Not watching /mnt since the file system is not supported
- Watching the file system is configured to be enabled if available
- File system watching is active
- Starting Build
- Settings evaluated using settings file '/mnt/settings.gradle.kts'.
- Type-safe project accessors is an incubating feature.
- Projects loaded. Root project using build file '/mnt/build.gradle.kts'.
- Included projects: [root project 'Blockstream_Green', project ':base', project ':common', project ':compose', project ':gdk', project ':gms', project ':green', project ':hardware', project ':jade', project ':no-gms']
- > Configure project :
- Evaluating root project 'Blockstream_Green' using build file '/mnt/build.gradle.kts'.
- Some of the file system contents retained in the virtual file system are on file systems that Gradle doesn't support watching. The relevant state was discarded to ensure changes to these locations are properly detected. You can override this by explicitly enabling file system watching.
- FAILURE: Build failed with an exception.
- * What went wrong:
- A problem occurred configuring root project 'Blockstream_Green'.
- > Could not resolve all artifacts for configuration ':classpath'.
- > Could not resolve androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7.
- Required by:
- project :
- > No matching variant of androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.7' but:
- - Variant 'apiElements' declares a library, packaged as a jar, and its dependencies declared externally:
- - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
- - Other compatible attribute:
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- - Variant 'runtimeElements' declares a library for use during runtime, packaged as a jar, and its dependencies declared externally:
- - Incompatible because this component declares a component, compatible with Java 17 and the consumer needed a component, compatible with Java 11
- - Other compatible attribute:
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- - Variant 'sourcesElements' declares a component for use during runtime, and its dependencies declared externally:
- - Incompatible because this component declares documentation and the consumer needed a library
- - Other compatible attributes:
- - Doesn't say anything about its elements (required them packaged as a jar)
- - Doesn't say anything about its target Java version (required compatibility with Java 11)
- - Doesn't say anything about org.gradle.plugin.api-version (required '8.7')
- * Try:
- > Review the variant matching algorithm at https://docs.gradle.org/8.7/userguide/variant_attributes.html#sec:abm_algorithm.
- > No matching variant errors are explained in more detail at https://docs.gradle.org/8.7/userguide/variant_model.html#sub:variant-no-match.
- > Run with --stacktrace option to get the stack trace.
- > Run with --debug option to get more log output.
- > Run with --scan to get full insights.
- > Get more help at https://help.gradle.org.
- BUILD FAILED in 1s
- + echo 'CTRL-D to continue'
- CTRL-D to continue
- + bash
- root@9aa12d98d6af:/mnt# exit
- + result
- + fromPlayUnzipped=/tmp/fromPlay_com.greenaddress.greenbits_android_wallet_22000428
- + fromBuildUnzipped=/tmp/fromBuild_com.greenaddress.greenbits_android_wallet_22000428
- + rm -rf /tmp/fromBuild_com.greenaddress.greenbits_android_wallet_22000428 /tmp/fromPlay_com.greenaddress.greenbits_android_wallet_22000428
- + unzip -d /tmp/fromPlay_com.greenaddress.greenbits_android_wallet_22000428 -qq /home/danny/work/apk/com.greenaddress.greenbits_android_wallet_v22000428.apk
- + unzip -d /tmp/fromBuild_com.greenaddress.greenbits_android_wallet_22000428 -qq /tmp/test_com.greenaddress.greenbits_android_wallet/app/green/build/outputs/apk/productionGoogle/release/BlockstreamGreen-v4.0.28-productionGoogle-release-unsigned.apk
- unzip: cannot find or open /tmp/test_com.greenaddress.greenbits_android_wallet/app/green/build/outputs/apk/productionGoogle/release/BlockstreamGreen-v4.0.28-productionGoogle-release-unsigned.apk, /tmp/test_com.greenaddress.greenbits_android_wallet/app/green/build/outputs/apk/productionGoogle/release/BlockstreamGreen-v4.0.28-productionGoogle-release-unsigned.apk.zip or /tmp/test_com.greenaddress.greenbits_android_wallet/app/green/build/outputs/apk/productionGoogle/release/BlockstreamGreen-v4.0.28-productionGoogle-release-unsigned.apk.ZIP.
- + exit 1
Add Comment
Please, Sign In to add comment