force close when start ActivityCamera
Opened this issue · 0 comments
Hi , when i want start activity (ActivityCamera) returns these error and force close .
tested on
Galaxy Note 2 _ 4.4.2
Sony Xperia Z2 _ 6.0.1
10/13 16:41:02: Launching app
No apk changes detected since last installation, skipping installation of E:\AndroidStudioProjects\PhotoJey\app\build\outputs\apk\app-debug.apk
$ adb shell am force-stop jey.photo.hitexroid.photojey
$ adb shell am start -n "jey.photo.hitexroid.photojey/jey.photo.hitexroid.photojey.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Connecting to jey.photo.hitexroid.photojey
W/ActivityThread: Application jey.photo.hitexroid.photojey is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/dalvikvm: Debugger is active
I/System.out: Debugger has connected
I/System.out: waiting for debugger to settle...
Connected to the target VM, address: 'localhost:8733', transport: 'socket'
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1336)
I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
W/dalvikvm: VFY: unable to resolve interface method 19833: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
W/dalvikvm: VFY: unable to resolve interface method 19835: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
W/dalvikvm: VFY: unable to resolve interface method 19839: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
W/dalvikvm: VFY: unable to resolve virtual method 545: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
W/dalvikvm: VFY: unable to resolve virtual method 567: Landroid/content/res/TypedArray;.getType (I)I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
W/dalvikvm: VFY: unable to resolve virtual method 340: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
D/dalvikvm: GC_CONCURRENT freed 167K, 10% free 2668K/2948K, paused 4ms+0ms, total 12ms
D/dalvikvm: GC_FOR_ALLOC freed 6K, 9% free 2967K/3252K, paused 4ms, total 4ms
D/dalvikvm: GC_FOR_ALLOC freed <1K, 8% free 3271K/3556K, paused 4ms, total 4ms
D/dalvikvm: GC_FOR_ALLOC freed <1K, 8% free 3575K/3860K, paused 4ms, total 4ms
I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
W/dalvikvm: VFY: unable to resolve virtual method 508: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
W/dalvikvm: VFY: unable to resolve virtual method 510: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
W/dalvikvm: VFY: unable to resolve instanceof 160 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
D/dalvikvm: GC_FOR_ALLOC freed 22K, 7% free 3853K/4112K, paused 4ms, total 4ms
I/dalvikvm-heap: Grow heap (frag case) to 4.942MB for 1127532-byte allocation
D/dalvikvm: GC_FOR_ALLOC freed 2K, 6% free 4951K/5216K, paused 4ms, total 4ms
D/dalvikvm: GC_CONCURRENT freed 0K, 6% free 4951K/5216K, paused 4ms+0ms, total 4ms
D/libEGL: loaded /system/lib/egl/libEGL_genymotion.so
[ 10-13 13:11:07.675 1763: 1763 D/ ]
HostConnection::get() New Host Connection established 0xb8013560, tid 1763
D/libEGL: loaded /system/lib/egl/libGLESv1_CM_genymotion.so
D/libEGL: loaded /system/lib/egl/libGLESv2_genymotion.so
W/EGL_genymotion: eglSurfaceAttrib not implemented
D/OpenGLRenderer: Enabling debug mode 0
W/EGL_genymotion: eglSurfaceAttrib not implemented
I/dalvikvm: Could not find method android.graphics.Bitmap.getAllocationByteCount, referenced from method com.bumptech.glide.util.Util.getBitmapByteSize
W/dalvikvm: VFY: unable to resolve virtual method 623: Landroid/graphics/Bitmap;.getAllocationByteCount ()I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm: Could not find method android.app.ActivityManager.isLowRamDevice, referenced from method com.bumptech.glide.load.engine.cache.MemorySizeCalculator.isLowMemoryDevice
W/dalvikvm: VFY: unable to resolve virtual method 107: Landroid/app/ActivityManager;.isLowRamDevice ()Z
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
D/dalvikvm: GC_FOR_ALLOC freed 311K, 8% free 5326K/5752K, paused 8ms, total 8ms
W/CursorWrapperInner: Cursor finalized without prior close()
D/dalvikvm: GC_FOR_ALLOC freed 109K, 9% free 5737K/6248K, paused 12ms, total 12ms
I/dalvikvm: Could not find method com.bumptech.glide.load.resource.drawable.GlideDrawable.getAlpha, referenced from method com.bumptech.glide.request.target.SquaringDrawable.getAlpha
W/dalvikvm: VFY: unable to resolve virtual method 22358: Lcom/bumptech/glide/load/resource/drawable/GlideDrawable;.getAlpha ()I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
W/dalvikvm: method Landroid/support/v7/widget/ListViewCompat;.lookForSelectablePosition incorrectly overrides package-private method with same name in Landroid/widget/ListView;
E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method android.support.v7.widget.MenuPopupWindow.setEnterTransition
W/dalvikvm: VFY: unable to resolve check-cast 2274 (Landroid/transition/Transition;) in Landroid/support/v7/widget/MenuPopupWindow;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x0008
E/dalvikvm: Could not find class 'android.transition.Transition', referenced from method android.support.v7.widget.MenuPopupWindow.setExitTransition
W/dalvikvm: VFY: unable to resolve check-cast 2274 (Landroid/transition/Transition;) in Landroid/support/v7/widget/MenuPopupWindow;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x0008
I/ListPopupWindow: Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well.
I/dalvikvm: Could not find method android.widget.PopupWindow.showAsDropDown, referenced from method android.support.v7.widget.AppCompatPopupWindow.showAsDropDown
W/dalvikvm: VFY: unable to resolve virtual method 20557: Landroid/widget/PopupWindow;.showAsDropDown (Landroid/view/View;III)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x000d
I/dalvikvm: Could not find method android.support.v7.widget.DropDownListView.drawableHotspotChanged, referenced from method android.support.v7.widget.DropDownListView.setPressedItem
W/dalvikvm: VFY: unable to resolve virtual method 16279: Landroid/support/v7/widget/DropDownListView;.drawableHotspotChanged (FF)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x000a
I/dalvikvm: Could not find method android.view.View.drawableHotspotChanged, referenced from method android.support.v7.widget.DropDownListView.setPressedItem
W/dalvikvm: VFY: unable to resolve virtual method 19432: Landroid/view/View;.drawableHotspotChanged (FF)V
D/dalvikvm: VFY: replacing opcode 0x6e at 0x004a
W/EGL_genymotion: eglSurfaceAttrib not implemented
W/EGL_genymotion: eglSurfaceAttrib not implemented
W/EGL_genymotion: eglSurfaceAttrib not implemented
[ 10-13 13:11:16.788 1763: 1782 D/ ]
HostConnection::get() New Host Connection established 0xb8275b20, tid 1782
D/dalvikvm: GC_FOR_ALLOC freed 161K, 5% free 6273K/6544K, paused 24ms, total 28ms
[ 10-13 13:11:17.120 1763: 1793 D/ ]
HostConnection::get() New Host Connection established 0xb816b6a8, tid 1793
D/dalvikvm: GC_FOR_ALLOC freed 103K, 5% free 7189K/7560K, paused 28ms, total 28ms
W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Ljp/co/cyberagent/android/gpuimage/GPUImageNativeLibrary;
W/dalvikvm: threadid=12: thread exiting with uncaught exception (group=0xa619d908)
D/dalvikvm: GC_FOR_ALLOC freed 517K, 10% free 8035K/8912K, paused 4ms, total 8ms
E/AndroidRuntime: FATAL EXCEPTION: GLThread 118
java.lang.ExceptionInInitializerError
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer$1.run(GPUImageRenderer.java:141)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.runAll(GPUImageRenderer.java:126)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(GPUImageRenderer.java:115)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gpuimage-library from loader dalvik.system.PathClassLoader[dexPath=/data/app/jey.photo.hitexroid.photojey-2.apk,libraryPath=/data/app-lib/jey.photo.hitexroid.photojey-2]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at jp.co.cyberagent.android.gpuimage.GPUImageNativeLibrary.(GPUImageNativeLibrary.java:21)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer$1.run(GPUImageRenderer.java:141)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.runAll(GPUImageRenderer.java:126)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(GPUImageRenderer.java:115)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
W/EGL_genymotion: eglSurfaceAttrib not implemented
Disconnected from the target VM, address: 'localhost:8733', transport: 'socket'