0

I've seen this post, but my question is slightly different.

When this error occurs, does it mean that it detects "dangerous" code (which is absolutely a false error), or does it mean that this app wasn't downloaded off the Play Store? TBE, will this error go away once I publish this on the Play Store?

Community
  • 1
  • 1
Ali Bdeir
  • 4,151
  • 10
  • 57
  • 117

2 Answers2

1

Yes, this installation blocked error will still remain there on Play Store. If the solutions provided here doesn't help you then you can consider my answer.

I faced this problem because of the features I added in my AndroidManifest.xml file. I was making an app using camera and so I added so many uses-feature which caused this problem.

<uses-feature
    android:name="android.hardware.camera"
    android:required="false" />
<uses-feature
    android:name="android.hardware.camera.front"
    android:required="false" />
<uses-feature
    android:name="android.hardware.camera.autofocus"
    android:required="false" />
<uses-feature
    android:name="android.hardware.camera.flash"
    android:required="false" />
<uses-feature android:name="android.hardware.screen.landscape" />
<uses-feature
    android:name="android.hardware.wifi"
    android:required="false" />
<uses-feature
    android:name="android.hardware.touchscreen"
    android:required="false" />

After removing them the problem went away.

Community
  • 1
  • 1
Amit Upadhyay
  • 7,179
  • 4
  • 43
  • 57
1

The guaranteed way of knowing for sure if the error would still popup would be actually trying it out.

  1. Change the applicationId temporarily.
  2. Create a new app on playstore for this applicationId. And upload your apk to the alpha/beta channel (No one is going to see it unless you move it to production)
  3. Download from the alpha/beta channel and see if you still get the error.

Same approach will also help verify if any of the fixes you try to get rid of the dialog works later.

Viral Patel
  • 32,418
  • 18
  • 82
  • 110