[Q] I am getting below error,Please help me to solve。 - Android Q&A, Help & Troubleshooting

I am getting below error
Frameworks/opt/net/ims/src/java/com/android/ims/internal/ImsCallSession.java:933: error: ImsCallSession.IImsCallSessionListenerProxy is not abstract, and does not cover the callSessionSuppServiceReceived abstract method in IImsCallSessionListener (IImsCallSession, ImsSuppServiceNotification)
Private class IImsCallSessionListenerProxy extends IImsCallSessionListener.Stub {
^
Note: frameworks/opt/net/ims/src/java/com/android/ims/ImsUt.java without the use of check or unsafe operation.
Note: for more information, please use -Xlint:unchecked to compile.
The 1 error
make: *** [/home/zxc/cm/out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/classes-full-debug.jar] error 41
My compilation is giving error in that Only It's Back to track.:crying:

Ever got solution for this? I get same error plus few nmore after merging 5.1.1_r8 into my aosp sources

Related

[Q] android os(froyo) compile error

OS : ubuntu 10.04 LTS
JDK : sun-java1.5.0-jdk
~/froyo$ make clean && make clobber
~/froyo$ make -j2
**** error message ****
frameworks/base/core/java/com/android/internal/os/ZygoteInit.java:554: cannot find symbol
symbol : method forkSystemServer(int,int,int[],int,<nulltype>,long,long)
location: class dalvik.system.Zygote
pid = Zygote.forkSystemServer(
^
target Strip: gralloc.default (out/target/product/generic/obj/lib/gralloc.default.so)
target Strip: sensors.goldfish (out/target/product/generic/obj/lib/sensors.goldfish.so)
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.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
*****************************************************************************************************
What's wrong?! help pleases...

AOKP help!

packages/apps/ROMControl/src/com/roman/romcontrol/fragments/UserInterface.java:118: cannot find symbol
symbol : variable config_enableCrtAnimations
location: class com.android.internal.R.bool
if (!getResources().getBoolean (com.android.internal.R.bool.config_enableCrtAnimations)) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [out/target/common/obj/APPS/ROMControl_intermediates/classes-full-debug.jar] Error 41
Please help, don't know what is happening.
My guess is your not using the proper gcc version... I got the error with 4.4 but 4.3 it builds fine

[Question]Compiling AOSP gingerbread , RIL.java error

I am compiling the AOSP Gingerbread 2.3.7 for Samsung Galaxy Fit. I have made a successful build but now i am fixing the RIL for the incoming Calls. I am using the cyanogenmod 7.2 sources to patch the AOSP source , but i am getting these errors
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
Install: out/host/linux-x86/bin/dx
Copying: out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/emma_out/lib/classes-jarjar.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/bin/aidl
Copying: out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
frameworks/base/telephony/java/com/android/internal/telephony/RIL.java:628: cannot find symbol
symbol : variable config_rilNeedsNullPath
location: class com.android.internal.R.bool
rilNeedsNullPath = context.getResources().getBoolean(com.android.internal.R.bool.config_rilNeedsNullPath);
^
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.
1 error
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
Please help me and please fix this problem.

Helpe me,error in build progress

Help me please
When trying to compile the AOKP KitKat for my device (corsica) received this error
/home/karthick/ROM/*AOKP/out/target/*common/obj/*JAVA_LIBRARIES/*telephony-common_inte*rmediates/src/src/*java/org/codeaurora/*ims/csvt/*ICsvtServiceListener.*java:216: cannot find symbol
symbol : class CallForwardInfoP
location: package org.codeaurora.ims.c*svt
public void onCallForwardingOpti*ons(java.util.List<o*rg.codeaurora.ims.cs*vt.CallForwardInfoP>* fi) throws android.os.RemoteExc*eption;
^
/home/karthick/ROM/*AOKP/out/target/*common/obj/*JAVA_LIBRARIES/*telephony-common_inte*rmediates/src/src/*java/org/codeaurora/*ims/csvt/*ICsvtServiceListener.*java:161: cannot find symbol
symbol : class CallForwardInfoP
location: package org.codeaurora.ims.c*svt
 @override public void onCallForwardingOpti*ons(java.util.List<o*rg.codeaurora.ims.cs*vt.CallForwardInfoP>* fi) throws android.os.RemoteExc*eption
^
/home/karthick/ROM/*AOKP/out/target/*common/obj/*JAVA_LIBRARIES/*telephony-common_inte*rmediates/src/src/*java/org/codeaurora/*ims/csvt/*ICsvtServiceListener.*java:77: cannot find symbol
symbol : class CallForwardInfoP
location: package org.codeaurora.ims.c*svt
java.util.List<org.c*odeaurora.ims.csvt.C*allForwardInfoP> _arg0;
^
/home/karthick/ROM/*AOKP/out/target/*common/obj/*JAVA_LIBRARIES/*telephony-common_inte*rmediates/src/src/*java/org/codeaurora/*ims/csvt/*ICsvtServiceListener.*java:78: cannot find symbol
symbol : class CallForwardInfoP
location: package org.codeaurora.ims.c*svt
_arg0 = data.createTypedArra*yList(org.codeaurora*.ims.csvt.CallForwar*dInfoP.CREATOR);
^
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
make: *** [/home/karthick/ROM/*AOKP/out/target/*common/obj/*JAVA_LIBRARIES/*telephony-common_inte*rmediates/*classes-full-debug.ja*r] Error 41
make: *** Waiting for unfinished jobs....
Please help me solve :crying:

VanirAOSP compile fails at some api stuff

I'm getting this error when I try to compile VanirAOSP
Code:
/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:44533: warning 21: Method java.util.zip.ZipFile.ZipFile no longer throws exception java.util.zip.ZipException
/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:13415: error 13: Method android.media.audiofx.LoudnessEnhancer.getTargetGain has added 'final' qualifier
/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/public_api.txt:13416: error 13: Method android.media.audiofx.LoudnessEnhancer.setTargetGain has added 'final' qualifier
prebuilts/sdk/api/19.txt:25: error 10: Removed field android.Manifest.permission.BIND_NFC_SERVICE
prebuilts/sdk/api/19.txt:13231: error 10: Removed field android.media.audiofx.AudioEffect.EFFECT_TYPE_LOUDNESS_ENHANCER
prebuilts/sdk/api/19.txt:13389: error 9: Removed public constructor LoudnessEnhancer(int)
******************************
You have tried to change the API from what has been previously released in
an SDK. Please fix the errors listed above.
******************************
make: *** [/home/lozohcum/Vanir/out/target/common/obj/PACKAGING/checkapi-last-timestamp] Error 38
I can compile AOSP 4.4.4 and CM11 4.4.4 with no errors, only Vanir fails. Doesn anyone know how can I overcome this?

Categories

Resources