Comments (13)
Got the same error.
from flutter_plugin_record.
After install Flutter SDK3.0,How to solve this issues ?
from flutter_plugin_record.
I have the same error too
from flutter_plugin_record.
也遇到了同样的问题,完全不懂kotlin,不然可以魔改一下,作者还在么?
from flutter_plugin_record.
from flutter_plugin_record.
也遇到了同样的问题,完全不懂kotlin,不然可以魔改一下,作者还在么?
请问你解决了嘛
from flutter_plugin_record.
也遇到了同样的问题,完全不懂kotlin,不然可以魔改一下,作者还在么?
请问你解决了嘛
没有,换成 https://pub.dev/packages/record
from flutter_plugin_record.
也遇到了同样的问题,完全不懂kotlin,不然可以魔改一下,作者还在么?
请问你解决了嘛
这个这个库因为有kotlin代码,版本比较旧不兼容SDK3.0以上是吗,貌似我也没找到可以兼容的方法
from flutter_plugin_record.
flutter sdk 3.0
e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (30, 1): Class 'FlutterPluginRecordPlugin' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (49, 29): Type mismatch: inferred type is Activity? but Activity was expected e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (465, 5): 'onRequestPermissionsResult' overrides nothing
作者有解决嘛
from flutter_plugin_record.
flutter sdk 3.0
e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (30, 1): Class 'FlutterPluginRecordPlugin' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (49, 29): Type mismatch: inferred type is Activity? but Activity was expected e: D:\soft\flutter.pub-cache\hosted\pub.flutter-io.cn\flutter_plugin_record-1.0.1\android\src\main\kotlin\record\wilson\flutter\com\flutter_plugin_record\FlutterPluginRecordPlugin.kt: (465, 5): 'onRequestPermissionsResult' overrides nothing
作者有解决嘛
其实坐着只需要把kotlin 的权限相关方法重写就行了,高版本的android版本代码上有些差异
from flutter_plugin_record.
大佬可以说下改哪里吗,因为我没用过kotlin QAQ。。
from flutter_plugin_record.
大佬可以说下改哪里吗,因为我没用过kotlin QAQ。。
解决了吗?
from flutter_plugin_record.
可以直接使用我们团队维护的fork版本:https://pub.dev/packages/flutter_plugin_record_plus
解决了若干bug,升级至最新的kotlin,支持flutter 3.0
from flutter_plugin_record.
Related Issues (20)
- 无法找到资源 HOT 5
- flutter 升级到3.0,运行不了 HOT 2
- Could not find com.github.adrielcafe:ffmpeg-android-java:2a627f6ecd. HOT 6
- 如果编译报错,可以尝试我的版本 HOT 6
- 使用stopPlay()方法无效
- 安卓安装包release大小增加9.1M HOT 1
- Unhandled Exception: MissingPluginException(No implementation found for method init on channel flutter_plugin_record)
- 还是存在很多问题呢
- 无法播放网络mp3 文件 HOT 2
- 在Android11 上停止录音显示没有权限的问题 HOT 1
- v0.3.5 配置了recordPlugin.init() ios还是生成了mp3的 安卓生成了wav的 HOT 1
- 如何播放项目中的mp3文件
- responseFromAmplitude 监听的 audioTimeLength 属性为null HOT 1
- responsePlayStateController 播放状态监听无效
- ios 录制 后面的语音会覆盖前面的语音 HOT 1
- ios. 的文件名能不能使用uuid 来命名呀 佬
- 特定场景bug
- 录制MP3报错
- android 原生依赖的录音recordwav:1.0.2版本找不到了,升级一下1.0.3吧 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_plugin_record.