Android - Codigo sistema toma pedidos

   
Vista:
Imágen de perfil de bryan

Codigo sistema toma pedidos

Publicado por bryan (2 intervenciones) el 21/03/2017 06:09:39
Problema con este codigo, cada vez que lo ingreso la aplicacion se detiene, solicito su pronta ayuda.

TM1

Error que genera el LOGCAT

03-21 04:54:04.996 3794-3794/bsoto.menarini.menarini W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
03-21 04:54:05.834 3794-3836/bsoto.menarini.menarini I/OpenGLRenderer: Initialized EGL, version 1.4
03-21 04:54:05.834 3794-3836/bsoto.menarini.menarini D/OpenGLRenderer: Swap behavior 1
03-21 04:54:05.834 3794-3836/bsoto.menarini.menarini W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
03-21 04:54:05.834 3794-3836/bsoto.menarini.menarini D/OpenGLRenderer: Swap behavior 0
03-21 04:54:06.204 3794-3794/bsoto.menarini.menarini W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
03-21 04:54:06.211 3794-3794/bsoto.menarini.menarini I/Choreographer: Skipped 37 frames! The application may be doing too much work on its main thread.
03-21 04:55:14.842 3794-3794/bsoto.menarini.menarini W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
03-21 04:55:18.889 3794-3794/bsoto.menarini.menarini I/Choreographer: Skipped 73 frames! The application may be doing too much work on its main thread.
03-21 04:55:19.430 3794-3805/bsoto.menarini.menarini I/art: Background sticky concurrent mark sweep GC freed 33254(1363KB) AllocSpace objects, 0(0B) LOS objects, 9% free, 13MB/14MB, paused 7.672ms total 69.206ms
03-21 04:55:19.514 3794-3794/bsoto.menarini.menarini I/Choreographer: Skipped 36 frames! The application may be doing too much work on its main thread.
03-21 04:55:20.131 3794-3794/bsoto.menarini.menarini W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
03-21 04:55:26.971 3794-3794/bsoto.menarini.menarini D/AndroidRuntime: Shutting down VM
03-21 04:55:26.972 3794-3794/bsoto.menarini.menarini E/AndroidRuntime: FATAL EXCEPTION: main
Process: bsoto.menarini.menarini, PID: 3794
java.lang.IllegalStateException: Could not find method habilitar1(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatCheckBox with id 'CH1'
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.resolveMethod(AppCompatViewInflater.java:327)
at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:284)
at android.view.View.performClick(View.java:5610)
at android.widget.CompoundButton.performClick(CompoundButton.java:122)
at android.view.View$PerformClick.run(View.java:22265)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder