0

I have huge problems installing my signed app to my phone device (although it works on my tablet). 'Application not Installed' is my basic problem, see also this thread: 'App not Installed' Error on Android. I didn't come to a conclusion yet. When I try to install the app from webserver I get an 'Application not Installed'. So I tried to install it by USB to get at least some error messages. android:deploy tells me

Successfully installed /path/to/workspace/target/kurzparkzonenwien-1.0-SNAPSHOT.apk to MY_PHONE_ZTE-BLADE.

But there is no app on the phone. So is android:deploy buggy or do I need to set anything special? I execute it from Eclipse by launcher with goal android:deploy.

[UPDATE]
I think I know what's going on. LogCat shows me something....

12-27 21:01:28.177: W/PackageParser(1165): Exception reading /data/app/vmdl60304.tmp
12-27 21:01:28.177: W/PackageParser(1165): java.lang.SecurityException: /data/app/vmdl60304.tmp failed verification of META-INF/ANDROIDR.SF
12-27 21:01:28.177: W/PackageParser(1165):  at java.util.jar.JarVerifier.verifyCertificate(JarVerifier.java:350)
12-27 21:01:28.177: W/PackageParser(1165):  at java.util.jar.JarVerifier.readCertificates(JarVerifier.java:273)
12-27 21:01:28.177: W/PackageParser(1165):  at java.util.jar.JarFile.getInputStream(JarFile.java:416)
12-27 21:01:28.177: W/PackageParser(1165):  at android.content.pm.PackageParser.loadCertificate
Community
  • 1
  • 1
Bevor
  • 8,396
  • 15
  • 77
  • 141
  • Make sure that the phone isn't in some special 'Safe mode'. I had to reboot the phone into normal mode to see the app when I accidentally started up the phone that way. – Morrison Chang Dec 27 '12 at 20:05
  • Have you ticked the box "Unknown sources" in Settings -> Security? ( allow installation of apps from sources other than the Play Store) – kaderud Dec 27 '12 at 22:13

2 Answers2

0

Try installing the APK using command

adb install -r yourApp.apk

here -r option is to replace the app if it exists.

Also, this link will help ADB command

PCM
  • 873
  • 8
  • 23
0

The problem was that something went wrong in signing.

Bevor
  • 8,396
  • 15
  • 77
  • 141