0
点赞
收藏
分享

微信扫一扫

For security reasons offline mode is disabled when the process being inspected does not correspond t

环境:

开发环境:AndroidStudio 4.2.2

测试设备:华为 nose 8 se

背景:

在使用AndroidStudio 中的 Database Inspector 查看数据库时,出现了如下报错信息

For security reasons offline mode is disabled when the process being inspected does not correspond to the project open in studio or when the project has been generated from a prebuilt apk.

解决办法:

方式一:

第一步:Files → Invalidate Cache/Restart
第二步:永远也不要再碰这个 Database Inspector !!!

如果你用华为手机测试,那么你需要在后台停止数据库,否则程序会崩溃的

方式二:

第二种方法,升级AS版本到白狐


举报

相关推荐

0 条评论