[Android] Application Not Installed error if app signed for release

  • 1
  • Announcement
  • Updated 5 years ago
  • (Edited)
Dear Everyone

We received complaints regarding the subject. We are still investigating to find actual root cause . Please stay with us.

Thank You.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes

Posted 5 years ago

  • 1
Photo of Zell Hwang

Zell Hwang

  • 1 Post
  • 0 Reply Likes
Hi,

I am also experiencing the "App Not Installed" message since yesterday.

I found that the Application Manifest doesn't really change according to the plugins set in config.xml. Is that the cause of the problem ?
Photo of Louis R

Louis R

  • 188 Posts
  • 1 Reply Like
Hi Same here, I am experiencing the "App not installed" error on Android.
Photo of Roman Azarov

Roman Azarov

  • 12 Posts
  • 0 Reply Likes
it looks like Phonegap building apps with wrong target version:
....
[getbuildtools] Using latest Build Tools: 20.0.0
[echo] Resolving Build Target for DIVAN_TV...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
....
and ignoging settings from config:

<preference name="android-minSdkVersion" value="14" />
<preference name="android-targetSdkVersion" value="14" />
Photo of Krainbaa Mobile

Krainbaa Mobile

  • 10 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Application not installed on Android.

Hi guys,

Yesterday I built a new version of the app, and when I tried to install it on the device it said "Application not installed" with no more information.

The last weeks I've been building and installing correctly with no errors.

Now if I try to build with "no key selected" then the installation works fine, but when I choose the certificate to sign the app, the installation doesn't work. It looks like something related to Signing process.

Any idea ??

Thanks.
Photo of Dumitrescu Bogdan Nicolae

Dumitrescu Bogdan Nicolae

  • 6 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled "Application not installed" error on Android..

Getting "Application not installed" error on Android. Starting yesterday evening, every time I build and attempt to install our Android app, it won't install and the phone just gives the error, "Application not installed".

Please help!

https://build.phonegap.com/apps/92030...#
Photo of Dumitrescu Bogdan Nicolae

Dumitrescu Bogdan Nicolae

  • 6 Posts
  • 0 Reply Likes
Win7 32bit - Sign your application with your private key:

Copy APP_name.keystore and APP_name.apk in "tmp" file
Then open cmd, then type c:\tmp, then:

"C:\Program Files\Java\jdk1.6.0_37\bin\jarsigner.exe" -verbose -sigalg KEY_PASS -digestalg SHA1 -keystore APP_name.keystore APP_name.apk NAME

it will work after ... so the problem lies on signature
Photo of Arul Sudarsanam

Arul Sudarsanam

  • 4 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled unable to install android app on 4.1.1.

i am unable to install my app in android galaxy tab or nexus 7 (4.1.1)
i am getting "App not Installed" error.. but the same apk works in my galaxy s5 (4.4).. my app id is 832069
Photo of Louis R

Louis R

  • 188 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled Can't install apk on Android : "application not installed".

Hi

since yesterday, the .apk compiled by Phonegap Build can't be installed anymore on my device. I am downloading the apk and when I try to install it, I get the following error: "Application not installed".

appId: 954580
Photo of Patryk

Patryk

  • 9 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Application not installed for signed apk.

Hi
I migrate from 2.9.0 to (the newest available on build.phonegap.com) 3.6.3. When I build with signing I can't install applicaton on my Android devices. I receiving "App not installed" during installation. What i already checked:

1. I have enough space
2. Previous application has been removed (on second device even didn't exists)
3. Not signed apk install fine

Here is my config: http://pastebin.com/MSXjz6UG

Please help :)
Photo of Patryk

Patryk

  • 9 Posts
  • 0 Reply Likes
Workaround the problem is signing application manually...
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Photo of Ashok bharathi

Ashok bharathi

  • 8 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Application is not installed error message in both android and ios.

when I build the app with out the signing key, the app installed correctly, but when i use the signing key the app is not installing it shows the error message "Application is not installed". please help me it's urgent.

my build id 1350312
Photo of David CASBONNE

David CASBONNE

  • 10 Posts
  • 0 Reply Likes
Same for me, i've published my app on google play. On Lollipop updates are OK but on Android 4.2.2 i've the error "La signature du fichier de package est incorrecte"

When I'm trying to install the signed APK in a Genymotion with Android 4.2 i've the error "install_parse_failed_no_certificates". When I'm trying to do the same thing without signing the app it's OK.

Please fix this asap, users begin to be angry...
Photo of Derek Law

Derek Law

  • 8 Posts
  • 0 Reply Likes
I built a signed release app which would not install on Android 4.2 (but was OK on 4.4). After a lot of hunting around, I found that rebuilding using the .zip file from the previous version (which produced an APK which will install) also will no longer install.

Conclusion: something has changed in PhoneGap build which has broken signed apps for Android 4.2.
Photo of Shaun Thomson

Shaun Thomson

  • 92 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled "X application not installed" error when installing my apk on Android..

Hi

My app id is 1034259

My app has been installing fine, but after not working on it for a month, I am now getting an "X application not installed" error when installing my apk on Android.

I have deleted the app off my device, and tried reinstalling.

I have cleared up space in the phone's memory.

I am using the same certificate as before.

Can you please take a look?

Thanks for your time and help.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
We're looking into this!
Photo of Dumitrescu Bogdan Nicolae

Dumitrescu Bogdan Nicolae

  • 6 Posts
  • 0 Reply Likes
Is it going to take a lot of time guys? Is it really a big isue? Can we do replace this with a local compiling or something instead? please give us a hand Thanks, Bogdan
Photo of Dumitrescu Bogdan Nicolae

Dumitrescu Bogdan Nicolae

  • 6 Posts
  • 0 Reply Likes
Win7 32bit - Sign your application with your private key:

Copy APP_name.keystore and APP_name.apk in "tmp" file
Then open cmd, then type c:\tmp, then:

"C:\Program Files\Java\jdk1.6.0_37\bin\jarsigner.exe" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore APP_name.keystore APP_name.apk NAME

it will work after ... so the problem lies on signature
Photo of Federico González Brizzio

Federico González Brizzio

  • 4 Posts
  • 0 Reply Likes
Fix (from Damian Perera)
1. Build release APK on PhoneGap
2. Download APK and delete Meta-Inf folder inside it
3. Resign the APK locally
4. Zip align the APK

To do 3:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1
-keystore my-release-key.keystore my_application.apk alias_name

To do 4:
zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
Photo of Dumitrescu Bogdan Nicolae

Dumitrescu Bogdan Nicolae

  • 6 Posts
  • 0 Reply Likes
you need java 1.6 for that
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
Its a problem with a change to the default signing algorithm when Java was recently updated. We should have the fixed deployed shortly but in the mean time if you're in a hurry see Federico's instructions above (thanks!).
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
OK this should be fixed. Sorry for the inconvenience!
Photo of Better Than Rei

Better Than Rei

  • 3 Posts
  • 0 Reply Likes
is it fixed and ok now?
Photo of David CASBONNE

David CASBONNE

  • 10 Posts
  • 0 Reply Likes
Yes signing problem is fixed but there's another bug with authorizations and functionalities described here : http://community.phonegap.com/nitobi/...
Photo of Better Than Rei

Better Than Rei

  • 3 Posts
  • 0 Reply Likes
i've have tried, it still giving error not signed correctly when i uploaded the apk into google play and download to the device..
Photo of David CASBONNE

David CASBONNE

  • 10 Posts
  • 0 Reply Likes
How could you produced à signed build, upload it to Google play and download it to à device in less than one hour? Google play updating system requires more. Are you sure you download the newer version?
Photo of Valerio Barbera

Valerio Barbera

  • 14 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled APK doesn't work when installing it on the device..

Hello all!
From two days the apk file compiled with PGB can not be installed on Android devices using qrcode. The error on the device is generic: "Application not installed", and missing my icon's app, but showing cordova default icon. I have not changed anythings in my config.xml. Someone is having the same problem?
Photo of Toby

Toby

  • 4 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Since today I get an Application not installed error when installing on an Androi....

As of today I'm unable to install a build onto my Android device. The error message I get is: Application not installed. My application id is: 1135721

Could there be something wrong with the phonegap service? I haven't made any code changes recently.

Update: I've tried manually adding the signing key and when I do that the app installs.

This conversation is no longer open for comments or replies.