Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cause of "This app contains code that attempts to bypass android's security protections"

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.

enter image description here

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.

like image 323
uesports135 Avatar asked Jul 24 '16 21:07

uesports135


2 Answers

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'
like image 171
marfy4207 Avatar answered Oct 21 '22 03:10

marfy4207


I got this message when I tried to grok MVP + Dagger example from this googlesample

After a while I renamed a file FakeTasksRemoteDataSource.java in my project and Verify Apps fell silent.

So, I think you need to check the file names (and variables) for "stop words", like "fake" etc.

like image 31
MaxF Avatar answered Oct 21 '22 04:10

MaxF