Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered Error Running Waterbus App #208

Open
Aziiz777 opened this issue Dec 8, 2023 · 0 comments
Open

Encountered Error Running Waterbus App #208

Aziiz777 opened this issue Dec 8, 2023 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@Aziiz777
Copy link

Aziiz777 commented Dec 8, 2023

Description:
I encountered the following error when running the Waterbus app. I'm unsure of the root cause, but I suspect it may be related to the version of flutter_webrtc inside the Waterbus Flutter SDK package.

Error Log:

error: cannot access CameraVideoCapturer import org.webrtc.CameraVideoCapturer; ^ bad class file: C:\Users\User\.gradle\caches\transforms-3\bcc4bb8f2ab3c441d98cfaa5c148ccde\transformed\jetified-webrtc-120.6099.19-api.jar(/org/webrtc/CameraVideoCapturer.class) class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath. C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\CameraEventsHandler.java:7: error: package CameraVideoCapturer does not exist class CameraEventsHandler implements CameraVideoCapturer.CameraEventsHandler { ^ C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\DataChannelObserver.java:6: error: cannot access DataChannel import org.webrtc.DataChannel; ^ bad class file: C:\Users\User\.gradle\caches\transforms-3\bcc4bb8f2ab3c441d98cfaa5c148ccde\transformed\jetified-webrtc-120.6099.19-api.jar(/org/webrtc/DataChannel.class) class file has wrong version 61.0, should be 55.0 Please remove or make sure it appears in the correct subdirectory of the classpath. C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\DataChannelObserver.java:15: error: package DataChannel does not exist class DataChannelObserver implements DataChannel.Observer, EventChannel.StreamHandler { ^ C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\DataChannelObserver.java:18: error: cannot find symbol private final DataChannel dataChannel; ^ symbol: class DataChannel location: class DataChannelObserver C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\DataChannelObserver.java:25: error: cannot find symbol DataChannel dataChannel) { ^ symbol: class DataChannel location: class DataChannelObserver C:\Users\User\AppData\Local\Pub\Cache\git\flutter-webrtc-ea25a0afe6abd53486bd2b2f36c22acd3e23c7fb\android\src\main\java\com\cloudwebrtc\webrtc\DataChannelObserver.java:33: error: package DataChannel does not exist private String dataChannelStateString(DataChannel.State dataChannelState) {

the error is very long , appearing in nearly every WebRTC Java file. Due to its length, I won't be able to post it here.

any solution for this ?

@lambiengcode lambiengcode added the 🐛 bug Something isn't working label Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants