|
#381
|
||||
|
||||
|
Código:
Copying: /home/davidvaz/android/omni/out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/noproguard.classes.jar target Java: bmgr (/home/davidvaz/android/omni/out/target/common/obj/JAVA_LIBRARIES/bmgr_intermediates/classes) packages/apps/OmniGears/res/xml/active_display_settings.xml:57: error: No resource identifier found for attribute 'min' in package 'com.android.settings' packages/apps/OmniGears/res/xml/active_display_settings.xml:57: error: No resource identifier found for attribute 'unitsLeft' in package 'com.android.settings' packages/apps/OmniGears/res/xml/active_display_settings.xml:57: error: No resource identifier found for attribute 'unitsRight' in package 'com.android.settings' make: *** [/home/davidvaz/android/omni/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1 Gracias
|
|
|
|
#382
|
||||
|
||||
|
Cita:
Código:
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2013, The ChameleonOS Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<declare-styleable name="SeekBarPreference">
<attr name="min" format="integer" />
<attr name="unitsLeft" format="string" />
<attr name="unitsRight" format="string" />
</declare-styleable>
</resources>
Código:
Todo esto ya estaba:
<declare-styleable name="IntervalSeekBar">
<attr name="min" format="float" /> <- Min ya estaba de antes
<attr name="max" format="float" />
<attr name="defaultValue" format="float" />
<attr name="digits" format="integer" />
</declare-styleable>
Esto es lo que añadí:
<declare-styleable name="SeekBarPreference">
<attr name="unitsLeft" format="string" />
<attr name="unitsRight" format="string" />
</declare-styleable>
Última edición por AlvaroOrduna Día 22/10/13 a las 23:16:50 |
|
#383
|
||||
|
||||
|
Cita:
![]() Gracias Alvaro!! |
| Gracias de parte de: | ||
|
#384
|
||||
|
||||
|
Hola de nuevo... errores.. dos, y espero que no de más...
![]() Código:
target Dex: Apollo
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/ActiveDisplaySettings.java:50: error: cannot find symbol
private SeekBarPreference mBrightnessLevel;
^
symbol: class SeekBarPreference
location: class ActiveDisplaySettings
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/ActiveDisplaySettings.java:86: error: cannot find symbol
mBrightnessLevel = (SeekBarPreference) findPreference(KEY_BRIGHTNESS);
^
symbol: class SeekBarPreference
location: class ActiveDisplaySettings
target Java: Browser (/home/davidvaz/android/omni/out/target/common/obj/APPS/Browser_intermediates/classes)
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.
2 errors
|
|
#385
|
||||
|
||||
|
Ahora te falta el archivo SeekBarPreferences, que esta en
Copialo y listo (en principio) Edito: es este archivo: src/com/android/settings/chameleonos/SeekBarPreference.java Última edición por AlvaroOrduna Día 22/10/13 a las 23:55:19 |
| Gracias de parte de: | ||
|
#386
|
||||
|
||||
|
Cita:
![]() Para una vez que el pu... cherry-pick no da esos errores para corregir "a mano" (que sale <<<<< HEAD o algo así...) va y me salen errores igualmente ![]() Gracias!! - - - - - - - - - Después de esto a ver si consigo meter Halo... deseadme suerte (me parece que voy a estar dando el coñazo varios días en este hilo )
|
|
#387
|
||||
|
||||
|
Cita:
De todas formas, cuando te salgan ese tipo de errores busca el símbolo o la clase o lo que sea dentro del repo de donde estés cogiendo el commit. De esta fomra podrás ver por ti mismo donde se declara ese símbolo o clase o lo que sea y podrás corregirlo mejor, a parte de que aprenderás por ti mismo. Luego si sigues teniendo problemas siempre estaremos por aquí, jeje. |
| Gracias de parte de: | ||
|
#388
|
||||
|
||||
|
Cita:
Pero bueno.. después de meter ese archivo da estos errores: Código:
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/LatinIME_intermediates/proguard.classes.dex
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/Launcher2_intermediates/classes-jarjar.jar
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/Mms_intermediates/proguard.classes.dex
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/PackageInstaller_intermediates/proguard.classes.dex
target Java: Settings (/home/davidvaz/android/omni/out/target/common/obj/APPS/Settings_intermediates/classes)
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/davidvaz/android/omni/out/target/common/obj/APPS/Shell_intermediates/proguard.classes.dex
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/ActiveDisplaySettings.java:50: error: cannot find symbol
private SeekBarPreference mBrightnessLevel;
^
symbol: class SeekBarPreference
location: class ActiveDisplaySettings
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/ActiveDisplaySettings.java:86: error: cannot find symbol
mBrightnessLevel = (SeekBarPreference) findPreference(KEY_BRIGHTNESS);
^
symbol: class SeekBarPreference
location: class ActiveDisplaySettings
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:99: error: cannot find symbol
layout = (RelativeLayout)mInflater.inflate(R.layout.seek_bar_preference, parent, false);
^
symbol: variable seek_bar_preference
location: class layout
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:119: error: cannot find symbol
ViewGroup newContainer = (ViewGroup) view.findViewById(R.id.seekBarPrefBarContainer);
^
symbol: variable seekBarPrefBarContainer
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:148: error: cannot find symbol
mStatusText = (TextView)layout.findViewById(R.id.seekBarPrefValue);
^
symbol: variable seekBarPrefValue
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:154: error: cannot find symbol
TextView unitsRight = (TextView)layout.findViewById(R.id.seekBarPrefUnitsRight);
^
symbol: variable seekBarPrefUnitsRight
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:157: error: cannot find symbol
TextView unitsLeft = (TextView)layout.findViewById(R.id.seekBarPrefUnitsLeft);
^
symbol: variable seekBarPrefUnitsLeft
location: class id
make -C kernel/lge/mako O=/home/davidvaz/android/omni/out/target/product/mako/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/davidvaz/android/omni/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
make[1]: se ingresa al directorio «/home/davidvaz/android/omni/kernel/lge/mako»
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.
7 errors
make: *** [/home/davidvaz/android/omni/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Se espera a que terminen otras tareas....
![]() Bueno, algo tengo claro.. voy a estudiar programación para dejar de molestar aquí
|
|
#389
|
||||
|
||||
|
Cita:
Lo mejor seria que publicarás los repos en github para poder mirar todo el código, porque sin ver que has cambiado y todo eso es algo difícil de corregir. |
| Gracias de parte de: | ||
|
#390
|
||||
|
||||
|
Con eso te refieres a que suba el código que tengo actualmente?? (Settings y OmniGears)??
Frameworks/base está aplicado con éxito, eso te lo aseguro.. a parte de que sería imposible subirlo para mi (800mb más o menos...) EDITO: Subidos esos dos... Settings OmniGears Última edición por David_Vaz Día 23/10/13 a las 00:34:25 |
|
#391
|
||||
|
||||
|
No creo que te cueste mucho. Primero clona los repos de OmniROM a tu cuenta, así te evitas tener que subir todo y luego sube tus cambios con tu commits y demás.
|
| Gracias de parte de: | ||
|
#392
|
||||
|
||||
|
Cita:
Edité el otro mensaje con los repos de Settings y Omnigears.. espero que llegue con esos.. si no tendré que subir ese desde 0... :/ |
|
#393
|
||||
|
||||
|
Pues mira, el primer fallo que veo ( y era el que me temía) es que en SeekBarPreference.java, el paquete lo llamas package com.android.settings.chameleonos, cuando debería ser package org.omnirom.omnigears.chameleonos
Ahora mismo no veo nada mas (solo le he echado un vistazo en el móvil). Mañana lo miro mas a fondo y te comento. |
| Gracias de parte de: | ||
|
#394
|
||||
|
||||
|
Cita:
... y tengo que traducir también...
|
|
#395
|
||||
|
||||
|
Creo que también te hará falta esto: https://github.com/ChameleonOS/andro...preference.xml
|
| Gracias de parte de: | ||
|
#396
|
||||
|
||||
|
Bueno, después de cambiar el nombre de package ya han desaparecido 2 de los 7 errores.. nos quedan 5.
Código:
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/Gallery2_intermediates/classes.jar
Install: /home/davidvaz/android/omni/out/target/product/mako/system/app/LatinIME.apk
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:99: error: cannot find symbol
layout = (RelativeLayout)mInflater.inflate(R.layout.seek_bar_preference, parent, false);
^
symbol: variable seek_bar_preference
location: class layout
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:119: error: cannot find symbol
ViewGroup newContainer = (ViewGroup) view.findViewById(R.id.seekBarPrefBarContainer);
^
symbol: variable seekBarPrefBarContainer
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:148: error: cannot find symbol
mStatusText = (TextView)layout.findViewById(R.id.seekBarPrefValue);
^
symbol: variable seekBarPrefValue
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:154: error: cannot find symbol
TextView unitsRight = (TextView)layout.findViewById(R.id.seekBarPrefUnitsRight);
^
symbol: variable seekBarPrefUnitsRight
location: class id
packages/apps/Settings/../OmniGears/src/org/omnirom/omnigears/chameleonos/SeekBarPreference.java:157: error: cannot find symbol
TextView unitsLeft = (TextView)layout.findViewById(R.id.seekBarPrefUnitsLeft);
^
symbol: variable seekBarPrefUnitsLeft
location: class id
Copying: /home/davidvaz/android/omni/out/target/common/obj/APPS/Launcher2_intermediates/classes.jar
Install: /home/davidvaz/android/omni/out/target/product/mako/system/app/Mms.apk
Install: /home/davidvaz/android/omni/out/target/product/mako/system/app/PackageInstaller.apk
Install: /home/davidvaz/android/omni/out/target/product/mako/system/app/Shell.apk
make -C kernel/lge/mako O=/home/davidvaz/android/omni/out/target/product/mako/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/davidvaz/android/omni/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage
make[1]: se ingresa al directorio «/home/davidvaz/android/omni/kernel/lge/mako»
GEN /home/davidvaz/android/omni/out/target/product/mako/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
warning: (ARCH_MSM_KRAITMP && ARCH_MSM_CORTEX_A5) selects HAVE_HW_BRKPT_RESERVED_RW_ACCESS which has unmet direct dependencies (HAVE_HW_BREAKPOINT)
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
make: *** [/home/davidvaz/android/omni/out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: *** Se espera a que terminen otras tareas....
Última edición por David_Vaz Día 23/10/13 a las 00:56:07 |
|
#397
|
||||
|
||||
|
Cita:
De todas formas, de donde dices que has cogido el coomit, porque eso de que esta adaptado a Omni... O bien tenias que haber añadido otro commit anterior o bien te han engañado
|
|
#398
|
||||
|
||||
|
Cita:
![]() Mira, los cogí de aquí: AQUI Todos estos: ![]() Pero si no está adaptado no pasa nada.. así aprendo algo!!
Última edición por David_Vaz Día 23/10/13 a las 01:02:06 |
|
#399
|
||||
|
||||
|
Ahora me ha dado este error:
make[2]: *** [modules] Error 1 Lo bueno que tiene, es que unas líneas abajo, sale esto: make: [TARGET_KERNEL_BINARIES] Error 1 (no tiene efecto) Y después de eso, cuando acaba de compilar, vuelvo a compilar y ya no sale (sale siempre que compilo con algo nuevo... la primera vez.) |
|
|
|
#400
|
||||
|
||||
|
Para el repo de settings tu has copiado este commit https://gerrit.omnirom.org/1006, pero necesitas este también https://gerrit.omnirom.org/1007
Si te fijas, en el 1006 (el que has copiado) pone "Dependencia" y dentro el commit que te digo. Mira:
|
| Gracias de parte de: | ||
| Respuesta |
Estás aquí
|
||||||
|
||||||
«
Tema Anterior
|
Siguiente tema
»
|
|
Hora actual: 18:18:50 (GMT +1)
HTCMania: líderes desde el 2007








