You need to add $ANDROID_SDK/tools and $ANDROID_SDK/platform-tools to
your PATH, where $ANDROID_SDK is wherever you installed the Android
SDK.

See "How to Update Your PATH" here:

http://developer.android.com/sdk/installing.html

On Fri, Apr 22, 2011 at 11:46 AM, Rocky <[email protected]> wrote:
> Hi All,
>
> I have .apk, that is working fine in Window (I install the .apt in windows
> through adb install myApk.apk), but how to install the .apk in ubuntu
> emulator.
> when I'm trying to use adb install or /.adb install my.apk . and adb shell
> ... etc getting error as
>
> hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ adb shell
> No command 'adb' found, did you mean:
>  Command 'cdb' from package 'tinycdb' (main)
>  Command 'gdb' from package 'gdb' (main)
>  Command 'aub' from package 'aub' (universe)
>  Command 'dab' from package 'bsdgames' (universe)
>  Command 'zdb' from package 'zfs-fuse' (universe)
>  Command 'mdb' from package 'mono-debugger' (universe)
>  Command 'tdb' from package 'tads2-dev' (multiverse)
>  Command 'pdb' from package 'python' (main)
>  Command 'jdb' from package 'openjdk-6-jdk' (main)
>  Command 'ab' from package 'apache2-utils' (main)
> adb: command not found
> hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$
>
> hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ adb install
> RestaurantPOS.apk
> No command 'adb' found, did you mean:
>  Command 'cdb' from package 'tinycdb' (main)
>  Command 'gdb' from package 'gdb' (main)
>  Command 'aub' from package 'aub' (universe)
>  Command 'dab' from package 'bsdgames' (universe)
>  Command 'zdb' from package 'zfs-fuse' (universe)
>  Command 'mdb' from package 'mono-debugger' (universe)
>  Command 'tdb' from package 'tads2-dev' (multiverse)
>  Command 'pdb' from package 'python' (main)
>  Command 'jdb' from package 'openjdk-6-jdk' (main)
>  Command 'ab' from package 'apache2-utils' (main)
> adb: command not found
> hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ ^C
>
> I'm getting error, please help me..
>
> --
> Thanks & Regards
>
> Rakesh Kumar Jha
>
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

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