Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ionic Package io.ionic.starter signatures error

My ionic project working nicely in command: ionic lab but when I execute "ionic cordova run" in terminal for build this app in android I am having the following error. Error: Failed to install apk to device: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package io.ionic.starter signatures do not match the previously installed version; ignoring!

like image 386
rafat ahmed Avatar asked Jul 19 '17 18:07

rafat ahmed


3 Answers

Delete all the previous ionic apps from your android phone. Then run the command

ionic run android 

or

ionic run android --device

Hope it will solve your issue

like image 175
Zahirul Haque Avatar answered Nov 12 '22 00:11

Zahirul Haque


When you previously installed any app with default package name given by ionic and trying to install another app with the same default package name, it will throw this error.

In config.xml file, change package name(id attribute of widget tag) from io.ionic.starter to any other package name of your choice(ex: com.example.hello)

This way you can keep all your ionic apps installed.

like image 40
sreekanth reddy pathi reddy Avatar answered Nov 12 '22 00:11

sreekanth reddy pathi reddy


On android device, go to Settings > Apps and find your app in listing and open App info.

Click on the More Icon and select Uninstall for all users.

enter image description here

Then run commond ionic cordova run android.

like image 1
Swapnil Patwa Avatar answered Nov 12 '22 01:11

Swapnil Patwa