delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/12/02:05:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=MY
rjG55VkI+MlYI9l0Z6RpEhdUH59+/b/I9PJ4YTad26C+TN76YzCIls1SzuZgQ9n6
Gddi6kGn7S7JowNiqsWKGBtOu6uI6ScqpVP1hqIvoU+jPkb83Sxyf+irnHAOahmw
tWDNbEeXSK6gvarvmm2RhyS4k/HYONiDn/R0Lws+k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=ntmjvYun
3YxZsNYQkp+AV6Fq//E=; b=Hcj/9tFbi64epiSm9yYsEnNH6yuAP7In/+JWY90h
jjoS9+qvFhWgytvVKYmS0hb62jvTLpf00lK+ax17s+reIKPkMlk7ORrRkj91ZXEd
GC+ae46gLgw3q6WHlKAAIJM45R4ASVkEE63Keq0Z5qXCJ6WmPsIqOF7xOzDIQm9P
JaE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ea0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.14.173.68 with SMTP id u44mr59742eel.102.1392188712415; Tue, 11 Feb 2014 23:05:12 -0800 (PST)
In-Reply-To: <BLU178-W50B2E3D5B1C2CFE760CD2DC2920@phx.gbl>
References: <BLU178-W44F502F29CB977CDB97B97C2920 AT phx DOT gbl> <20140212044021 DOT GB3868 AT ednor DOT casa DOT cgf DOT cx> <BLU178-W16DAFD55A985E9450D480BC2920 AT phx DOT gbl> <20140212060928 DOT GA4931 AT ednor DOT casa DOT cgf DOT cx> <BLU178-W50B2E3D5B1C2CFE760CD2DC2920 AT phx DOT gbl>
Date: Tue, 11 Feb 2014 23:05:12 -0800
Message-ID: <CALgEz7qTuQm+wOmtgPyr9JAiOMRHdh1gbegyGFmoj62jSrdDJQ@mail.gmail.com>
Subject: Re: Is There A Way to Update ADB?
From: Balaji Venkataraman <balaji DOT s DOT venkataraman AT gmail DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On Tue, Feb 11, 2014 at 10:23 PM, Cilix Tay wrote:
> Sorry, Christopher,
>
> One last question, so that I can properly understand this and ask correctly for help in xda...
>
> I downloaded Cygwin from Cygwin.com, and only selected additionally "pv" and "util-linux" during its installaion.
>
> Since adb isn't part of Cygwin, then I don't understand how I could run adb on Cygwin terminal, and the adb ver isn't the one I have on the Android SDK.

You probably have two versions of the Android SDK installed and Cygwin
is finding the older one. Find and delete/move away the other version.
Open a Cygwin terminal and check which adb you are using in Cygwin and
your PATH env. variable. If you don't know what that is, you can look
online. As an example, on my machine.

$ which adb
/home/<EDITED>/bin/android-sdk/platform-tools/adb

$ adb version
Android Debug Bridge version 1.0.31

The reason I have adb visible in my Cygwin shell is because I have it
setup that way. Assuming you have the Android SDK installed under
'Program Files (x86)' and that is the one you want to use, you could
do this on your system:

$ export PATH=/cygdrive/c/Program\ Files\
\(x86\)/Android/android-sdk/platform-tools:$PATH

$ which adb
/cydrive/c/Program Files (x86)/Android/android-sdk/platform-tools/adb

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019