In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

Redmi Y2

[Q&A] my mobile camera not working

2019-05-27 14:39:26
455 2
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera/com.android.camera.Camera}: java.lang.RuntimeException: Fail to get camera info        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)        at android.app.ActivityThread.-wrap11(Unknown Source:0)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1613)        at android.os.Handler.dispatchMessage(Handler.java:106)        at android.os.Looper.loop(Looper.java:173)        at android.app.ActivityThread.main(ActivityThread.java:6634)        at java.lang.reflect.Method.invoke(Native Method)        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:822)Caused by: java.lang.RuntimeException: Fail to get camera info        at android.hardware.Camera._getCameraInfo(Native Method)        at android.hardware.Camera.getCameraInfo(Camera.java:308)        at com.android.camera.CameraDataContainer.<init>(CameraDataContainer.java:52)        at com.android.camera.CameraDataContainer.getInstance(CameraDataContainer.java:36)        at com.android.camera.data.data.config.ComponentConfigHdr.isFrontCamera(ComponentConfigHdr.java:189)        at com.android.camera.data.data.config.ComponentConfigHdr.initForCaptureMode(ComponentConfigHdr.java:193)        at com.android.camera.data.data.config.ComponentConfigHdr.createItems(ComponentConfigHdr.java:154)        at com.android.camera.data.data.config.ComponentConfigHdr.reInit(ComponentConfigHdr.java:131)        at com.android.camera.data.data.config.DataItemConfig.supportHdr(DataItemConfig.java:141)        at com.android.camera.data.data.config.SupportedConfigFactory.getSupportedTopConfigs(SupportedConfigFactory.java:174)        at com.android.camera.data.data.config.DataItemConfig.getSupportedTopConfigs(DataItemConfig.java:129)        at com.android.camera.fragment.top.FragmentTopConfig.provideAnimateElement(FragmentTopConfig.java:942)        at com.android.camera.fragment.top.FragmentTopConfig.initView(FragmentTopConfig.java:182)        at com.android.camera.fragment.BaseFragment.onCreateView(BaseFragment.java:87)        at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1018)        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1199)        at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)        at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1564)        at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)        at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:511)        at com.android.camera.Camera.onStart(Camera.java:766)        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1335)        at android.app.Activity.performStart(Activity.java:7094)        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2777)        ... 9 more
2019-05-27 14:39:26
Favorites RateRate

Rookie Bunny

bielseira | from Redmi S2

#1

The same thing happened here, could you find a solution?
2019-07-23 00:54:42
bielseira replied at 2019-07-23 10:24:42
The same thing happened here, could you find a solution?

Thank you for such a wonderful article and sharing. God bless you.! krogerfeedback
2019-10-11 03:57:43
please sign in to reply.
Sign In Sign Up

1602049899

Rookie Bunny

  • Followers

    1

  • Threads

    1

  • Replies

    3

  • Points

    14

Read moreGet new
Copyright©2016-2019 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list