Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

crash on android 4.4 #40

Open
iRajul opened this issue Jun 3, 2015 · 0 comments
Open

crash on android 4.4 #40

iRajul opened this issue Jun 3, 2015 · 0 comments

Comments

@iRajul
Copy link

iRajul commented Jun 3, 2015

Device : CANVAS UNITE 2 (A106)
Android Version : 4.4
java.lang.RuntimeException: Unable to resume activity {com.myapp.android/com.wezka.nativecamera.CameraActivity}: java.lang.RuntimeException: Fail to connect to camera service at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2964) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2993) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5292) 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:824) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.RuntimeException: Fail to connect to camera service at android.hardware.Camera.native_setup(Native Method) at android.hardware.Camera.<init>(Camera.java:469) at android.hardware.Camera.open(Camera.java:424) at com.wezka.nativecamera.CameraActivity.onResume(CameraActivity.java:331) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1197) at android.app.Activity.performResume(Activity.java:5343) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950) ... 12 more

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant