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 Y/S Series

[ROM] Camera has stopped

2019-07-22 23:50:51
223 5
unfortunately my device camera has stopped working and displays the following messages
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
What can be done?
2019-07-22 23:50:51
Favorites RateRate
Dear Mi Fan,
     Please clear all data for Camera from SettingsInstalled apps. If the problem is still as it is, download full ROM & flash using Updater.
2019-07-24 12:50:52
Super Moderator: Mi Mix 3, Redmi Y/S Series, MIUI Tools

Always believe that something wonderful is about to happen!

Pro Bunny

Bixby | from Redmi S2

#1

Restart your phone
2019-07-22 23:55:08

Rookie Bunny

bielseira Author | from Redmi S2

#2

Bixby
Restart your phone

I already restarted
2019-07-23 00:36:00

Advanced Bunny

Zac PWK | from MI 8

#3

Could you please confirm that other sensors (like Proximity and Light sensors) are working properly.
2019-07-23 01:56:52

Advanced Bunny

saber5311 | from Redmi S2

#4

it's camera app crash on activity
install another camera app
2019-07-23 14:21:07
please sign in to reply.
Sign In Sign Up

bielseira

Rookie Bunny

  • Followers

    0

  • Threads

    1

  • Replies

    2

  • Points

    11

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