java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nmsl.bdemo2/com.example.nmsl.CameraWithScreenShotActivity}: java.lang.IllegalStateException: com.beyondar.android.fragment.BeyondarFragmentSupport can not run without the compass sensor.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kum-rah
, 1 year ago
Unable to start activity ComponentInfo{com.example.nmsl.bdemo2/com.example.nmsl.CameraWithScreenShotActivity}: java.lang.IllegalStateException: com.beyondar.android.fragment.BeyondarFragmentSupport can not run without the compass sensor.
via Stack Overflow by Kemo
, 1 year ago
Unable to start activity ComponentInfo{com.test.kemo.restaurant/com.test.kemo.restaurant.MainActivity}: java.lang.IllegalStateException: HorizontalScrollView can host only one direct child
via Stack Overflow by sambhaji kokate
, 7 months ago
Unable to start activity ComponentInfo{com.ilearn.phynotes/com.ilearn.phynotes.ItemDetailActivity}: java.lang.IllegalStateException: Fragment ItemDetailFragment{42364310} not attached to Activity
via Stack Overflow by user1950583
, 2 years ago
Unable to start activity ComponentInfo{com.google.api.services.samples.calendar.android/com.google.api.services.samples.calendar.android.InsertActivity}: java.lang.IllegalStateException: Calling this from your main thread can lead to deadlock
via Stack Overflow by Android_beginer
, 1 year ago
Unable to start activity ComponentInfo{com.myayubo/com.myayubo.Extract}: java.lang.IllegalStateException: System services not available to Activities before onCreate()
via Google Groups by Ishan Dave, 1 year ago
Unable to start activity ComponentInfo{com.somepackage/com.somepackage.view.GalleryActivity}: java.lang.IllegalStateException: Derived class did not call super.onRestoreInstanceState()
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nmsl.bdemo2/com.example.nmsl.CameraWithScreenShotActivity}: java.lang.IllegalStateException: com.beyondar.android.fragment.BeyondarFragmentSupport can not run without the compass sensor.
at com.beyondar.android.fragment.BeyondarFragmentSupport.checkIfSensorsAvailable(BeyondarFragmentSupport.java:108)
at com.beyondar.android.fragment.BeyondarFragmentSupport.setWorld(BeyondarFragmentSupport.java:274)
at com.example.nmsl.CameraWithScreenShotActivity.onCreate(CameraWithScreenShotActivity.java:38)
at android.app.Activity.performCreate(Activity.java:5312)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
at android.app.ActivityThread.access$800(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5633)
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:896)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.