Debug APK not signed correctly Android 2.1.1 [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] -
i have been coding on android since year now. kind of newbie.
i upgraded android studio 1.3 2.1 , facing error msg everytime try test run app on device.
'installation failed since device has application same package different signature. in order proceed, have uninstall existing application.
warning: uninstalling remove application data!
do want uninstall existing application?'
i tried unistalling app still everytime asks me it. tried run on device there says apk not signed correctly :(
kindly highly appreciated have stuck on problem on week.
you can sign apps release key while keeping debugging option - have add release key android studio (or specify on command line if signing apps there).
in android studio, right click on app in project browser , open module settings. select app's module , click on 'signing' make sure release keystore listed. under 'build types', make sure debug target , release target share same signing config, , debug target has debuggable set true. should share same key.
more information on app signing can found in developer docs here.
i haven't heard of downside using same key debugging , release, provided private key kept secure (read: not under version control).
Comments
Post a Comment