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

前端 未结 9 637
独厮守ぢ
独厮守ぢ 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:53

    First try to generate the debug apk by below steps:

    1. Goto Run
    2. Edit Configurations
    3. select + icon on the left side
    4. Select Gradle
    5. Click the Configuration tab if it is not selected in the right side
    6. In Gradle project add your app as a gradle project
    7. From the tasks select/set "assemble"
    8. Press ok

    Now run that configuration. you will have the debug apk ready in build/outputs/apk/app-debug.apk. Now install that apk in any device. It should work.

提交回复
热议问题