Tengo un código que funciona el 99% del tiempo debido a que se despliegue en una gran cantidad de clientes, pero a veces me sale el siguiente:InvocationTargetException en inflar un xml - androide
java.lang.reflect.InvocationTargetException android.widget.LinearLayout. (LinearLayout.java:92) java.lang.reflect.Constructor.constructNative (Método nativo) java.lang.reflect.Constructor.newInstance (Constructor.java:446) android.view.LayoutInflater .createView (LayoutInflater.java:499) com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView (PhoneLayoutInflater.java:56) android.view.LayoutInflater.createViewFromTag (LayoutInflater.java:562) android.view.LayoutInflater.rInflate (LayoutInflater.java:617) android.view.LayoutInflater.inflate (LayoutInflater.java:407) android.view. LayoutInflater.inflate (LayoutInflater.java:320) com.mycode.mycode.MyClass.draw (xxxxxxx) .....
y en mi código que tengo: li
LayoutInflater = (LayoutInflater) .getSystemService (Context.LAYOUT_INFLATER_SERVICE);
theview = li.inflate (R.layout.partofthescreen, somecontainer, false);
así que la pregunta es por qué estoy obteniendo InvocationTargetException.
Gracias
gracias, voy a tratar para llegar a la causa de eso. –