Closed swFan closed 9 months ago
if use 2.3.2 version, AS compile will fail:
Task :app:compileDebugKotlin e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:15:29 Unresolved reference: ConnectCheckerRtsp e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:23:49 Unresolved reference: ConnectCheckerRtsp e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:50:25 Cannot access class 'com.pedro.rtsp.utils.ConnectCheckerRtsp'. Check your module classpath for missing or conflicting dependencies e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:50:70 Type mismatch: inferred type is CameraDemoActivity but ConnectCheckerRtsp was expected e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:54:3 'onNewBitrateRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:58:3 'onConnectionSuccessRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:64:3 'onConnectionFailedRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:73:3 'onConnectionStartedRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:76:3 'onDisconnectRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:82:3 'onAuthErrorRtsp' overrides nothing e: file:///C:/Users/shrd/Desktop/RTSP-Server-master/app/src/main/java/com/pedro/sample/CameraDemoActivity.kt:91:3 'onAuthSuccessRtsp' overrides nothing
Hello,
I solved the problem using library version 2.3.0. Try again Library 2.3.2 compile correctly but that version has changes that I need to implement in the project for that reason you have that error.
Execution failed for task ':app:checkDebugAarMetadata'.