Constructing a RenderScript for my app using the line
val rs = RenderScript.create(getContext())
Android Studio warns me that "CameraX.getContext can only be called from within the same library group (groupId=androidx.camera)" What should I be doing instead to avoid this warning?
Note: Using this
instead of getContext()
generates an error.