|
#501
|
|
Se te habrá flipado un poco el repo. Yo lo hago así y nunca me ha dado problemas.
|
|
|
|
#502
|
||||
|
||||
|
buenas..intentando meter la opcion de ver la RAMbar en reciente me sale esto..alguien sabe q es?gracias!!
Código:
packages/apps/Settings/src/com/android/settings/omnikang/RamBar.java:109: cannot find symbol
symbol : variable ram_bar
location: class com.android.settings.R.menu
inflater.inflate(R.menu.ram_bar, menu);
^
|
|
#503
|
||||
|
||||
|
Cita:
https://github.com/OmniKang/android_...ng/RamBar.java |
| Los siguientes 2 usuarios han agradecido a mbc596 su comentario: | ||
|
#504
|
||||
|
||||
|
Cita:
Gracias mbc! |
|
#505
|
||||
|
||||
|
Ya estamos aquí de nuevo dando por culo...
![]() A ver, con la implementación de Multiventana (quiero probarlo, nada más) Error: Código:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
frameworks/base/core/java/android/inputmethodservice/InputMethodService.java:921: isFullscreen is already defined in updateFullscreenMode()
boolean isFullscreen = mShowInputRequested && (onEvaluateFullscreenMode() || onEvaluateSplitView());
^
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: *** [/home/davidvaz/android/du/out/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Código:
/**
* Re-evaluate whether the input method should be running in fullscreen
* mode, and update its UI if this has changed since the last time it
* was evaluated. This will call {@link #onEvaluateFullscreenMode()} to
* determine whether it should currently run in fullscreen mode. You
* can use {@link #isFullscreenMode()} to determine if the input method
* is currently running in fullscreen mode.
*/
public void updateFullscreenMode() {
boolean fullScreenOverride = Settings.System.getIntForUser(getContentResolver(),
Settings.System.DISABLE_FULLSCREEN_KEYBOARD, 0,
UserHandle.USER_CURRENT_OR_SELF) != 0;
boolean isFullscreen;
if (fullScreenOverride) {
isFullscreen = false;
} else {
isFullscreen = mShowInputRequested && onEvaluateFullscreenMode();
}
boolean isFullscreen = mShowInputRequested && (onEvaluateFullscreenMode() || onEvaluateSplitView());
boolean changed = mLastShowInputRequested != mShowInputRequested;
if (mIsFullscreen != isFullscreen || !mFullscreenApplied) {
changed = true;
mIsFullscreen = isFullscreen;
InputConnection ic = getCurrentInputConnection();
if (ic != null) ic.reportFullscreenMode(isFullscreen);
mFullscreenApplied = true;
initialize();
LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
mFullscreenArea.getLayoutParams();
if (isFullscreen) {
mFullscreenArea.setBackgroundDrawable(mThemeAttrs.getDrawable(
com.android.internal.R.styleable.InputMethodService_imeFullscreenBackground));
lp.height = 0;
lp.weight = 1;
} else {
mFullscreenArea.setBackgroundDrawable(null);
lp.height = LinearLayout.LayoutParams.WRAP_CONTENT;
lp.weight = 0;
}
((ViewGroup)mFullscreenArea.getParent()).updateViewLayout(
mFullscreenArea, lp);
if (isFullscreen) {
if (mExtractView == null) {
View v = onCreateExtractTextView();
ARREGLADO Última edición por David_Vaz Día 02/01/14 a las 19:21:39 |
|
#506
|
||||
|
||||
|
Hola, estoy añadiendo gesture anywhere y tengo este error
Código:
frameworks/base/packages/SystemUI/src/com/android/systemui/chaos/TriggerOverlayView.java:81: cannot find symbol
symbol : variable trigger_region
location: class com.android.systemui.R.drawable
setBackgroundResource(R.drawable.trigger_region);
^
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: *** [/home/evuz/Android/PAS/out/target/common/obj/APPS/SystemUI_intermediates/classes-full-debug.jar] Error 41
Edito: solo tuve que compilar en limpio y funcionó Un saludo! Última edición por evuz Día 05/01/14 a las 01:42:45 |
|
#507
|
|
|
Cita:
|
|
#508
|
|
Hola de nuevo, estoy añadiendole los quicktoggles de PA a AOSP, y tras solucionar todos los errores y compilar, cuando intento activar el toggle de cast, me da FC SystemUI, pero solo con ese, el commit es este:
https://github.com/AOSPA/android_fra...fe514a852e5c3c Y el logcat que me da es este: Código:
I/AudioMixer( 170): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
D/audio_hw_primary( 170): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER( 170): ACDB -> send_afe_cal
V/Activity( 877): onStart com.android.launcher2.Launcher@427ed728
V/Activity( 877): onResume com.android.launcher2.Launcher@427ed728
D/NfcService( 858): NFC-C ON
I/USERIAL_LINUX( 858): USERIAL_Open(): enter
I/USERIAL_LINUX( 858): USERIAL_Open() device: /dev/bcm2079x-i2c port=5, uart_port=0 WAKE_DELAY(20) WRITE_DELAY(20) POWER_ON_DELAY(300) PRE_POWER_OFF_DELAY(10) POST_POWER_OFF_DELAY(0)
D/PhoneStatusBar( 702): disable: < expand icons alerts ticker system_info back* home* recent* clock* search* >
I/USERIAL_LINUX( 858): USERIAL_Open(): exit
D/dalvikvm( 597): GC_FOR_ALLOC freed 191K, 8% free 11945K/12976K, paused 91ms, total 92ms
V/PanelView( 702): animationTick called with dtms=0; nothing to do (h=249.5 v=1995.657)
D/audio_hw_primary( 170): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER( 170): ACDB -> send_afe_cal
V/PanelView( 702): animationTick called with dtms=0; nothing to do (h=1184.0 v=-4000.0)
W/InputMethodManagerService( 597): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42512b58 attribute=null, token = android.os.BinderProxy@425a4f68
V/PanelView( 702): animationTick called with dtms=0; nothing to do (h=197.5 v=1842.495)
D/audio_hw_primary( 170): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
D/ACDB-LOADER( 170): ACDB -> send_afe_cal
D/AndroidRuntime( 702): Shutting down VM
W/dalvikvm( 702): threadid=1: thread exiting with uncaught exception (group=0x41ae9ba8)
E/AndroidRuntime( 702): FATAL EXCEPTION: main
E/AndroidRuntime( 702): Process: com.android.systemui, PID: 702
E/AndroidRuntime( 702): java.lang.NullPointerException
E/AndroidRuntime( 702): at com.android.systemui.statusbar.phone.QuickSettingsContainerView.setEditModeEnabled(QuickSettingsContainerView.java:213)
E/AndroidRuntime( 702): at com.android.systemui.statusbar.phone.PhoneStatusBar$29$1.onAnimationEnd(PhoneStatusBar.java:2503)
E/AndroidRuntime( 702): at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1030)
E/AndroidRuntime( 702): at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1056)
E/AndroidRuntime( 702): at android.animation.ValueAnimator.access$400(ValueAnimator.java:50)
E/AndroidRuntime( 702): at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:644)
E/AndroidRuntime( 702): at android.animation.ValueAnimator$AnimationHandler.run(ValueAnimator.java:660)
E/AndroidRuntime( 702): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
E/AndroidRuntime( 702): at android.view.Choreographer.doCallbacks(Choreographer.java:574)
E/AndroidRuntime( 702): at android.view.Choreographer.doFrame(Choreographer.java:543)
E/AndroidRuntime( 702): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
E/AndroidRuntime( 702): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 702): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 702): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 702): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 702): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 702): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 702): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 702): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime( 702): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 702): Sending signal. PID: 702 SIG: 9
I/ActivityManager( 597): Process com.android.systemui (pid 702) has died.
W/MediaFocusControl( 597): RemoteControl: display android.media.IRemoteControlDisplay$Stub$Proxy@425c2058 died
V/KeyguardServiceDelegate( 597): *** Keyguard disconnected (boo!)
I/WindowState( 597): WIN DEATH: Window{42660268 u0 NavigationBar}
W/InputDispatcher( 597): channel '4255a9b0 StatusBar (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 597): channel '4255a9b0 StatusBar (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 597): channel '426a0f00 Keyguard (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 597): channel '426a0f00 Keyguard (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 597): channel '425d8d40 com.android.systemui.ImageWallpaper (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 597): channel '425d8d40 com.android.systemui.ImageWallpaper (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 597): channel '42533c90 SearchPanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 597): channel '42533c90 SearchPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 597): Attempted to unregister already unregistered input channel '4255a9b0 StatusBar (server)'
W/WallpaperService( 597): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
I/WindowState( 597): WIN DEATH: Window{4255a9b0 u0 StatusBar}
W/InputDispatcher( 597): Attempted to unregister already unregistered input channel '425d8d40 com.android.systemui.ImageWallpaper (server)'
W/InputDispatcher( 597): Attempted to unregister already unregistered input channel '426a0f00 Keyguard (server)'
V/WindowManager( 597): Removing keyguard window (Did it crash?)
I/WindowState( 597): WIN DEATH: Window{425d8d40 u0 com.android.systemui.ImageWallpaper}
I/WindowState( 597): WIN DEATH: Window{426a0f00 u0 Keyguard}
W/InputDispatcher( 597): Attempted to unregister already unregistered input channel '42533c90 SearchPanel (server)'
I/WindowState( 597): WIN DEATH: Window{42533c90 u0 SearchPanel}
I/ActivityManager( 597): Start proc com.android.systemui for restart com.android.systemui: pid=1976 uid=10007 gids={50007, 1028, 1015, 1035, 3002, 3001}
W/InputMethodManagerService( 597): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@425f9c48 (uid=10008 pid=877)
javierd@javierd-GE70-2OC-2OD-2OE ~ $
Gracias |
|
#509
|
||||
|
||||
|
alguien sabe de este error??un saludo!!
Código:
target Java: Settings (/home/david/slim_kk/out/target/common/obj/APPS/Settings_intermediates/classes)
packages/apps/Settings/src/com/android/settings/crdroid/SeekBarPreferenceChOS.java:99: cannot find symbol
symbol : variable seek_bar_preference
location: class com.android.settings.R.layout
layout = (RelativeLayout)mInflater.inflate(R.layout.seek_bar_preference, parent, false);
^
packages/apps/Settings/src/com/android/settings/crdroid/SeekBarPreferenceChOS.java:119: cannot find symbol
symbol : variable seekBarPrefBarContainer
location: class com.android.settings.R.id
ViewGroup newContainer = (ViewGroup) view.findViewById(R.id.seekBarPrefBarContainer);
^
packages/apps/Settings/src/com/android/settings/crdroid/SeekBarPreferenceChOS.java:148: cannot find symbol
symbol : variable seekBarPrefValue
location: class com.android.settings.R.id
mStatusText = (TextView)layout.findViewById(R.id.seekBarPrefValue);
^
packages/apps/Settings/src/com/android/settings/crdroid/SeekBarPreferenceChOS.java:154: cannot find symbol
symbol : variable seekBarPrefUnitsRight
location: class com.android.settings.R.id
TextView unitsRight = (TextView)layout.findViewById(R.id.seekBarPrefUnitsRight);
^
packages/apps/Settings/src/com/android/settings/crdroid/SeekBarPreferenceChOS.java:157: cannot find symbol
symbol : variable seekBarPrefUnitsLeft
location: class com.android.settings.R.id
TextView unitsLeft = (TextView)layout.findViewById(R.id.seekBarPrefUnitsLeft);
^
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.
5 errors
|
|
#510
|
|
|
Cita:
|
| Gracias de parte de: | ||
|
#511
|
||||
|
||||
|
Cita:
Te falta el archivo seek_bar_preference.xml en res/layout |
| Gracias de parte de: | ||
|
#512
|
||||
|
||||
|
Eso es lo q e echo pero me sigue tirando el error...es lo q me a desconcertado!!
|
|
#513
|
||||
|
||||
|
Entonces vas a tener que compilar en limpio. No entiendo por que pasa... Vas a tener que meter en drawables el archivo trigger_region creo que era. Te lo digo para que no tengas que compilar dos veces en limpio
|
|
#514
|
||||
|
||||
|
Ya esta compilando de nuevo...tenia archivos con la dirección mal
|
|
#515
|
||||
|
||||
|
vamos a por este!!!e arreglado 8 mas..me falta este...
Código:
target Java: SystemUI (/home/david/slim_kk/out/target/common/obj/APPS/SystemUI_intermediates/classes)
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/AppSidebar.java:121: cannot find symbol
symbol : variable config_app_sidebar_trigger_width
location: class com.android.systemui.R.dimen
mTriggerWidth = context.getResources().getDimensionPixelSize(R.dimen.config_app_sidebar_trigger_width);
^
Última edición por neophite31 Día 06/01/14 a las 02:50:48 |
|
#516
|
||||
|
||||
|
Cita:
|
| Gracias de parte de: | ||
|
#517
|
||||
|
||||
|
Cita:
Es que tío los commits están a medias...los fallos de compilacion q les da a ellos no los suben..menos mal q siempre busco 2 o 3 del mismo..y de los 3 sacas 1 completo..jajaja |
|
#518
|
||||
|
||||
|
Algunos a medias y en otros sobran cosas, algunas veces sales loco yo solo he añadido y que funcionen hasta ahora 3, tampoco he intentado mas ya que con estos he tenido para rato jeje.
|
|
#519
|
||||
|
||||
|
ES ENTRETENIDO SI...JAJAJJAJA yo mi rom lleva bastantes y de momento..A NO SER Q ENCUENTRES UNO Q DEBAS ADAPTARLO A TU CODIGO..NORMALMENTE FUNCIONAN...yo este a ver..de momento esta compilando..lo malo es q siempre llevo un orden para añadirlos y asi se lo q hay q resolver sn comerme la cabeza..ahora q e metido este primero ya veremos luego cuando añada lo demas..pero bueno...primero q funcione...
|
|
|
|
#520
|
||||
|
||||
|
Cita:
|
| Respuesta |
Estás aquí
|
||||||
|
||||||
«
Tema Anterior
|
Siguiente tema
»
|
|
Hora actual: 15:43:52 (GMT +1)
HTCMania: líderes desde el 2007







