All You need to know is how developing on a device. Essentially before debug/run you app you must install the driver fot the android G1: - Connect your G1 to your PC with the USB cable - Into G1 go to Menu->Setup->Applications->Development, turn on the USB debugging. - When your g1 is detected, your system ask for a driver, select as destination folder your 'ANDROID SDK DIR' /usb_driver If all goes fine you are ready to debug/run - in your eclipse run the android project and TADA now you will se a list of the installed device, the emulator and the device. Now ....... Use the emulator.... lol.
have a nice day man. Dr.Luiji On 28 Gen, 19:01, Xavier Ducrohet <[email protected]> wrote: > apk files are NOT executable. > > to install an apk on your device, just execture 'adb install <path to > you apk>'. Your application should then appear in the Home screen. > This is what ADT is doing when dealing with emulators or devices. > > Xav > > On Wed, Jan 28, 2009 at 7:04 AM, sumit <[email protected]> > wrote: > > > hi > > > i build an application in android SdK(HelloAndroid) > > i took the hole source code and put in syatem/bin/HelloAndroid > > > and tried to excute HelloAndroid.apk but it's giving error > > i tried witout ./dalvikvm and with dalvikvm > > > without dalvikvm-------> > > > [r...@linux bin]$ ./HelloAndroid.apk > > ./HelloAndroid.apk: line 1: PK : command not found > > : command not found line 2: > > : No such file or directoryNG > > ./HelloAndroid.apk: line 3: : command not found > > ./HelloAndroid.apk: line 5: syntax error near unexpected token `(' > > ½uËgk:Ž,Y– *–,J ÉCR‡¤Ió<»à9G‡´œª M[`/ðê|ð|¼ çù Ÿçyß#EDøen>~ÉÛ > > øy7ÅÙùÆŸüiBQ"§ H > > ‹Èy ù Ϧ á <õ÷ p¤ /<](c)TôjµÚv ˆ¤ $p H= MþB ø·ï¼–>vNT«Uò¹<ù\Ž > > \>GµRÝè¾ H ¸(B' > > ./HelloAndroid.apk: line 2: : VÜ : No such file or directory > > > i dont know whether dalvik virtual machine is runngg or not > > > i tried with dalvik machine > > > ./dalvikvm -classpath /system/bin/HelloAndroid/bin/HelloAndroid.apk > > > right now i dont know how to run a build application in real hardware > > correct me if i am wrong. > > > regards > > Abhishek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

