Android Studio: Installation failed since APK was not signed

前端 未结 7 1061
谎友^
谎友^ 2021-01-01 19:41

I am attempting to run my app in an emulator and have been receiving the following error:

Installation failed since the APK was either not signed, or

7条回答
  •  悲&欢浪女
    2021-01-01 19:57

    This problem can be resolved by below two ways

    1. Change Built Variant to debug cnange_built_variant
    2. Define your application`s signingConfigs signingConfigs

    First solution works when you built your application in debug mode. But, once you are ready to publish your application on Google Play store you need to go by second way.

    Read for more -> Sign Your App

    Hope this will help one and all!

提交回复
热议问题