Rodney McKay
unread,May 25, 2023, 12:46:45 AM5/25/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android CameraX Discussion Group, Rodney McKay, trevor...@google.com, Android CameraX Discussion Group, etal...@google.com, leoh...@google.com
I've nuked the android-studio directory and all hidden folders with configuration files and reinstalled from scratch, and the situation now is:
"import android.hardware.camera2.CameraManager"
...appears to be OK, all in "regular" color font for the UI theme I'm using currently.
But ALL calls to CameraManager functions in the program are still in red font and causes errors when I attempt to Build.
I realize this is a CameraX group, not Camera2, but I've already started this thread and at least some of you seem pretty familiar with Camera2 as well (no surprise that the same people would use both!), so I hope you guys don't mind me trying to solve this problem here.
Since reinstalling Android Studio, I've used SDK Manager to try 12L, 12.0, and 13.0, which was the default. It doesn't seem like any older or newer SDK should work any better, as these are pretty recent but not experimental. Agree?
Last week, somebody suggested sharing my code but the code I wrote is not the problem. Something in Android Studio is (2022.2.1 Patch 1, running on Ubuntu 22.04).