[ISSUE] CM9 compiling errors - Android Q&A, Help & Troubleshooting

Hi. I'm trying to compile CM9 for my Galaxy Mini, but I always get these errors:
Code:
frameworks/base/core/java/android/view/inputmethod/InputMethodManager.java:1485: cannot find symbol
symbol : variable config_symKeyShowsImePicker
location: class com.android.internal.R.bool
if (context.getResources().getBoolean(com.android.internal.R.bool.config_symKeyShowsImePicker)) {
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java:127: cannot find symbol
symbol : variable config_cdma_dun_supported_types
location: class com.android.internal.R.array
com.android.internal.R.array.config_cdma_dun_supported_types);
^
frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/BearerData.java:884: cannot find symbol
symbol : variable config_smsSamsungCdmaAlternateMessageIDEncoding
location: class com.android.internal.R.bool
.getBoolean(com.android.internal.R.bool.config_smsSamsungCdmaAlternateMessageIDEncoding);
^
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.
3 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
[email protected] ~ $
Any solutions would be appreciated. Thanks.

i guess there are more errors on top of that...you could try to provide more output...i think you missed to checkout some repositories or so

Here's some more output: http://pastebin.com/pQy9T0uU

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

[DEV] Building with Trackball Wake/Unlock

Hi, Ive been researching about building Gingerbread, I followed the guide on the forum, I wanted to add TB Wake on my nexus one (for Oxygen 2.3.2), I got this changes:
https://github.com/CyanogenMod/andr...mmit/88c07d2fd8419a287d6ed56ad6b1aab583b63ed3
https://github.com/CyanogenMod/andr...mmit/809be3bf813258434b98c0987e38d58b28edab6c
https://github.com/CyanogenMod/andr...mmit/17a5669474c01b0e49b8e1dd65e92c9c0a68e2ca
on several files (inputManager.cpp, inputdispatcher.cpp/header, inputdispatcher_test.cpp, inputReader.cpp, Lockscreen.java, phonewindowmanager.java).
At compile time I get this error:
Code:
target Java: TelephonyProvider (out/target/common/obj/APPS/TelephonyProvider_intermediates/classes)
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:341: cannot find symbol
symbol : variable TRACKBALL_WAKE_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_WAKE_SCREEN), false, this);
^
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:711: cannot find symbol
symbol : variable TRACKBALL_WAKE_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_WAKE_SCREEN, 0) == 1);
^
frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java:1897: cannot find symbol
symbol : variable isWakeKey
location: class com.android.internal.policy.impl.PhoneWindowManager
+ " isWakeKey=" +isWakeKey);
^
frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java:99: cannot find symbol
symbol : variable TRACKBALL_UNLOCK_SCREEN
location: class android.provider.Settings.System
Settings.System.TRACKBALL_UNLOCK_SCREEN, 0) == 1);
^
frameworks/base/policy/src/com/android/internal/policy/impl/LockScreen.java:102: cannot find symbol
symbol : variable MENU_UNLOCK_SCREEN
location: class android.provider.Settings.System
Settings.System.MENU_UNLOCK_SCREEN, 0) == 1);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
5 errors
14 warnings
make: *** [out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/providers/TelephonyProvider/src/com/android/providers/telephony/SmsProvider.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Could you give any hint, I see a lot of posts on what files to get TB Wake/Unlock that always involve only the above files, but I'm missing something, where I could define that system settings or where can I search
Hi ertoalb
OxygeN1mod already has the trackball wake feature?! You can find it in the display settings.
Sent from my Nexus One using xda premium
Hi, yeah I've used OxygeN1mod before, but I wanted to build the rom (with modifications) by myself, the TB Wake and FM radio (wich are present on N1mod rom)

[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:

Categories

Resources