摘要: step1: 编写分享代码, 将Uri的生成方式改为由FileProvider提供的临时授权路径,并且在intent中添加flag 注意:在Android7.0之后,调用系统分享,传入URI的时候可能会导致程序闪退崩溃。这是由于7.0的新的文件权限导致的。下面的代码对其做了处理 step2: 在 A 阅读全文
posted @ 2019-01-18 14:30 夜行过客 阅读(7163) 评论(0) 推荐(0) 编辑
摘要: 今天编译运行的时候遇到了“Error:Execution failed for task ':test:processDebugManifest'.> Manifest merger failed with multiple errors, see logs” 这样一个问题,让人反感的是AS 除了提 阅读全文
posted @ 2019-01-18 11:36 夜行过客 阅读(2008) 评论(0) 推荐(0) 编辑