[Android] zizoux7:
Hey, I'm trying to build RR rom for my device, everything was fine until I got this error at 88% of building :(

[ 0% 10/7430] Target Java: /home/zizo...r_intermediates/classes-full-debug.jar
FAILED: /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes-full-debug.jar
/bin/bash -c "(rm -f /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes-full-debug.jar ) && (rm -rf /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/anno ) && (mkdir -p /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/ ) && (mkdir -p /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/anno ) && (/home/zizou/RR/out/soong/host/linux-x86/bin/zipsync -d /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/srcjars -l /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/srcjar-list -f \"*.java\" /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/aapt.srcjar ) && (if [ -s /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/java-source-list -o -s /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/srcjar-list ] ; then /home/zizou/RR/out/soong/host/linux-x86/bin/soong_javac_wrapper prebuilts/jdk/jdk9/linux-x86/bin/javac -Xmaxerrs 9999999 -encoding UTF-8 -sourcepath \"\" -g -XDskipDuplicateBridges=true -XDstringConcat=inline -encoding UTF-8 -bootclasspath /home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/classes-header.jar:/home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes-header.jar:/home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-header.jar:/home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-header.jar:/home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-header.jar:/home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes-header.jar -classpath /home/zizou/RR/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes-header.jar -d /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes -s /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/anno -source 1.8 -target 1.8 -g:source,lines \\@/home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/java-source-list \\@/home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/srcjar-list || ( rm -rf /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes ; exit 41 ) fi ) && (prebuilts/jdk/jdk9/linux-x86/bin/jar -cf /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes-full-debug.jar @<(find /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes -type f | sort | build/soong/scripts/jar-args.sh /home/zizou/RR/out/target/common/obj/APPS/DownloadProvider_intermediates/classes; echo \"-C /home/zizou/RR/out/empty .\") )"
packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: error: cannot find symbol
addMapping(map, DownloadManager.COLUMN_DESTINATION);
^
symbol: variable COLUMN_DESTINATION
location: class DownloadManager
packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:160: error: cannot find symbol
addMapping(map, DownloadManager.COLUMN_FILE_NAME_HINT);
^
symbol: variable COLUMN_FILE_NAME_HINT
location: class DownloadManager
packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1239: error: cannot find symbol
qb.setStrictColumns(true);
^
symbol: method setStrictColumns(boolean)
location: variable qb of type SQLiteQueryBuilder
packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1240: error: cannot find symbol
qb.setStrictGrammar(true);
^
symbol: method setStrictGrammar(boolean)
location: variable qb of type SQLiteQueryBuilder
4 errors
[ 0% 15/7430] Building Kernel
make: Entering directory '/home/zizou/RR/kernel/samsung/universal7580'
GEN /home/zizou/RR/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
INFO: CC is /usr/bin/ccache /home/zizou/RR/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-gcc
GEN /home/zizou/RR/out/target/product/j7elte/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for 'dtbs'.
CHK include/generated/utsrelease.h
Using /home/zizou/RR/kernel/samsung/universal7580 as source for kernel
CALL /home/zizou/RR/kernel/samsung/universal7580/scripts/checksyscalls.sh
CHK include/generated/compile.h
make[2]: 'arch/arm64/boot/Image' is up to date.
make: Leaving directory '/home/zizou/RR/kernel/samsung/universal7580'
Building DTBs
make: Entering directory '/home/zizou/RR/kernel/samsung/universal7580'
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
make[2]: Nothing to be done for 'dtbs'.
make: Leaving directory '/home/zizou/RR/kernel/samsung/universal7580'
ninja: build stopped: subcommand failed.
08:21:42 ninja failed with: exit status 1

#### failed to build some targets (46 seconds) ####

can anyone help with this?

Edit:

I fixed it by cloning the downloadProvider from a different repo