keluokeda
keluokeda
相机权限问题
如果app的清单配置文件里面声明了android.permission.CAMERA权限,那么在调用相机的时候需要申请相机权限,不然会报错 ``` java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.oppo.camera/.Camera clip={text/uri-list U:content://com.ke.rximagepicker.demo.image_picker.provider/external_files/Android/data/com.ke.rximagepicker.demo/files/Pictures/JPEG_20201218_095112_6286554076496488627.jpg} (has extras) mCallingUid=10216 } from ProcessRecord{388c884 16176:com.ke.rximagepicker.demo/u0a216} (pid=16176, uid=10216) with revoked permission android.permission.CAMERA ```
``` java.lang.IllegalArgumentException: com.icarguard.ichebao: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if...
rt ``` val textView = findViewById(R.id.text) val image = findViewById(R.id.image) val imageUrl = "https://img.nga.178.com/attachments/mon_202108/06/51Q174-1ccqK10T1kSa9-5m.jpg" Glide.with(this).load(imageUrl) .into(image) markwon.setMarkdown( textView, "11111111" ) ```
``` [✓] Flutter (Channel master, 3.1.0-0.0.pre.798, on macOS 12.3.1 21E258 darwin-arm, locale zh-Hans-CN) • Flutter version 3.1.0-0.0.pre.798 at /Users/yuyanhui/Desktop/flutter/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 994ea94e73 (11 minutes ago),...
[https://github.com/keluokeda/hs_tracker](url)
Unhandled exception when activity finish `A TabController was used after being disposed. Once you have called dispose() on a TabController, it can no longer be used. #0 ChangeNotifier._debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:61:9) #1...
like this [https://github.com/keluokeda/Hs](url)