4

App is installing while connecting via USB to mobile, but while sending .apk file to others it saying "App not Installed" (both debug and release).

1.How to overcome app not installed error when building from Android Studio 3.0?

2.Cannot install signed apk to device manually, got error "App not installed"

3.Android Studio 3.0 Unsigned Apk Not Installing

Naveen
  • 814
  • 2
  • 9
  • 22

2 Answers2

2

While Android-P is still preview, I think it sets testOnly flag. To override it add android.injected.testOnly=false in gradle.properties file.

Ioane Sharvadze
  • 2,118
  • 21
  • 35
0

Try disabling the Instant Run feature in Android Studio. This feature many times causes troubles in installing apps in other phones.

Check this link to disable Instant run:

How to disable Instant Run for Android Studio 3.0