I tried installing new version (2.0) of the my app when the previous APP (1.0) is installed. But it fails to get updated. The new version gets installed when the previous version is not installed.
Asked
Active
Viewed 54 times
0
-
What's the error message? Did you use a different key to sign the versions? – Henry Aug 04 '17 at 05:28
-
How are you installing the app? – Code-Apprentice Aug 04 '17 at 05:33
-
No I'm not building a signed apk. – Vijeth Adhyapak Aug 04 '17 at 06:22
-
An app is always signed. If you don't do it yourself, an automatically generated debug key is used. This key is different for each installation of Android Studio. – Henry Aug 04 '17 at 07:25
-
I'm using Android studio 2.2.3 for app V2.0 and for V1.0 we used different version of android studio, does this matter? – Vijeth Adhyapak Aug 04 '17 at 09:08
2 Answers
0
I think you installed your previous app with unsigned apk or without instant run feature, and new app with signed apk or with instant run feature. Check it. Instant run sometimes not make correct apk so Goto Build->Build APK and make apk and install it again.

Naveed Akhtar
- 131
- 6
0
when you install the new version of the app the problem should be,
- old and new app have different Signed Certificate
- New APK have small version code then installed
See this link to Know more Error Creating Image File

Diwan Dhanvani
- 291
- 1
- 3
- 10