Sending an automatic email - android

Hi im trying to follow this tutorial
I followed all the steps and when i try to execute the app i get the following error:
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress E/dalvikvm: Could not find class 'ar.com.taxiexpress.taxiexpress.Mail', referenced from method ar.com.taxiexpress.taxiexpress.EnvioMail$SendMail.doInBackground
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress W/dalvikvm: VFY: unable to resolve new-instance 2544 (Lar/com/taxiexpress/taxiexpress/Mail;) in Lar/com/taxiexpress/taxiexpress/EnvioMail$SendMail;
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress D/dalvikvm: VFY: replacing opcode 0x22 at 0x0001
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress W/dalvikvm: Unable to resolve superclass of Lar/com/taxiexpress/taxiexpress/Mail; (9576)
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress W/dalvikvm: Link of class 'Lar/com/taxiexpress/taxiexpress/Mail;' failed
03-14 17:24:19.618 3532-3532/ar.com.taxiexpress.taxiexpress D/dalvikvm: DexOpt: unable to opt direct call 0x51e4 at 0x07 in Lar/com/taxiexpress/taxiexpress/EnvioMail$SendMail;.doInBackground
03-14 17:24:19.650 3532-3676/ar.com.taxiexpress.taxiexpress W/dalvikvm: threadid=17: thread exiting with uncaught exception (group=0xa4d31b20)
03-14 17:24:19.650 3532-3676/ar.com.taxiexpress.taxiexpress E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
Process: ar.com.taxiexpress.taxiexpress, PID: 3532
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.NoClassDefFoundError: ar.com.taxiexpress.taxiexpress.Mail
at ar.com.taxiexpress.taxiexpress.EnvioMail$SendMail.doInBackground(EnvioMail.java:51)
at ar.com.taxiexpress.taxiexpress.EnvioMail$SendMail.doInBackground(EnvioMail.java:34)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:841) 
03-14 17:24:19.678 3532-3532/ar.com.taxiexpress.taxiexpress W/EGL_genymotion: eglSurfaceAttrib not implemented
03-14 17:24:19.854 3532-3532/ar.com.taxiexpress.taxiexpress W/EGL_genymotion: eglSurfaceAttrib not implemented
03-14 17:24:20.382 3532-3546/ar.com.taxiexpress.taxiexpress I/GMPM: Tag Manager is not found and thus will not be used
03-14 17:27:01.184 3532-3538/ar.com.taxiexpress.taxiexpress D/dalvikvm: GC_FOR_ALLOC freed 305K, 3% free 16909K/17288K, paused 8ms, total 8ms
03-14 17:29:19.670 3532-3676/ar.com.taxiexpress.taxiexpress I/Process: Sending signal. PID: 3532 SIG: 9
could someone tell me what should I check to resolve this issue, thanks in advance.

Related

How to debug an error when I create a string in login method? [duplicate]

This question already has answers here:
Can not find a View with findViewById()
(4 answers)
What is a NullPointerException, and how do I fix it?
(12 answers)
What is a stack trace, and how can I use it to debug my application errors?
(7 answers)
Closed 5 years ago.
03-30 23:49:56.536 15105-15105/? D/dalvikvm: Late-enabling CheckJNI
03-30 23:49:56.560 15105-15111/? E/jdwp: Failed writing handshake
bytes: Broken pipe (-1 of 14) 03-30 23:49:56.560 15105-15111/?
D/dalvikvm: Debugger has detached; object registry had 0 entries 03-30
23:49:56.600 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onProvideKeyboardShortcuts, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
03-30 23:49:56.600 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21845:
Landroid/view/Window$Callback;.onProvideKeyboardShortcuts
(Ljava/util/List;Landroid/view/Menu;I)V 03-30 23:49:56.600
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to find class
referenced in signature (Landroid/view/SearchEvent;) 03-30
23:49:56.604 15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onSearchRequested, referenced from method
android.support.v7.view.WindowCallbackWrapper.onSearchRequested 03-30
23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21847:
Landroid/view/Window$Callback;.onSearchRequested
(Landroid/view/SearchEvent;)Z 03-30 23:49:56.604 15105-15105/?
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 03-30 23:49:56.604
15105-15105/? I/dalvikvm: Could not find method
android.view.Window$Callback.onWindowStartingActionMode, referenced
from method
android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
interface method 21851:
Landroid/view/Window$Callback;.onWindowStartingActionMode
(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x72 at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getChangingConfigurations,
referenced from method
android.support.v7.widget.TintTypedArray.getChangingConfigurations
03-30 23:49:56.604 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 502:
Landroid/content/res/TypedArray;.getChangingConfigurations ()I 03-30
23:49:56.604 15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at
0x0002 03-30 23:49:56.604 15105-15105/? I/dalvikvm: Could not find
method android.content.res.TypedArray.getType, referenced from method
android.support.v7.widget.TintTypedArray.getType 03-30 23:49:56.604
15105-15105/? W/dalvikvm: VFY: unable to resolve virtual method 524:
Landroid/content/res/TypedArray;.getType (I)I 03-30 23:49:56.604
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 03-30
23:49:56.636 15105-15105/? I/dalvikvm: Could not find method
android.widget.FrameLayout.startActionModeForChild, referenced from
method
android.support.v7.widget.ActionBarContainer.startActionModeForChild
03-30 23:49:56.636 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 22329:
Landroid/widget/FrameLayout;.startActionModeForChild
(Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
03-30 23:49:56.640 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6f at 0x0002 03-30 23:49:56.640 15105-15105/? I/dalvikvm: Could not
find method android.content.Context.getColorStateList, referenced from
method
android.support.v7.content.res.AppCompatResources.getColorStateList
03-30 23:49:56.640 15105-15105/? W/dalvikvm: VFY: unable to resolve
virtual method 315: Landroid/content/Context;.getColorStateList
(I)Landroid/content/res/ColorStateList; 03-30 23:49:56.640
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 03-30
23:49:56.652 15105-15105/? I/dalvikvm: Could not find method
android.content.res.Resources.getDrawable, referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawable 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 465: Landroid/content/res/Resources;.getDrawable
(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.652 15105-15105/? I/dalvikvm: Could not
find method android.content.res.Resources.getDrawableForDensity,
referenced from method
android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 03-30
23:49:56.652 15105-15105/? W/dalvikvm: VFY: unable to resolve virtual
method 467: Landroid/content/res/Resources;.getDrawableForDensity
(IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
03-30 23:49:56.652 15105-15105/? D/dalvikvm: VFY: replacing opcode
0x6e at 0x0002 03-30 23:49:56.660 15105-15105/? E/dalvikvm: Could not
find class 'android.graphics.drawable.RippleDrawable', referenced from
method
android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
03-30 23:49:56.660 15105-15105/? W/dalvikvm: VFY: unable to resolve
instanceof 150 (Landroid/graphics/drawable/RippleDrawable;) in
Landroid/support/v7/widget/AppCompatImageHelper; 03-30 23:49:56.660
15105-15105/? D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 03-30
23:49:56.680 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 234K, 22%
free 2639K/3364K, paused 1ms+2ms, total 9ms 03-30 23:49:56.692
15105-15105/? D/dalvikvm: GC_FOR_ALLOC freed 31K, 21% free
2676K/3364K, paused 3ms, total 3ms 03-30 23:49:56.692 15105-15105/?
I/dalvikvm-heap: Grow heap (frag case) to 3.506MB for 435468-byte
allocation 03-30 23:49:56.692 15105-15114/? D/dalvikvm: GC_FOR_ALLOC
freed 1K, 19% free 3100K/3792K, paused 3ms, total 3ms 03-30
23:49:56.700 15105-15108/? D/dalvikvm: GC_CONCURRENT freed 3K, 19%
free 3097K/3792K, paused 0ms+0ms, total 6ms 03-30 23:49:56.700
15105-15105/? D/dalvikvm: WAIT_FOR_CONCURRENT_GC blocked 5ms 03-30
23:49:56.700 15105-15105/? I/dalvikvm-heap: Grow heap (frag case) to
3.821MB for 333408-byte allocation 03-30 23:49:56.704 15105-15114/? D/dalvikvm: GC_FOR_ALLOC freed <1K, 17% free 3422K/4120K, paused 4ms,
total 4ms 03-30 23:49:56.748 15105-15105/? D/libEGL: loaded
/system/lib/egl/libEGL_genymotion.so
[ 03-30 23:49:56.748 15105:15105 D/ ]
HostConnection::get() New Host Connection established 0xb85b25b0, tid 15105
[ 03-30 23:49:56.752 62: 62 D/ ]
Socket deconnection 03-30 23:49:56.756 15105-15105/? D/libEGL: loaded
/system/lib/egl/libGLESv1_CM_genymotion.so 03-30 23:49:56.756
15105-15105/? D/libEGL: loaded /system/lib/egl/libGLESv2_genymotion.so
03-30 23:49:56.804 15105-15105/? W/EGL_genymotion: eglSurfaceAttrib
not implemented 03-30 23:49:56.804 15105-15105/? E/OpenGLRenderer:
Getting MAX_TEXTURE_SIZE from GradienCache 03-30 23:49:56.812
15105-15105/? E/OpenGLRenderer: Getting MAX_TEXTURE_SIZE from
Caches::initConstraints() 03-30 23:49:56.812 15105-15105/?
D/OpenGLRenderer: Enabling debug mode 0 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/InputEventSender:
Exception dispatching finished signal. 03-30 23:50:19.456
15105-15105/com.example.samsungvy277.myapp E/MessageQueue-JNI:
Exception in MessageQueue callback: handleReceiveCallback 03-30
23:50:19.468 15105-15105/com.example.samsungvy277.myapp D/dalvikvm:
GC_FOR_ALLOC freed 806K, 30% free 3127K/4428K, paused 5ms, total 5ms
03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
E/MessageQueue-JNI: java.lang.IllegalStateException: Could not execute
method for android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at an 03-30 23:50:19.468 15105-15105/com.example.samsungvy277.myapp
D/AndroidRuntime: Shutting down VM 03-30 23:50:19.472
15105-15105/com.example.samsungvy277.myapp W/dalvikvm: threadid=1:
thread exiting with uncaught exception (group=0xa4c2e648) 03-30
23:50:19.480 15105-15105/com.example.samsungvy277.myapp
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalStateException: Could not execute method for
android:onClick
at
android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:293)
at android.view.View.performClick(View.java:4240)
at android.view.View.onKeyUp(View.java:7928)
at android.widget.TextView.onKeyUp(TextView.java:5606)
at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
at android.view.View.dispatchKeyEvent(View.java:7343)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1393)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1933)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1408)
at android.app.Activity.dispatchKeyEvent(Activity.java:2384)
at
android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:541)
at
android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:59)
at
android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.dispatchKeyEvent(AppCompatDelegateImplBase.java:319)
at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1860)
at
android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:3791)
at
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3774)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3483)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3540)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3406)
at
android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3379)
at
android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3429)
at
android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3398)
at
android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3516)
at
android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3666)
at
android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:1982)
at
android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1698)
at
android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1689)
at
android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:1959)
at
android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:132)
at android.os.Looper.loop(Looper.java:124)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Met 03-30 23:50:22.504
15105-15105/? I/Process: Sending signal. PID: 15105 SIG: 9
Use findViewById after setting your setContentView(R.layout.activity_main)

Android app hanging (not crashing) on real device with illegal method access of RecyclerView

I'm using RecyclerView in my app and my app just hangs (doesn't quit, just animations stop and app becomes completely unresponsive) with the following logs in console:
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Trying to load lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: Added shared lib /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90
05-01 09:23:39.075 21296-21296/com.ulouder.ulouder D/dalvikvm: No JNI_OnLoad found in /data/app-lib/com.ulouder.ulouder-1/libuLouderNative.so 0x41db4c90, skipping init
05-01 09:23:39.345 21296-21296/com.ulouder.ulouder I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#41dab7c8 time:89397538
05-01 09:23:39.350 2281-2319/system_process I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{430106a0 u0 com.ulouder.ulouder/com.ulouder.activities.MainActivity t19} time:89397539
05-01 09:23:42.540 21296-21741/com.ulouder.ulouder D/uLouder: [01 23 2016 09:23:42] Fired event with data: feed loaded nearby
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isUpdated, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17616: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isUpdated ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0031
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.flagRemovedAndOffsetPosition, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17600: Landroid/support/v7/widget/RecyclerView$ViewHolder;.flagRemovedAndOffsetPosition (IIZ)V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0053
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isRemoved, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17613: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isRemoved ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0058
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.clearPayload, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17595: Landroid/support/v7/widget/RecyclerView$ViewHolder;.clearPayload ()V
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x007c
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z from Lcom/ulouder/viewholders/PostViewHolder;)
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder I/dalvikvm: Could not find method android.support.v7.widget.RecyclerView$ViewHolder.isAdapterPositionUnknown, referenced from method com.ulouder.viewholders.PostViewHolder.access$super
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder W/dalvikvm: VFY: unable to resolve virtual method 17609: Landroid/support/v7/widget/RecyclerView$ViewHolder;.isAdapterPositionUnknown ()Z
05-01 09:23:42.720 21296-21296/com.ulouder.ulouder D/dalvikvm: VFY: replacing opcode 0x6f at 0x0086
...
It just goes on for many methods of RecyclerView, crashing the whole app (or thread) with this at the end of the log:
05-01 09:23:42.730 21296-21296/com.ulouder.ulouder W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41873ce0)
Why am I getting this? This happens on real device (Samsung Galaxy S3) with Android 4.4.4 (API 19) while there's no problem with my emulator with Marshmallow.
Once again, Android was misleading. There was nothing to do with those error messages. There was an actual null pointer exception on view binding which crashed the whole thread, but somehow it wasn't reported correctly to logcat.

Failed to authenticate against MCA: Throwable: Failed to save certificate from response

I'm doing bluemix tutorial Sample Android App Link (android app) and got this exception. What can be wrong? I did everything step by step, generated signiture for my android app, linked facebook app with my bluemix app, compiled all libraries needed in gradle. Application works (adds and edits items) but I cannot delete items and authorize through facebook - and it is my aim.
An error stack is below:
03-14 21:29:49.579 14165-14165/? D/dalvikvm: Late-enabling CheckJNI
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/sfconfig.dat, No such file or directory (2)
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/dfactpre.dat, No such file or directory (2)
03-14 21:29:49.659 14165-14165/com.ibm.hellotodoadvanced D/HyLog: I : /data/font/config/sfconfig.dat, No such file or directory (2)
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve virtual method 265: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c2
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve virtual method 572: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
03-14 21:29:50.079 14165-14165/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
03-14 21:29:50.329 14165-14165/com.ibm.hellotodoadvanced I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
OpenGL ES Shader Compiler Version: E031.24.00.08
Build Date: 03/21/14 Fri
Local Branch: AU200-20140313-all-patches-KK8x26-664328
Remote Branch:
Local Patches:
Reconstruct Branch:
03-14 21:29:50.369 14165-14165/com.ibm.hellotodoadvanced D/OpenGLRenderer: Enabling debug mode 0
03-14 21:29:50.459 14165-14165/com.ibm.hellotodoadvanced I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#42106d40 time:95089030
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve static method 60675: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
03-14 21:29:50.589 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced W/dalvikvm: VFY: unable to resolve static method 60674: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
03-14 21:29:50.599 14165-14237/com.ibm.hellotodoadvanced D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: java.lang.RuntimeException: Failed to save certificate from response
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.saveCertificateFromResponse(AuthorizationProcessManager.java:222)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.access$100(AuthorizationProcessManager.java:51)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager$1.handleAuthorizationSuccessResponse(AuthorizationProcessManager.java:133)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager$InnerAuthorizationResponseListener.onSuccess(AuthorizationProcessManager.java:469)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.processResponse(AuthorizationRequestAgent.java:388)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.processResponseWrapper(AuthorizationRequestAgent.java:542)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationRequestAgent.onSuccess(AuthorizationRequestAgent.java:513)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.core.api.internal.BaseRequest$1.onResponse(BaseRequest.java:419)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:170)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: at java.lang.Thread.run(Thread.java:841)
03-14 21:29:52.989 14165-14237/com.ibm.hellotodoadvanced W/System.err: Caused by: java.security.cert.CertificateNotYetValidException
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.android.org.conscrypt.OpenSSLX509Certificate.checkValidity(OpenSSLX509Certificate.java:216)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.certificate.CertificatesUtility.checkValidityWithPublicKey(CertificatesUtility.java:59)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: at com.ibm.mobilefirstplatform.clientsdk.android.security.internal.AuthorizationProcessManager.saveCertificateFromResponse(AuthorizationProcessManager.java:214)
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced W/System.err: ... 12 more
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced E/MainActivity: Failed to authenticate against MCA: Throwable: Failed to save certificate from response
03-14 21:29:52.999 14165-14237/com.ibm.hellotodoadvanced E/MainActivity: Failed to authenticate against MCA, unknown reason
A few things could be going wrong here:
Your test device may be displaying an incorrect date or time. Ensure the date and time are accurate.
You may be using an unsupported Android OS. This sample supports API level 14 and up, (Android 4.0 and up).
Based on the other warnings in the logs, your test device may not contain the most up to date libraries needed. Ensure your device is up to date and/or emulator is properly configured.
Lastly, the further you continue down the error stack the more accurate a solution I can provide. I have never seen this error before so I will need the entire error stack plus your appId and route if the above solutions do not resolve your problem.

Webrtc project: Could not find class 'org.webrtc.RendererCommon$YuvUploader'

I'm trying build native webrtc app in Android. It works fine until I add either Volley, loopj or facebook-android-sdk to the project via Gradle. I'm unable to figure out what is causing the conflict.
Any suggestion on how this can be resolved ? Thank you!
Here is the full log:
01-25 00:48:42.577 25791-25791/? D/dalvikvm: Late-enabling CheckJNI
01-25 00:48:42.677 25791-25791/com.testapp I/dalvikvm: Could not find method android.app.Notification$Builder.setLocalOnly, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zza
01-25 00:48:42.677 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/app/Notification$Builder;.setLocalOnly (Z)Landroid/app/Notification$Builder;
01-25 00:48:42.677 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x00c8
01-25 00:48:42.697 25791-25791/com.testapp I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzh
01-25 00:48:42.697 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve virtual method 591: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
01-25 00:48:42.697 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
01-25 00:48:42.747 25791-25831/com.testapp I/GMPM: App measurement is starting up
01-25 00:48:42.947 25791-25791/com.testapp I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059_msm8960_JB_2.5.5_CL3896081_release_AU (CL3896081)
Build Date: 06/25/13 Tue
Local Branch:
Remote Branch: quic/jb_2.5.5
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_JB_2.5.5.04.02.02.092.059 + NOTHING
01-25 00:48:42.967 25791-25791/com.testapp D/OpenGLRenderer: Enabling debug mode 0
01-25 00:48:43.127 25791-25791/com.testapp W/IInputConnectionWrapper: showStatusIcon on inactive InputConnection
01-25 00:48:43.137 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90636840
01-25 00:48:51.076 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_idle id: android.os.BinderProxy#41bac990 time:90644774
01-25 00:49:00.656 25791-25791/com.testapp D/ConnectActivity: Connecting to room 123456789 at URL https://apprtc.appspot.com
01-25 00:49:00.666 25791-25791/com.testapp I/ActivityManager: Timeline: Activity_launch_request id:com.testapp time:90654362
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.756 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.RendererCommon$YuvUploader', referenced from method org.webrtc.SurfaceViewRenderer.<init>
01-25 00:49:00.756 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9794 (Lorg/webrtc/RendererCommon$YuvUploader;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.756 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x000a
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36315
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x54 at 0x0098
01-25 00:49:00.796 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve instance field 36317
01-25 00:49:00.796 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x52 at 0x0005
01-25 00:49:00.796 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.GlRectDrawer', referenced from method org.webrtc.SurfaceViewRenderer.init
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9753 (Lorg/webrtc/GlRectDrawer;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0002
01-25 00:49:00.806 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$4', referenced from method org.webrtc.SurfaceViewRenderer.release
01-25 00:49:00.806 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9809 (Lorg/webrtc/SurfaceViewRenderer$4;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.806 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002e
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$5', referenced from method org.webrtc.SurfaceViewRenderer.surfaceDestroyed
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9810 (Lorg/webrtc/SurfaceViewRenderer$5;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x002d
01-25 00:49:00.826 25791-25791/com.testapp E/dalvikvm: Could not find class 'org.webrtc.SurfaceViewRenderer$3', referenced from method org.webrtc.SurfaceViewRenderer.tryCreateEglSurface
01-25 00:49:00.826 25791-25791/com.testapp W/dalvikvm: VFY: unable to resolve new-instance 9808 (Lorg/webrtc/SurfaceViewRenderer$3;) in Lorg/webrtc/SurfaceViewRenderer;
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.826 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc4f at 0x0c in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc76 at 0x44 in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc77 at 0x4b in Lorg/webrtc/SurfaceViewRenderer;.<init>
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x9a in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dde at 0xc0 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0xe6 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.836 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0xe8 in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8de0 at 0xea in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddf at 0xec in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddc at 0x15e in Lorg/webrtc/SurfaceViewRenderer;.renderFrameOnRenderThread
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x0b in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x11 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x2a in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x36 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x42 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x55 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x57 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.846 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x59 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8ddd at 0x5e in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dd9 at 0x62 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: DexOpt: unable to optimize instance field ref 0x8dda at 0x66 in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7b at 0x6c in Lorg/webrtc/SurfaceViewRenderer;.updateFrameDimensionsAndReportEvents
01-25 00:49:00.856 25791-25791/com.testapp I/dalvikvm: Failed resolving Lorg/webrtc/GlRectDrawer; interface 9791 'Lorg/webrtc/RendererCommon$GlDrawer;'
01-25 00:49:00.856 25791-25791/com.testapp W/dalvikvm: Link of class 'Lorg/webrtc/GlRectDrawer;' failed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfb52 at 0x04 in Lorg/webrtc/SurfaceViewRenderer;.init
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc79 at 0x30 in Lorg/webrtc/SurfaceViewRenderer;.release
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc7a at 0x2f in Lorg/webrtc/SurfaceViewRenderer;.surfaceDestroyed
01-25 00:49:00.856 25791-25791/com.testapp D/dalvikvm: DexOpt: unable to opt direct call 0xfc78 at 0x02 in Lorg/webrtc/SurfaceViewRenderer;.tryCreateEglSurface
01-25 00:49:00.866 25791-25791/com.testapp E/ActivityThread: Failed to inflate
android.view.InflateException: Binary XML file line #13: Error inflating class org.webrtc.SurfaceViewRenderer
at android.view.LayoutInflater.createView(LayoutInflater.java:620)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343)
at android.app.Activity.setContentView(Activity.java:1929)
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
at android.app.ActivityThread.access$800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5081)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
Caused by: java.lang.NoClassDefFoundError: org.webrtc.RendererCommon$YuvUploader
at org.webrtc.SurfaceViewRenderer.<init>(SurfaceViewRenderer.java:69)
at java.lang.reflect.Constructor.constructNative(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at android.view.LayoutInflater.createView(LayoutInflater.java:594) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:397) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:343) 
at android.app.Activity.setContentView(Activity.java:1929) 
at org.appspot.apprtc.CallActivity.onCreate(CallActivity.java:160) 
at android.app.Activity.performCreate(Activity.java:5231) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265) 
at android.app.ActivityThread.access$800(ActivityThread.java:145) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.app.ActivityThread.main(ActivityThread.java:5081) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 
at dalvik.system.NativeStart.main(Native Method) 
01-25 00:49:00.866 25791-25791/com.testapp D/AndroidRuntime: Shutting down VM
01-25 00:49:00.866 25791-25791/com.testapp W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41913c80)
01-25 00:49:00.886 25791-25791/com.testapp E/AppRTCDemoActivity: Fatal error: org.webrtc.RendererCommon$YuvUploader

NoClassDefFoundError: android.support.v7.app.ActionBarActivity

I keep getting java.lang.NoClassDefFoundError: android.support.v7.app.ActionBarActivityDelegate error for the last two days and I am going to hate android, it it keeps going like this. I am really hopeless. I am adding goseamless api and I get this error just after the
superOnCreate method on this line of code
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash_screen);
it gives the error below while it is trying to set contentView
. But if I dont add it , the app builds without a problem.
This is the stack trace
07-27 15:10:18.130 814-814/com.fourspan.ekmobi I/System.out﹕ debugger has settled (1365)
07-27 15:10:18.180 814-814/com.fourspan.ekmobi V/HwPolicyFactory﹕ : success to get AllImpl object and return....
07-27 15:10:18.210 814-814/com.fourspan.ekmobi V/HwWidgetFactory﹕ : successes to get AllImpl object and return....
07-27 15:10:19.450 814-814/com.fourspan.ekmobi D/dalvikvm﹕ threadid=1: still suspended after undo (sc=1 dc=1)
07-27 15:10:31.590 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegateJBMR2', referenced from method android.support.v7.app.ActionBarActivityDelegate.createDelegate
07-27 15:10:31.590 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1269 (Landroid/support/v7/app/ActionBarActivityDelegateJBMR2;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.590 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0006
07-27 15:10:31.590 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegateJB', referenced from method android.support.v7.app.ActionBarActivityDelegate.createDelegate
07-27 15:10:31.590 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1268 (Landroid/support/v7/app/ActionBarActivityDelegateJB;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.590 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0012
07-27 15:10:31.600 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegateICS', referenced from method android.support.v7.app.ActionBarActivityDelegate.createDelegate
07-27 15:10:31.600 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1267 (Landroid/support/v7/app/ActionBarActivityDelegateICS;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.600 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x001e
07-27 15:10:31.600 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegateHC', referenced from method android.support.v7.app.ActionBarActivityDelegate.createDelegate
07-27 15:10:31.600 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1266 (Landroid/support/v7/app/ActionBarActivityDelegateHC;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.600 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x002a
07-27 15:10:31.600 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegateBase', referenced from method android.support.v7.app.ActionBarActivityDelegate.createDelegate
07-27 15:10:31.600 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1265 (Landroid/support/v7/app/ActionBarActivityDelegateBase;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.600 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0030
07-27 15:10:31.600 814-814/com.fourspan.ekmobi E/dalvikvm﹕ Could not find class 'android.support.v7.app.ActionBarActivityDelegate$ActionBarDrawableToggleImpl', referenced from method android.support.v7.app.ActionBarActivityDelegate.getDrawerToggleDelegate
07-27 15:10:31.600 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve new-instance 1263 (Landroid/support/v7/app/ActionBarActivityDelegate$ActionBarDrawableToggleImpl;) in Landroid/support/v7/app/ActionBarActivityDelegate;
07-27 15:10:31.600 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0000
07-27 15:10:31.610 814-814/com.fourspan.ekmobi W/dalvikvm﹕ VFY: unable to resolve static field 2683 (ActionBarWindow) in Landroid/support/v7/appcompat/R$styleable;
07-27 15:10:31.610 814-814/com.fourspan.ekmobi D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x0004
07-27 15:10:31.610 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x2523 at 0x08 in Landroid/support/v7/app/ActionBarActivityDelegate;.createDelegate
07-27 15:10:31.610 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x2522 at 0x14 in Landroid/support/v7/app/ActionBarActivityDelegate;.createDelegate
07-27 15:10:31.610 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x2521 at 0x20 in Landroid/support/v7/app/ActionBarActivityDelegate;.createDelegate
07-27 15:10:31.610 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x2520 at 0x2c in Landroid/support/v7/app/ActionBarActivityDelegate;.createDelegate
07-27 15:10:31.620 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x251f at 0x32 in Landroid/support/v7/app/ActionBarActivityDelegate;.createDelegate
07-27 15:10:31.620 814-814/com.fourspan.ekmobi D/dalvikvm﹕ DexOpt: unable to opt direct call 0x24fe at 0x03 in Landroid/support/v7/app/ActionBarActivityDelegate;.getDrawerToggleDelegate
07-27 15:10:31.620 814-814/com.fourspan.ekmobi D/AndroidRuntime﹕ Shutting down VM
07-27 15:10:31.620 814-814/com.fourspan.ekmobi W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41f58c50)
07-27 15:10:31.630 814-814/com.fourspan.ekmobi E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.fourspan.ekmobi, PID: 814
java.lang.NoClassDefFoundError: android.support.v7.app.ActionBarActivityDelegateJBMR2
at android.support.v7.app.ActionBarActivityDelegate.createDelegate(ActionBarActivityDelegate.java:48)
at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:96)
at com.fourspan.ekmobi.SplashScreenActivity.onCreate(SplashScreenActivity.java:18)
at android.app.Activity.performCreate(Activity.java:5286)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2319)
at android.app.ActivityThread.access$1100(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1232)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5253)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:939)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
at dalvik.system.NativeStart.main(Native Method)
07-27 15:12:46.750 814-814/com.fourspan.ekmobi I/Process﹕ Sending signal. PID: 814 SIG: 9
Also here is my buildGraddle for app
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion 22.0.1
defaultConfig {
minSdkVersion 16
targetSdkVersion 21
multiDexEnabled true
}
dexOptions {
//incremental true
javaMaxHeapSize "2048M"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
repositories {
maven {
url "http://maven.seamlessapi.com:8081/nexus/content/repositories/releases/"
}
}
dependencies {
compile files('libs/picasso-2.5.2.jar')
compile project(':Libraries:CropImageLib')
compile project(':Libraries:facebook-android')
compile project(':Libraries:NineOldLibs')
compile project(':Libraries:SlidingMenu')
compile files('libs/JTransforms-3.0.jar')
compile files('libs/JLargeArrays-1.2.jar')
compile files('libs/gdata-core-1.0.jar')
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:support-v4:18.0.+'
compile 'com.android.support:appcompat-v7:18.0.+'
compile 'com.goseamless:seamless:2.4.0'
}
let me know if you need more info
please help, Regards.
Android version 22.1.0, the class ActionBarActivity is deprecated. You should use AppCompatActivity
Since you are using com.android.support:appcompat-v7:18.0 you should replace the depracated ActionBarActivity with AppCompatActivity.

Categories

Resources