[SOLVED] Java Errors While compiling Nougat Custom Roms (Download Provider) - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

SOLVED: SEE POST #4 TO SEE HOW TO FIX IT
Hi I am getting some Java errors while compiling CrDroid rom for samsung s3 i747. Compiling is fine until It arrives at Download manager. I retried 5 times compiling this rom but had no success This is the first time building a rom.
I am using open jdk 1.8 and I have 8 GB RAM on my VM With Ubuntu Bionic Beaver
Code:
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java:326: The method setFilterByString(String) is undefined for the type DownloadManager.Query
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1133: The method update(SQLiteDatabase, ContentValues, String, String[]) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1316: The method delete(SQLiteDatabase, String, String[]) is undefined for the type SQLiteQueryBuilder
At the end, I get the Ninja Wrapper error 1.
I tried ninja wrapper disable but had no success.
EDIT: SEE THE FIX BELOW

alexenferman said:
Hi I am getting some Java errors while compiling CrDroid rom for samsung s3 i747. Compiling is fine until It arrives at Download manager. I retried 5 times compiling this rom but had no success This is the first time building a rom.
I am using open jdk 1.8 and I have 8 GB RAM on my VM With Ubuntu Bionic Beaver
Code:
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadStorageProvider.java:326: The method setFilterByString(String) is undefined for the type DownloadManager.Query
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:150: COLUMN_DESTINATION cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:155: COLUMN_FILE_NAME_HINT cannot be resolved or is not a field
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1133: The method update(SQLiteDatabase, ContentValues, String, String[]) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1237: The method setStrictColumns(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1238: The method setStrictGrammar(boolean) is undefined for the type SQLiteQueryBuilder
ERROR: /home/android/crDroid/packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadProvider.java:1316: The method delete(SQLiteDatabase, String, String[]) is undefined for the type SQLiteQueryBuilder
At the end, I get the Ninja Wrapper error 1.
I tried ninja wrapper disable but had no success.
Click to expand...
Click to collapse
EDIT: I SKIPPED theese errors! I compiled the rom and it will be uploaded soon!

alexenferman said:
EDIT: I SKIPPED theese errors! I compiled the rom and it will be uploaded soon!
Click to expand...
Click to collapse
Hmmm, how did you do it, I have same error myself.

HOW TO FIX:
The fact is if you try to compile a nougat rom you might come across this error.
Looks like someone messed up the source code of the package Download Provider and Managed Provisionning from github.
My first solution was to skip the packages but in my rom the download manager would not work which would make the rom unusable for internet purposes.
My second solution and the best solution is to revert a few commits back (Downgrading the package sourcecode from Github)
You can download each of the packages (Older versions which work) Theese are for cm-14.1
Managed Provisionning: https://github.com/LineageOS/androi...tree/01eebf922cb5a6cef07e11631c9d0b82100509a3
Download Provider: https://github.com/LineageOS/androi...tree/21b5b3c3edd6dde44098aac75daa1f55d5a68f77
Download both zip files and extract them
Then open Terminal and type sudo nautilus
Go to your rom folder > Packages > Apps > ManagedProvisioning
and replace the managed provisioning folder contents with the folder contents that you downloaded called Managed Provisionning
Do the same thing with Download Provider
Go to your rom folder > Packages > Providers > DownloadProvider
and replace the DownloadProvider folder contents with the folder contents that you downloaded called DownloadProvider
Then you can compile peacefully your rom without any error!
If you don't understand something make sure to tell me!

Thank you. . I've got this error too while building AICP (also lineage-based) nougat

I've got this error while building AICP, dotOS and Ressurection Remix and guess I'll face this error with any custom rom other than lineage.

Related

[Q] (Help) CM11 compiling errors

Hello! I'm new building a ROM and I have a lot of issues with the compilation of CM11, a lot of these has been fixed with a few workarounds in the source code, but I'm getting an error with the headers, exactly with the file Flattenable.h
The problem is that the "guard" of the headers includes only once the header Flattenable.h for one of the needed headers but not for the rest of headers that require the same header Flattenable.h and I get this error:
target thumb C++: libandroid <= frameworks/base/native/android/native_window.cpp
In file included from frameworks/native/include/ui/Rect.h:22:0,
from frameworks/native/include/ui/Region.h:25,
from system/core/include/utils/Flattenable.h:26,
from frameworks/native/include/ui/Fence.h:26,
from frameworks/native/include/gui/IGraphicBufferProducer.h:28,
from frameworks/native/include/gui/Surface.h:20,
from frameworks/base/native/android/native_window.cpp:21:
frameworks/native/include/ui/Point.h:29:41: error: expected template-name before '<' token
frameworks/native/include/ui/Point.h:29:41: error: expected '{' before '<' token
frameworks/native/include/ui/Point.h:29:41: error: expected unqualified-id before '<' token
frameworks/base/native/android/native_window.cpp:84:1: error: expected '}' at end of input
make: *** [/home/richy/Escritorio/Development/CM-11/out/target/product/hwmt1_u06/obj/SHARED_LIBRARIES/libandroid_intermediates/native_window.o] Error 1
the error is because the "template-name" has been defined in Flattenable.h but the "guard" disable the #include of the file Point.h because this header has been included previusly on the file Fence.h
Someone knows a "fix" for this problem?
I'm compiling in Ubuntu 14.04
Excuse my poor english :silly:
I found the reason of this
Thanks but i find that I have added the next line to flattenable.h and I don't remember when :/ but... it was there haha
#include <ui/Region.h>
and I search the file on another site and this include wasn't here hahaha thanks =):silly:

can't deploy my AppBuilder project on android device

Hi,
I have to test my hybrid mobile application on my android device,I have selected "USB debugging" in my phone and I have selected the "Unknown sources" option,but when I try to deploy my application in my mobile I get this error:
Code:
Building package: [D:\WebMobile\test\backupsProjetWebMobile2\KendoUITabStrip1\obj\Debug\MyProjet.zip]
Project files uploaded to the cloud.
Sending build request for project MyProjet with parameters ProjectTypeGuids={070BCB52-5A75-4F8C-A973-144AF0EAFCC9}
Platform=Android
Configuration=Debug
LiveSyncToken=5uW/86s7080iMfWs0yNn+vJIKWo6n1qh4Lpa8kEnoUNFIaJOOQSDimQ9e0N6ELxXgt2bTOb/Xp6eRqCttuaoxQCzlLku533tlF1hvwrKPpxPeX/CfV/aGFN8Wr6MJl4D.
C:\Users\Client\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\zc3hmmck.xbh\Targets\Build.targets(189,3): error : Server build failed. Server output: Project "MyProjet.tmp.proj" (default targets):
android Build Tooling revision 2015.11.03.5r
Warning: Failed to install 'cordova-plugin-mapbox':Error: Variable(s) missing: ACCESS_TOKEN
at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:324:23
at _fulfilled (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:749:13)
at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:557:44
at flush (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
Warning: Variable(s) missing: ACCESS_TOKEN
Warning: /home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189
Warning: throw Error("exit code: " + code);
^
Warning: Error: exit code: 1
at Error (<anonymous>)
at ChildProcess.<anonymous> (/home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189:14)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
Error: Build failed during execution
Error: 'Build failed with error code 8'
Done building project "MyProjet.tmp.proj" -- FAILED.
.
Done building project "MyProjet.iceproj" -- FAILED.
Build FAILED.
I work with Telerik-AppBuilder visual Studio 2015 extension(kendo-ui) my android phone is Samsung Galaxy Star Duos GT-S7262 version 4.1.2 any help please and thanks
kalimambou said:
Hi,
I have to test my hybrid mobile application on my android device,I have selected "USB debugging" in my phone and I have selected the "Unknown sources" option,but when I try to deploy my application in my mobile I get this error:
Code:
Building package: [D:\WebMobile\test\backupsProjetWebMobile2\KendoUITabStrip1\obj\Debug\MyProjet.zip]
Project files uploaded to the cloud.
Sending build request for project MyProjet with parameters ProjectTypeGuids={070BCB52-5A75-4F8C-A973-144AF0EAFCC9}
Platform=Android
Configuration=Debug
LiveSyncToken=5uW/86s7080iMfWs0yNn+vJIKWo6n1qh4Lpa8kEnoUNFIaJOOQSDimQ9e0N6ELxXgt2bTOb/Xp6eRqCttuaoxQCzlLku533tlF1hvwrKPpxPeX/CfV/aGFN8Wr6MJl4D.
C:\Users\Client\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\zc3hmmck.xbh\Targets\Build.targets(189,3): error : Server build failed. Server output: Project "MyProjet.tmp.proj" (default targets):
android Build Tooling revision 2015.11.03.5r
Warning: Failed to install 'cordova-plugin-mapbox':Error: Variable(s) missing: ACCESS_TOKEN
at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:324:23
at _fulfilled (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:749:13)
at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:557:44
at flush (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
Warning: Variable(s) missing: ACCESS_TOKEN
Warning: /home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189
Warning: throw Error("exit code: " + code);
^
Warning: Error: exit code: 1
at Error (<anonymous>)
at ChildProcess.<anonymous> (/home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189:14)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
Error: Build failed during execution
Error: 'Build failed with error code 8'
Done building project "MyProjet.tmp.proj" -- FAILED.
.
Done building project "MyProjet.iceproj" -- FAILED.
Build FAILED.
I work with Telerik-AppBuilder visual Studio 2015 extension(kendo-ui) my android phone is Samsung Galaxy Star Duos GT-S7262 version 4.1.2 any help please and thanks
Click to expand...
Click to collapse
Check this out ?
http://stackoverflow.com/questions/23513768/command-line-failed-with-exit-code-8-in-phonegap-cordova

Need help for compiling Cm13.0 source code.

Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Rahul Dhobi said:
Hi All,
I'm compiling cyanogenmod 13.0 for Redmi 1s and stuck at following errors.
Code:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar
target Java: qcmediaplayer (/home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes)
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar
Check package name for /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar: unknown package name of class file org/codeaurora/camera/ExtendedFace.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes.jar: unknown package name of class file org/codeaurora/ims/qtiims/IQtiImsInterface$Stub$Proxy.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar: unknown package name of class file com/qualcomm/qcmedia/QCMediaPlayer$OnMPDAttributeListener.class
Error: /home/sysadmin/Rahul/cm13.0/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/classes.jar: unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
make: *** [/home/sysadmin/Rahul/cm13.0/out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp] Error 1
#### make failed to build some targets (08:30 (mm:ss)) ####
Can anyone help me to solve this errors?
Click to expand...
Click to collapse
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
onano said:
can you post complete log please.
although it seems like a upstream error, but yea a full log would be great
Click to expand...
Click to collapse
Thanks for reply, please find attached log file.
Rahul Dhobi said:
Thanks for reply, please find attached log file.
Click to expand...
Click to collapse
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
onano said:
why you're Using prebuilt kernel binary instead of source ?
and please post your local_manifest too
Click to expand...
Click to collapse
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Have you added Android-SDK to your path?
unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Rahul Dhobi said:
I'm using compressed source code from http://forum.xda-developers.com/android/software/sources-android-sources-highly-t3231109.
this source don't have .repo directory also I have again compiled with kernel source, please verify logs and steps I'm doing
Thanks.
Click to expand...
Click to collapse
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
SilverPearl said:
Hi,
I am also getting same error.
Is the problem solved?
How to solve this error : unknown package name of class file com/quicinc/tcmiface/DpmTcmIface.class
Click to expand...
Click to collapse
Same error here. Please help us
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
regalstreak said:
aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/halogenos/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
noob part: Just revert commits with commit message " off the boot classpath" or something
would help someone i guess
@silverpearl @rahul dhobi
Click to expand...
Click to collapse
good job man helping ppl out
regalstreak said:
Aah found the soln. You need to revert some commits where you are getting the error.
Like, i had an error for apache-http. So i had to revert this:
https://github.com/HalogenOS/androi...mmit/7463c06adcd51d891fc294b90350562f9697ffe8
Noob part: Just revert commits with commit message " off the boot classpath" or something
Would help someone i guess
@SilverPearl @Rahul Dhobi
Click to expand...
Click to collapse
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
yeshwanthvshenoy said:
@regalstreak I am facing something similar. Could you help me out?
Exact error:
Code:
Error: /home/yeshwanthvshenoy/du/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.jar: unknown package name of class file org/codeaurora/internal/IDepersoResCallback$Stub.class
Full log: http://pastebin.com/ixfVAV7i
Any idea?
Click to expand...
Click to collapse
I assume that you've solved this. I was off xda. Sorry.
regalstreak said:
I assume that you've solved this. I was off xda. Sorry.
Click to expand...
Click to collapse
Hi. I'm having this error https://hastebin.com/udofahacok.scala some time ago when building AOSiP and AOSP Extended. Can you help me solve it? I have a trying time and I have not been able to. Sorry for my english

Need help for fixing these errors occurred during compiling cm 14

I am compiling cm 14 for core prime ve 3g (sm-g361h).
i am getting these error after executing mka bacon command (i have skipped all log above errors). I am building rom from source first time so i ain't got any clue what this error says (maybe a little bit but that ain't helping).
Code:
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:276: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:314: error: method processSolicited in class RIL cannot be applied to given types;
return super.processSolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:366: error: method does not override or implement a method from a supertype
@Override
^
device/samsung/coreprimeve3g/ril/SamsungSPRDRIL.java:422: error: method processUnsolicited in class RIL cannot be applied to given types;
super.processUnsolicited(p);
^
required: Parcel,int
found: Parcel
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
[ 3% 1018/28725] host C++: libLLVMCor...2 <= external/llvm/lib/IR/Function.cpp
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/hamza/cm14'
#### make failed to build some targets (27:37 (mm:ss)) ####
bump

Trying to build lineageos 18.1 for one plus one

Hi guys!
So I was following this https://wiki.lineageos.org/devices/bacon/build wiki to build a lineageos 18.1 ROM for my one plus one.
Unfortunately, when I get to the step for "breakfast bacon", I get the following errors.
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:04 dumpvars failed with: exit status 1
Device bacon not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_oneplus_bacon
Default revision: lineage-18.1
Checking branch info
Checking if device/oneplus/bacon is fetched from android_device_oneplus_bacon
LineageOS/android_device_oneplus_bacon already fetched to device/oneplus/bacon
Syncing repository to retrieve project.
sh: 1: repo: not found
Repository synced!
Looking for dependencies in device/oneplus/bacon
Looking for dependencies in device/oppo/msm8974-common
device/oppo/msm8974-common has no additional dependencies.
Looking for dependencies in kernel/oppo/msm8974
kernel/oppo/msm8974 has no additional dependencies.
Done
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:05 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/target/product/product_launched_with_k.mk:2: error: _nic.PRODUCTS.[[device/oneplus/bacon/lineage_bacon.mk]]: "device/oppo/msm8974-common/msm8974.mk" does not exist.
22:35:06 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_bacon'
** Do you have the right repo manifest?
Click to expand...
Click to collapse
What am I doing wrong?
p.s. if I do a "breakfast d855", then I get no error.
My utter apologies for being so blind.
It is of course clearly written on that wiki that some devices would fail upon "breakfast" command being called due to the missing vendor files.
Hence one should first run "extract-files.sh" in the device specific folder. And indeed afterwards the breakfast command succeeds for "bacon".
I could be given a little margin for being a noob and also that my other device "d855" does not need extract-files.sh before breakfast.
Also what confused me yesterday was, that the paths contained oppo when infact I was building for bacon. I was sure something is wrong upstream.
My sincere apologies again for starting on xda with such a useless post.

Categories

Resources