“此应用程序包含试图绕过Android安全保护的代码” [英] Cause of "This app contains code that attempts to bypass android's security protections"

查看:203
本文介绍了“此应用程序包含试图绕过Android安全保护的代码”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几个月来一直在研究一个非常良性的Android应用程序,突然之间,当我尝试从IntelliJ重新安装它时,我开始在我的设备上收到此消息。





我的问题是,什么样的事情会导致Android OS显示此消息?如果我要发布这个应用程序,我当然不希望我的用户在安装前必须看到这个。

有同样的问题,它是由gradle插件v2.2.0(测试版和RC)造成的。当我将版本改回2.1.3时,问题消失了。

  classpath'com.android.tools.build:gradle:2.1 .3'


I have been working on a very benign Android application for a couple months now and all of a sudden I started getting this message on my device when I try to re-install it from IntelliJ.

My question is, what sort of things would cause Android OS to display this message? If I were to ever release this app, I certainly would not want my users to have to see this before installing.

解决方案

I had the same problem and it was caused by gradle plugin v2.2.0 (beta version and also RC). When I changed the version back to 2.1.3 problem dissapeared.

classpath 'com.android.tools.build:gradle:2.1.3'

这篇关于“此应用程序包含试图绕过Android安全保护的代码”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆