Helpe me,error in build progress - AOKP Q&A

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:

Related

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)

[ISSUE] CM9 compiling errors

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

Gallery2 build error

Need help in build. I am getting error in Gallery2 build.
Code:
packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumSetPage.java:574: error: cannot find symbol
MenuItem moreItem = menu.findItem(R.id.action_more_image);
^
symbol: variable action_more_image
location: class id
packages/apps/Gallery2/src/com/android/gallery3d/app/AlbumSetPage.java:589: error: cannot find symbol
case R.id.action_more_image:
^
symbol: variable action_more_image
location: class id
http://pastebin.com/V5r9sb89
I am getting same error from last 20 days. I also tried to clear out folder.
Thanks in advance !

Compile errors when building Cornerstone v4.3_r2.2

I'm trying to build this on my device, but I have some problems during the building process. First of all, I synced the AOSP 4.3_r2.2 source tree. Then I copied the entire cornerstone codes (from branch v4.3_r2.2) into the source tree. Then I start to build.
First, I got a lot of errors like these:
Code:
frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
...
After compared a lot, I found lots of missing symbols seems only in public.xml. If I were right, I think these symbols should be defined in somewhere else, then be added into public.xml. So I just removed these by restore the public.xml to unmodified (git checkout).
And then when I ran building again, I got the error like this:
Code:
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:57: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:54: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
frameworks/base/services/java/com/android/server/wm/DimSurface.java:48: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimSurface.java:45: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
By looked into the AOSP source, I found the Surface.FX_SURFACE_DIM should be SurfaceControl.FX_SURFACE_DIM, and the WindowStateAnimator.SurfaceTrace constructor's parameter number is different. So I wonder whether am I use the "right" source tree of AOSP? If not, which version should I sync? Since there are so many differences than the codes in cornerstone.
Thanks.
popoalex said:
I'm trying to build this on my device, but I have some problems during the building process. First of all, I synced the AOSP 4.3_r2.2 source tree. Then I copied the entire cornerstone codes (from branch v4.3_r2.2) into the source tree. Then I start to build.
First, I got a lot of errors like these:
Code:
frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
...
After compared a lot, I found lots of missing symbols seems only in public.xml. If I were right, I think these symbols should be defined in somewhere else, then be added into public.xml. So I just removed these by restore the public.xml to unmodified (git checkout).
And then when I ran building again, I got the error like this:
Code:
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:57: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:54: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
frameworks/base/services/java/com/android/server/wm/DimSurface.java:48: cannot find symbol
symbol : variable FX_SURFACE_DIM
location: class android.view.Surface
Surface.FX_SURFACE_DIM);
^
frameworks/base/services/java/com/android/server/wm/DimSurface.java:45: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
^
...
By looked into the AOSP source, I found the Surface.FX_SURFACE_DIM should be SurfaceControl.FX_SURFACE_DIM, and the WindowStateAnimator.SurfaceTrace constructor's parameter number is different. So I wonder whether am I use the "right" source tree of AOSP? If not, which version should I sync? Since there are so many differences than the codes in cornerstone.
Thanks.
Click to expand...
Click to collapse
Finally resolved the problem, by did these:
1. Removed the symbol definition from public.xml;
2. Replaced android.view.Surface with android.view.SurfaceControl, and WindowManagerService.DEFAULT_DIM_DURATION with WindowAnimator.DEFAULT_DIM_DURATION.

Categories

Resources