The compileOnly reference to RobotCore should also be updated to 7.0.
Finally, it may be possible to use the annotation org.firstinspires.ftc.ftccommon.external.OnCreate on the loadNativeLibOnStartRobot method as opposed to the opModeRegistrar. Not sure it is a huge difference, but may save some attempted reloads.
The AndroidManifest.xml file has old (4.1.0) opencv version info. This can be corrected by removing the following lines from the manifest:
and adding the definitions to the build.gradle before the android section:
and the reference on those in the android.defaultConfig section:
The compileOnly reference to RobotCore should also be updated to 7.0.
Finally, it may be possible to use the annotation org.firstinspires.ftc.ftccommon.external.OnCreate on the loadNativeLibOnStartRobot method as opposed to the opModeRegistrar. Not sure it is a huge difference, but may save some attempted reloads.