[G3 Original Android Development] S.AMU:
Hello , I am trying to build android for my first time.

When I try to build the rom, at 55% I am getting the following error. Does anyone know why?

Does the line with "curl: (56) GnuTLS recv error (-54): Error in the pull function" already count to abort the whole action? Cause then I would say this is because of a unstable network. But now it gave me the same error two times in a row... ?

Downloading: gello.apk (version 40) -> vendor/cm/prebuilt/archive/Gello/gello.apk
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:100 601 0 601 0 0 605 0 --:--:-- --:--:-- --:--:-- 604

[....]

12 37.1M 12 4674k 0 0 11116 0 0:58:26 0:07:10 0:51:16 0

curl: (56) GnuTLS recv error (-54): Error in the pull function.
Copying: gello.apk -> /media/samuel/Disk_D/BuildOutput/target/common/obj/APPS/Gello_intermediates/
[ 55% 18879/34310] target Prebuil.../Gello_intermediates/package.apk)
FAILED: /bin/bash -c "(/media/samuel/Disk_D/BuildOutput/host/linux-x86/bin/acp -fp /media/samuel/Disk_D/BuildOutput/target/common/obj/APPS/Gello_intermediates/gello.apk /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk ) && (if (zipinfo /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk 'lib/*.so' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then rm -rf /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/uncompressedlibs && mkdir /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/uncompressedlibs; unzip /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk 'lib/*.so' -d /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/uncompressedlibs && zip -d /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk 'lib/*.so' && ( cd /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../package.apk -@ ) && rm -rf /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/uncompressedlibs; fi ) && (mv /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk.unsigned ) && (java -Djava.library.path=/media/samuel/Disk_D/BuildOutput/host/linux-x86/lib64 -jar /media/samuel/Disk_D/BuildOutput/host/linux-x86/framework/signapk.jar --min-sdk-version \$((/media/samuel/Disk_D/BuildOutput/host/linux-x86/bin/aapt dump badging /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk.unsigned 2>&1 | grep '^sdkVersion' || echo \"sdkVersion:'0'\") | cut -d\"'\" -f2 | sed -e s/^.*[^0-9].*\$/25/) build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk.unsigned /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk.signed ) && (mv /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk.signed /media/samuel/Disk_D/BuildOutput/target/product/d855/obj/APPS/Gello_intermediates/package.apk )"
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:145)
at com.android.signapk.SignApk.main(SignApk.java:1107)
[ 55% 18879/34310] target thumb C...haft/hydrogen-mark-unreachable.cc
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/samuel/android/system“ wird verlassen

#### make failed to build some targets (02:26:33 (hh:mm:ss)) ####