最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - Install flutter webrtc= - Stack Overflow

programmeradmin6浏览0评论

When i install a package of flutter_webrtc and i run my emulater they show me this error

unching lib\main.dart on Android SDK built for x86 in debug mode... C:\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_webrtc-0.12.12+hotfix.1\android\src\main\java\com\cloudwebrtc\webrtc\SurfaceTextureRenderer.java:118: error: <anonymous com.cloudwebrtc.webrtc.SurfaceTextureRenderer$1> is not abstract and does not override abstract method onSurfaceCreated() in Callback new TextureRegistry.SurfaceProducer.Callback() { ^ C:\Local\Pub\Cache\hosted\pub.dev\flutter_webrtc-0.12.12+hotfix.1\android\src\main\java\com\cloudwebrtc\webrtc\SurfaceTextureRenderer.java:119: error: method does not override or implement a method from a supertype @Override ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':flutter_webrtc:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for 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

BUILD FAILED in 16s Error: Gradle task assembleDebug failed with exit code 1

发布评论

评论列表(0)

  1. 暂无评论