did you install the USB driver for the g1 mobile on your system ?
If you installed the USB driver (come with SDK - usb_driver ) then it
identifies your mobile..

connect your mobile to PC and it will ask for drivers then browse
the usb_driver which is in SDK directory

and it will install the driver

open cmd

type adb devices

it will show the devices connected to your system


then try to install your application by adb install

it don't gives error  : device not found




On Tue, Feb 17, 2009 at 11:54 PM, Developer <[email protected]>wrote:

>
>
>
> On Feb 17, 12:49 am, dillirao malipeddi <[email protected]>
> wrote:
> > There may be your previous application exist in the device
> >
> > search by
> >
> > adb ls /data/app
> >
> > it will list all the applications installed in  your device
> >
> > Try to uninstall by using command
> >
> > adb uninstall
> >
> > if problem exists then try to rename your package, compile sign and try
> to
> > install
> >
> Thanks, successfully uninstalled:-) And I was able to install the
> signed package to EMULATOR (but not the physical G1 device).
>
> Here is what I did:
> 1) If I launch the emulator on my computer and do the above,
>
> #./adb install MyApplication_signed.apk
> 1474 KB/s (216689 bytes in 0.143s)
>         pkg: /data/local/tmp/MyApplication_signed.apk
> Success
>
> But the destination device is the emulator, so it turned out I
> installed the application to my emulator again.
>
> 2) If I stop the emulator process on my computer and do the above,
>
> #./adb install MyApplication_signed.apk
> error: device not found
>
>
> Note that I have plugged my USB well. Any thought? Thanks
>
>
> > if you change your package name then it don't show any error
> >
> >
> >
> > On Tue, Feb 17, 2009 at 1:00 PM, Developer <[email protected]>
> wrote:
> >
> > > 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
> >
> > --
> > Dilli Rao. M
> > ARIJASOFT
> > +91 - 9703073540
> >
>


-- 
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