Installation failed


When i build an APK and want to install it on my phone, it’s fail…
My phone’s version is Marshmallow 6.0

My Android Platform is

  "android": "6.3.0"

And the AndroidManifest.xml

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="25" />

what does it say when installing over adb with ionic cordova run android?

I didn’t try it over adb i directly used apk

try it, sometimes there is a error message that you can google there. i have no idea how to get the error message elsewere.
good luuck - i have to go to bed now I have to get up in 6 hours

1 Like

Good night :wink:

On my phone it doesn’t success

As per my understanding, you are successfully getting an APK, but when you try to install it in your phone, it is showing that App Not Installed right?

If yes, it may be due to your package name. By default, your package name will be io.ionic.starter, so my guess is, you might have already installed an app which is having the same package name.

Try renaming your package name in config.xml or uninstall the previous app which you’ve created.

Hope this will work out

What about if i want to install a new version ? Should i change the package name at very new version ?

If you want to install a new version, the package name should be same.

That means, if you are already having an app called ABC (lets say) with version number 0.0.1,

now if you want to change the version number means, you should not have to change the app name and package name, but only the version number. If u did it, then u can update your app easily.

That’s it

1 Like