-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update/verify build instructions #1
Comments
Thanks @Giszmo , i've updated libnunchuk submodule url (https://github.com/nunchuk-io/libnunchuk.git). It seems sqlcipher repo has a file with zero-padded file modes
Normally it's only a warning. But if you enabled
Please unset these 2 configs and retry
|
Ok. Now I remember I did activate the fsck and was wondering why it wasn't on by default. Now I'm wondering what are the consequences of Either way I'll figure out how to compile your app. |
it's possible to build this repo on linux with instructions more or less like: (tested on debian)
cd /home/appuser/app/sdk/; \
curl -o commandlinetools.zip -L https://dl.google.com/android/repository/commandlinetools-linux-9123335_latest.zip; \
echo "0bebf59339eaa534f4217f8aa0972d14dc49e7207be225511073c661ae01da0a commandlinetools.zip" | sha256sum -c; \
unzip commandlinetools.zip; \
rm commandlinetools.zip; \
/home/appuser/app/sdk/cmdline-tools/bin/sdkmanager --sdk_root=/home/appuser/app/sdk/ --install "ndk;21.0.6113669";
Edit: Containerfile to compile repo FROM docker.io/debian:sid-slim
RUN set -ex; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install --yes -o APT::Install-Suggests=false --no-install-recommends \
git \
gcc \
g++ \
make \
curl \
bzip2 \
patch \
libtool \
automake \
pkg-config \
openjdk-11-jdk; \
rm -rf /var/lib/apt/lists/*; \
useradd -ms /bin/bash appuser;
USER appuser
ENV ANDROID_SDK_ROOT="/home/appuser/app/sdk" \
ANDROID_SDK="/home/appuser/app/sdk" \
ANDROID_HOME="/home/appuser/app/sdk" \
ANDROID_NDK_HOME="/home/appuser/app/sdk/ndk/21.4.7075529/"
RUN set -ex; \
mkdir -p "/home/appuser/app/sdk/licenses" "/home/appuser/app/sdk/ndk" "/home/appuser/app/nunchuk/"; \
printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "/home/appuser/app/sdk/licenses/android-sdk-license"; \
cd /home/appuser/app/nunchuk/; \
git clone --depth 1 https://github.com/nunchuk-io/nunchuk-android-nativesdk;
WORKDIR /home/appuser/app/nunchuk/
RUN set -ex; \
cd /home/appuser/app/nunchuk/nunchuk-android-nativesdk; \
./gradlew clean; \
cd /home/appuser/app/nunchuk/nunchuk-android-nativesdk/src/main/native; \
git submodule update --init --recursive; \
bash .install_linux_deps.sh arm64-v8a; \
cd /home/appuser/app/nunchuk/nunchuk-android-nativesdk/; \
./gradlew clean assembleArm64_v8aDebug --stacktrace; \
./gradlew publish; |
Container file in previous comment wont work anymore on current version due to issue #5 |
@emanuelb I tried your container file and it failed at
In the complete log I see lines like this:
but it doesn't abort. Edit: It fails with the same error using Docker. |
Yes, you tried the old Containerfile that doesnt work anymore for the latest version on google-play (it worked for the code they published before when the comment was made), the error you see is fixed in #5 Use the newer Containerfile for latest version that is in issue: nunchuk-io/nunchuk-android#7 (comment) |
I tried to compile the Android wallet and while I don't have a Mac, I didn't even succeed to check out all the code required.
looks wrong. The GitLab project does not exist, at least not publicly.
The project has a git submodule defined but it's this non-existing repo to a different path than the build instruction says.
I tried working around this by using ninchuk-io's GitHub alternative but there, a dependency failed to clone:
So ... we can't clone that dependency. Seriously?
The text was updated successfully, but these errors were encountered: