![]() ![]() ![]() Settings 2.1.1: Bug Report: Essential Products PH-1, RuntimeException Here's the full error text below, it's rather lengthy. I did submit it to Essential, no diagnosis yet. I suspect this "could" be a bug which snuck in on this build, update was about 2 weeks ago. Does not occur in relation to opening any specific app. You can only close it or send a bug report. Import else get hit with this pesky error message? I've been getting it on my PH-1 every day or two. ![]() So I found a different example of implementing CameraX, but I get the same IllegalAccessException exception. The camera behaved as expected, but triggered the exception. The first time around, I followed one of the CodeLabs for implementing CameraX. I looked at implementing createWindowContext as the error suggests, but some of the target devices are older and not eligible for upgrade to Android 11, thus createWindowContext is not an option. WindowManager from a non-visual error is triggered by this line: final ListenableFuture cameraProviderFuture = ProcessCameraProvider.getInstance(this) Use an Activity or aĬontext created with Context#createWindowContext(int, Bundle), whichĪre adjusted to the configuration and visual bounds of an area on Such as WindowManager, WallpaperService or LayoutInflater should beĪccessed from Activity or other visual Context. ![]() I've been struggling to implement a camera function into my app in a way that doesn't generate the below error:Į/ContextImpl: Tried to access visual service WindowManager from a ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |