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

前端 未结 9 639
独厮守ぢ
独厮守ぢ 2021-01-06 04:25

For giving build for a debug Android app from Android Studio 3.0, it’s not installing in Mobile having Marshmallow and up (in Lollipop not tested).

I have used many

9条回答
  •  抹茶落季
    2021-01-06 04:45

    As of Android Studio 3 the Run-Button builds test-only apks. See documentation

    Note: The Run button builds an APK with testOnly="true", which means the APK can only be installed via adb (which Android Studio uses). If you want a debuggable APK that people can install without adb, select your debug variant and click Build > Build APK(s).

    This solved my issue: https://stackoverflow.com/a/46661987/7756799

提交回复
热议问题