Open SpaceKestrel72 opened 3 years ago
Have you included it twice somehow?
On Sun, Jul 19, 2020, 12:28 PM SpaceKestrel72 notifications@github.com wrote:
e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (33, 7): Redeclaration: Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/DartMessenger.kt: (10, 7): Redeclaration: DartMessenger e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (14, 16): Redeclaration: MethodCallHandlerImpl e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (41, 7): Redeclaration: RtmpCameraConnector e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (33, 7): Redeclaration: VideoEncoder e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (33, 7): Redeclaration: Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (77, 17): Cannot find a parameter with this name: isPortrait e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (311, 49): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (315, 30): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (336, 30): Unresolved reference: stopRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (361, 30): Unresolved reference: stopRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (399, 49): Unresolved reference: isRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (404, 26): Unresolved reference: pauseRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (413, 49): Unresolved reference: isRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (418, 26): Unresolved reference: resumeRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (571, 38): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (674, 60): Unresolved reference: ROTATION_UPDATE e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/DartMessenger.kt: (10, 7): Redeclaration: DartMessenger e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (14, 16): Redeclaration: MethodCallHandlerImpl e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (75, 25): Type mismatch: inferred type is MethodChannel.Result but Boolean was expected e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (75, 31): No value passed for parameter 'result' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (87, 25): Type mismatch: inferred type is MethodChannel.Result but Boolean was expected e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (87, 31): No value passed for parameter 'result' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (99, 26): Unresolved reference: stopVideoRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (102, 26): Unresolved reference: stopVideoStreaming e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (168, 17): Too many arguments for public constructor Camera(activity: Activity?, flutterTexture: TextureRegistry.SurfaceTextureEntry, dartMessenger: DartMessenger, cameraName: String, resolutionPreset: String?, streamingPreset: String?, enableAudio: Boolean) defined in com.whelksoft.camera_with_rtmp.Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (43, 7): Redeclaration: RtmpCameraConnector e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (491, 29): Cannot access 'running': it is protected in 'VideoEncoder' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/ pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (28, 7): Redeclaration: VideoEncoder
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':camera_with_rtmp:compileDebugKotlin'.
Compilation error. See log for more details
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 32s
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pinkfish/flutter_rtmppublisher/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATOMMKWGSHLTH7CCLLGNMLR4NCNVANCNFSM4PBQZVGQ .
e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (33, 7): Redeclaration: Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/DartMessenger.kt: (10, 7): Redeclaration: DartMessenger e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (14, 16): Redeclaration: MethodCallHandlerImpl e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (41, 7): Redeclaration: RtmpCameraConnector e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.2.3/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (33, 7): Redeclaration: VideoEncoder e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (33, 7): Redeclaration: Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (77, 17): Cannot find a parameter with this name: isPortrait e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (311, 49): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (315, 30): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (336, 30): Unresolved reference: stopRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (361, 30): Unresolved reference: stopRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (399, 49): Unresolved reference: isRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (404, 26): Unresolved reference: pauseRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (413, 49): Unresolved reference: isRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (418, 26): Unresolved reference: resumeRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (571, 38): Unresolved reference: startRecord e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/Camera.kt: (674, 60): Unresolved reference: ROTATION_UPDATE e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/DartMessenger.kt: (10, 7): Redeclaration: DartMessenger e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (14, 16): Redeclaration: MethodCallHandlerImpl e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (75, 25): Type mismatch: inferred type is MethodChannel.Result but Boolean was expected e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (75, 31): No value passed for parameter 'result' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (87, 25): Type mismatch: inferred type is MethodChannel.Result but Boolean was expected e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (87, 31): No value passed for parameter 'result' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (99, 26): Unresolved reference: stopVideoRecording e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (102, 26): Unresolved reference: stopVideoStreaming e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/MethodCallHandlerImpl.kt: (168, 17): Too many arguments for public constructor Camera(activity: Activity?, flutterTexture: TextureRegistry.SurfaceTextureEntry, dartMessenger: DartMessenger, cameraName: String, resolutionPreset: String?, streamingPreset: String?, enableAudio: Boolean) defined in com.whelksoft.camera_with_rtmp.Camera e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (43, 7): Redeclaration: RtmpCameraConnector e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/RtmpCameraConnector.kt: (491, 29): Cannot access 'running': it is protected in 'VideoEncoder' e: /home/kestrel/Documents/Code/Flutter_SDK/flutter/.pub-cache/hosted/pub.dartlang.org/camera_with_rtmp-0.3.2/android/src/main/kotlin/com/whelksoft/camera_with_rtmp/VideoEncoder.kt: (28, 7): Redeclaration: VideoEncoder
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':camera_with_rtmp:compileDebugKotlin'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 32s