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 <getabhisheksrivast...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to