- 博客(7)
- 资源 (3)
- 收藏
- 关注
原创 null cannot be cast to non-null type android.databinding.ViewDataBinding
如果Build.gradle和Layout文件配置正确,仍无法生成ViewDataBinding类。经测试,Gradle的sync无效,clean project无效,invalidate and restart无效,但是Build->Rebuild Project生效了。还不行的话,使用ViewDataBinding抽象类的setVariable方法,也可以生效。AS版本:3.1.3gradle版本:3.1.3转载于:https://www.cnblogs.com/acesui/
2020-05-29 14:56:03 1220
原创 flutter 小米推送插件使用注意
最近接入推送后 可以接受 但是MiPushReceiver 里面的方法一直走不进去最后发现 权限存放xml位置不对<permission android:name="com.wjapi.micro.micro_flutter_mipush_example.permission.MIPUSH_RECEIVE" android:protectionLevel="signature" /><uses-permission android:name="com..
2020-05-29 10:55:58 599
原创 Flutter继承高德地图 首次定位数据不显示
刚开始申请定位权限是static Future<bool> requestPermission() async { final permissions = await PermissionHandler().requestPermissions([PermissionGroup.locationWhenInUse]); if (permissions[PermissionGroup.locationWhenInUse] == PermissionStatus.granted) {
2020-05-28 11:02:39 665
原创 flutter 创建第三方依赖 添加libs问题
打开成 Androidstudio 形式 选择 progect形式中 plugin 目录下的 第一个Android 目录下 创建lib 即可
2020-05-21 11:02:52 1010
原创 Flutter配置好后, no devices
运行 后 重启flutter config --android-sdk /E:\sdk\flutter
2020-05-19 17:01:21 332
原创 Flutter 一直回退到指定界面
解决方法:不多说 直接上代码:在跳转A页面时使用 Navigator.of(context).push( MaterialPageRoute( settings: RouteSettings(name:"自定义名字"), builder: (context) => MyPage(), ), );在返回时使用 Navigator.popUntil(context, ...
2020-05-11 14:36:28 2360
原创 Mapping values are not allowed here. Did you miss a co
Error on line 19, column 16 of pubspec.yaml: Mapping values are not allowed here. Did you miss a co 原因1前面出现空格原因2 插件描数 description 中 有中文 标识
2020-05-06 17:43:35 542
Genymotion-ARM-TranslationforAPK.zip
2020-09-15
MyJeptDemo.zip
2019-12-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人