Phonegap Android app "Application not installed"

I'm just trying to create an Android project from existing code in Eclipse. Everything seems perfect without a hint of error. I can also test it on a virtual device. So I tried to create apk by exporting an unsigned application package. Finally, the application cannot be installed on my Android device, and it simply causes the message “Application not installed”! How can i fix this? Thanks.

+4
source share
6 answers

take apk from the bin folder and try installing it on the device ... not from create apk by exporting an unsigned package. Make sure you have enough internal memory (this should be more than just the size of the application, because the application must store data too).

+3
source

I ran into the same error using cordova build --release android from the CLI to create apk, but later discovered that cordova build android should be used to create a debug apk file. Hope this helps someone.

+9
source

If you update / rewrite an existing application, first delete it using the application manager of your phone.

+1
source

First, make sure you have enough internal memory (this should be more than just the size of the application, because the application must also store data). Application storage is different from internal storage. You can find it under "Settings"> "Storage", find the label "Applications".

In addition, if an application, say, 20 MB, must contain at least 50 MB, because, in addition to the application storage, Android also tends to slow down with short internal memory.

If you are trying to update / overwrite an installed application, first try uninstalling it.

Thanks AB

0
source

What is it worth ... I started getting "application not installed" after I created a guest account for any reason. Removing the guest account seems to have solved it!

0
source

I also got this problem despite using cordova build android . Turns out my problem was this:

I previously installed another phonegap application that I built without changing its widget ID in config.xml. Thus, the widget id remains "com.phonegap.helloworld".

Now, when creating my new application, I also did not change the widget ID. Thus, both applications have the same widget identifier. This does not seem to be allowed. Thus, one of the possible solutions is to change the widget ID, so it does not interfere with anyone else installed on your phone. Or delete anything that might interfere with your new application (maybe some phone application that you made earlier, as in my case).

Here is what led me to this solution: https://github.com/phonegap/phonegap-plugin-push/issues/922

0
source

Source: https://habr.com/ru/post/1489611/


All Articles