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
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744281735a4566603.html
评论列表(0条)