I used keytool and jarsigner and seems to have got everything done,
but still I have problem to install the application.

----------------------
#jarsigner -verbose -keystore ~/keys/anddev.keystore -signedjar
MyApplication_signed.apk ~/Documents/workspace/MyApplication/
MyApplication.apk ~/keys/anddev.keystore

Enter Passphrase for keystore: MYPASSWORD
   adding: META-INF/MANIFEST.MF
   adding: META-INF/_USERS_S.SF
   adding: META-INF/_USERS_S.RSA
  signing: res/drawable/alert_dialog_icon.png
  signing: res/drawable/icon.png
  signing: res/drawable/icon_original.png
  signing: AndroidManifest.xml
  signing: resources.arsc
  signing: classes.dex


#adb install MyApplication_signed.apk
700 KB/s (216689 bytes in 0.124s)
        pkg: /data/local/tmp/MyApplication_signed.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]

----------------------------

I looked into /data/local/tmp/, but there is no such file existing.
Why? Thanks



On Feb 16, 10:18 pm, dillirao malipeddi <[email protected]>
wrote:
> You must sign your application before install it in to device,
> for signing you can use the tool
>
> keytool  -- to generate your signing key
>
> jarsigner  -- to sign your apk file with above generated key
>
> On Tue, Feb 17, 2009 at 11:37 AM, Developer <[email protected]>wrote:
>
>
>
>
>
> > I follow the instruction to install my toy application, which ran well
> > on my Mac.
>
> > 1. Within Eclipse, I did "Android Tools-->Export Unsigned Application
> > Package" to save MyApplication.apk into ~/workspace/MyApplication.apk.
>
> > 2. Now Connect Your G1 Phone to your computer using USB cable. You
> > need to install Drivers for this. Download Android USB drivers from
> > here. This driver is required for adb to interface with an android G1
> > phone using USB cable.
>
> > 3. Go to Android Settings/SD card & phone storage and disable Use for
> > USB storage. You can enable it again later after you installed your
> > third-party application.
>
> > 4. Go to Settings/Application settings and enable Unknown sources.
>
> > 5. adb install ~/workspace/MyApplication.apk
>
> > But this is the error I got:
>
> > tools > ./adb install ~/Documents/workspace/MyApplication.apk
> > 1644 KB/s (214695 bytes in 0.127s)
> >        pkg: /data/local/tmp/MyApplication.apk
> > Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
>
> --
> Dilli Rao. M
> ARIJASOFT
> +91 - 9703073540
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to