1

I'm using Samsung Galaxy POP. Android version 2.2 Froyo. I'm new to android programming. I was too much exited to install Mid3D demo on my phone and see it before I think ahead with it.

the link is here http://code.google.com/p/min3d/downloads/detail?name=min3dSampleProject1_020.apk&can=2&q=

but when ever I use this

>adb install [Mid3D apk file name]

an error occurs like :

1052 KB/s (1688402 bytes in 1.566s)
        pkg: /data/local/tmp/min3dSampleProject1_020.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

I'm using Windows 7.

Any idea to solve this?

Mazhar Ahmed
  • 1,523
  • 2
  • 24
  • 41

2 Answers2

3

That APK is indeed not signed. You need to sign it to be able to install it, or just get the sample project source and build it with Eclipse. That will automatically generate a test certificate and sign the APK, so you can try it out.

Nikolay Elenkov
  • 52,576
  • 10
  • 84
  • 84
1

Did you try google? I found lots of posts when searching for "Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]". It's probably because that APK is not signed. Some phones restrict the installation of foreign, unsigned APK's.

I think there is a setting to allow non-Market apks in Menu > Settings > Applications > Unknown Sources.

Here, here, and here are some links from Google after a search.

Community
  • 1
  • 1
Jack
  • 9,156
  • 4
  • 50
  • 75
  • I checked the unknown source. But seems to have the same problem – Mazhar Ahmed Aug 11 '11 at 16:28
  • 3
    'Unknown Sources' is not related to this. You can install with adb regardless of this setting (as long as USB debugging is on, of course). In the context of this setting 'foreign' means 'not from the Android Market', not 'unsigned'. All apks have to be signed to install. – Nikolay Elenkov Aug 11 '11 at 16:37
  • Apparently the package isn't signed at all, which was allowed for versions of Android <= 1.5. You may want to download the sources and recompile the package yourself, or see if you really need it on Froyo. – Joubarc Aug 11 '11 at 16:40