I have installed the latest SDK and NDK but when running the command:
$ build/host-setup.sh
Detecting host toolchain.
CC : compiler check ok (gcc)
LD : linker check ok (gcc)
CXX : C++ compiler check ok (g++)
Generate : out/host/config.mk
Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
ERROR:
It seems you do not have the correct arm-eabi-4.2.1 toolchain
binaries.
Please go to the official Android NDK web site and download the
appropriate NDK package for your platform (windows).
See http://developer.android.com/sdk/index.html
> CC : compiler check ok (gcc)
> LD : linker check ok (gcc)
> CXX : C++ compiler check ok (g++)
> Generate : out/host/config.mk
> Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> ERROR:
> It seems you do not have the correct arm-eabi-4.2.1 toolchain
> binaries.
> Please go to the official Android NDK web site and download the
> appropriate NDK package for your platform (windows).
> See http://developer.android.com/sdk/index.html
I found the problem, its the way / and \ in Cygwin are handeld.
Configuring the path to NDK in Windows Vista did not work.
When I explicit entered the following in my Cygwin shell environment
in file .bashrc it worked:
> > CC : compiler check ok (gcc)
> > LD : linker check ok (gcc)
> > CXX : C++ compiler check ok (g++)
> > Generate : out/host/config.mk
> > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > ERROR:
> > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > binaries.
> > Please go to the official Android NDK web site and download the
> > appropriate NDK package for your platform (windows).
> > Seehttp://developer.android.com/sdk/index.html
> I found the problem, its the way / and \ in Cygwin are handeld.
> Configuring the path to NDK in Windows Vista did not work.
> When I explicit entered the following in my Cygwin shell environment
> in file .bashrc it worked:
> > > CC : compiler check ok (gcc)
> > > LD : linker check ok (gcc)
> > > CXX : C++ compiler check ok (g++)
> > > Generate : out/host/config.mk
> > > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > > ERROR:
> > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > binaries.
> > > Please go to the official Android NDK web site and download the
> > > appropriate NDK package for your platform (windows).
> > > Seehttp://developer.android.com/sdk/index.html
OK, just a wild guess, can you tell me the output of "echo $OS" in a Cygwin
terminal.
The host-setup.sh script assumes that this will return "Windows_NT" on
Win32, but I wouldn't be surprised if it returned something different on
Windows 7 or maybe some versions of Vista. That would explain the error.
> CC : compiler check ok (gcc)
> LD : linker check ok (gcc)
> CXX : C++ compiler check ok (g++)
> Generate : out/host/config.mk
> Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> ERROR:
> It seems you do not have the correct arm-eabi-4.2.1 toolchain
> binaries.
> Please go to the official Android NDK web site and download the
> appropriate NDK package for your platform (windows).
> See http://developer.android.com/sdk/index.html
> OK, just a wild guess, can you tell me the output of "echo $OS" in a Cygwin
> terminal.
> The host-setup.sh script assumes that this will return "Windows_NT" on
> Win32, but I wouldn't be surprised if it returned something different on
> Windows 7 or maybe some versions of Vista. That would explain the error.
> On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com> wrote:
> > Hi,
> > I have installed the latest SDK and NDK but when running the command:
> > CC : compiler check ok (gcc)
> > LD : linker check ok (gcc)
> > CXX : C++ compiler check ok (g++)
> > Generate : out/host/config.mk
> > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > ERROR:
> > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > binaries.
> > Please go to the official Android NDK web site and download the
> > appropriate NDK package for your platform (windows).
> > Seehttp://developer.android.com/sdk/index.html
On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <hrlixi...@gmail.com>wrote:
> I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> i have the same problem as Jonas. how can i get rid of this error?
hmm, this is strange. The script is complaining because it didn't find a
known file
under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the NDK
package,
and do you have files there?
> On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > Which version of Windows are you running?
> > OK, just a wild guess, can you tell me the output of "echo $OS" in a
> Cygwin
> > terminal.
> > The host-setup.sh script assumes that this will return "Windows_NT" on
> > Win32, but I wouldn't be surprised if it returned something different on
> > Windows 7 or maybe some versions of Vista. That would explain the error.
> > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com> wrote:
> > > Hi,
> > > I have installed the latest SDK and NDK but when running the command:
> > > CC : compiler check ok (gcc)
> > > LD : linker check ok (gcc)
> > > CXX : C++ compiler check ok (g++)
> > > Generate : out/host/config.mk
> > > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > > ERROR:
> > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > binaries.
> > > Please go to the official Android NDK web site and download the
> > > appropriate NDK package for your platform (windows).
> > > Seehttp://developer.android.com/sdk/index.html
After I changed the path to NDK from C:\Users\Android\android-
ndk-1.5_r1
to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
setup.sh successfully.
On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <hrlixi...@gmail.com>wrote:
> > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > i have the same problem as Jonas. how can i get rid of this error?
> hmm, this is strange. The script is complaining because it didn't find a
> known file
> under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the NDK
> package,
> and do you have files there?
> > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > Which version of Windows are you running?
> > > OK, just a wild guess, can you tell me the output of "echo $OS" in a
> > Cygwin
> > > terminal.
> > > The host-setup.sh script assumes that this will return "Windows_NT" on
> > > Win32, but I wouldn't be surprised if it returned something different on
> > > Windows 7 or maybe some versions of Vista. That would explain the error.
> > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com> wrote:
> > > > Hi,
> > > > I have installed the latest SDK and NDK but when running the command:
> > > > CC : compiler check ok (gcc)
> > > > LD : linker check ok (gcc)
> > > > CXX : C++ compiler check ok (g++)
> > > > Generate : out/host/config.mk
> > > > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > > > ERROR:
> > > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > > binaries.
> > > > Please go to the official Android NDK web site and download the
> > > > appropriate NDK package for your platform (windows).
> > > > Seehttp://developer.android.com/sdk/index.html
> After I changed the path to NDK from C:\Users\Android\android-
> ndk-1.5_r1
> to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
> setup.sh successfully.
> On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
> hrlixi...@gmail.com>wrote:
> > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > > i have the same problem as Jonas. how can i get rid of this error?
> > hmm, this is strange. The script is complaining because it didn't find a
> > known file
> > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the NDK
> > package,
> > and do you have files there?
> > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > > Which version of Windows are you running?
> > > > OK, just a wild guess, can you tell me the output of "echo $OS" in a
> > > Cygwin
> > > > terminal.
> > > > The host-setup.sh script assumes that this will return "Windows_NT"
> on
> > > > Win32, but I wouldn't be surprised if it returned something different
> on
> > > > Windows 7 or maybe some versions of Vista. That would explain the
> error.
> > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com>
> wrote:
> > > > > Hi,
> > > > > I have installed the latest SDK and NDK but when running the
> command:
> > > > > CC : compiler check ok (gcc)
> > > > > LD : linker check ok (gcc)
> > > > > CXX : C++ compiler check ok (g++)
> > > > > Generate : out/host/config.mk
> > > > > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > > > > ERROR:
> > > > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > > > binaries.
> > > > > Please go to the official Android NDK web site and download the
> > > > > appropriate NDK package for your platform (windows).
> > > > > Seehttp://developer.android.com/sdk/index.html
Yes, it is your windows environment variables, you need to change the
valiable : ANDROID_NDK_ROOT
you can find it in your System properties->Advanced->Environment
Variables.
On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
> hi,
> can you pls tell me where did you change the path? is there any env
> variable?
> regards,
> On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
> <hrlixi...@gmail.com>wrote:
> > After I changed the path to NDK from C:\Users\Android\android-
> > ndk-1.5_r1
> > to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
> > setup.sh successfully.
> > On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> > > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
> > hrlixi...@gmail.com>wrote:
> > > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > > > i have the same problem as Jonas. how can i get rid of this error?
> > > hmm, this is strange. The script is complaining because it didn't find a
> > > known file
> > > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the NDK
> > > package,
> > > and do you have files there?
> > > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > > > Which version of Windows are you running?
> > > > > OK, just a wild guess, can you tell me the output of "echo $OS" in a
> > > > Cygwin
> > > > > terminal.
> > > > > The host-setup.sh script assumes that this will return "Windows_NT"
> > on
> > > > > Win32, but I wouldn't be surprised if it returned something different
> > on
> > > > > Windows 7 or maybe some versions of Vista. That would explain the
> > error.
> > > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com>
> > wrote:
> > > > > > Hi,
> > > > > > I have installed the latest SDK and NDK but when running the
> > command:
> > > > > > CC : compiler check ok (gcc)
> > > > > > LD : linker check ok (gcc)
> > > > > > CXX : C++ compiler check ok (g++)
> > > > > > Generate : out/host/config.mk
> > > > > > Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> > > > > > ERROR:
> > > > > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > > > > binaries.
> > > > > > Please go to the official Android NDK web site and download the
> > > > > > appropriate NDK package for your platform (windows).
> > > > > > Seehttp://developer.android.com/sdk/index.html
--------------------------------------------------------------------------- ---------------------
your C compiler does not seem to work:
build/core/ndk-common.sh: line 351: C:\make-3.81: command not found
> Yes, it is your windows environment variables, you need to change the
> valiable : ANDROID_NDK_ROOT
> you can find it in your System properties->Advanced->Environment
> Variables.
> On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
> > hi,
> > can you pls tell me where did you change the path? is there any env
> > variable?
> > regards,
> > On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
> > <hrlixi...@gmail.com>wrote:
> > > After I changed the path to NDK from C:\Users\Android\android-
> > > ndk-1.5_r1
> > > to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
> > > setup.sh successfully.
> > > On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> > > > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
> > > hrlixi...@gmail.com>wrote:
> > > > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > > > > i have the same problem as Jonas. how can i get rid of this error?
> > > > hmm, this is strange. The script is complaining because it didn't
> find a
> > > > known file
> > > > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the
> NDK
> > > > package,
> > > > and do you have files there?
> > > > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > > > > Which version of Windows are you running?
> > > > > > OK, just a wild guess, can you tell me the output of "echo $OS"
> in a
> > > > > Cygwin
> > > > > > terminal.
> > > > > > The host-setup.sh script assumes that this will return
> "Windows_NT"
> > > on
> > > > > > Win32, but I wouldn't be surprised if it returned something
> different
> > > on
> > > > > > Windows 7 or maybe some versions of Vista. That would explain the
> > > error.
> > > > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com>
> > > wrote:
> > > > > > > Hi,
> > > > > > > I have installed the latest SDK and NDK but when running the
> > > command:
> > > > > > > ERROR:
> > > > > > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > > > > > binaries.
> > > > > > > Please go to the official Android NDK web site and download the
> > > > > > > appropriate NDK package for your platform (windows).
> > > > > > > Seehttp://developer.android.com/sdk/index.html
> --------------------------------------------------------------------------- ---------------------
> your C compiler does not seem to work:
> build/core/ndk-common.sh: line 351: C:\make-3.81: command not found
> On Wed, Jul 1, 2009 at 6:56 AM, hrlixi...@gmail.com <hrlixi...@gmail.com>wrote:
> > Yes, it is your windows environment variables, you need to change the
> > valiable : ANDROID_NDK_ROOT
> > you can find it in your System properties->Advanced->Environment
> > Variables.
> > On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
> > > hi,
> > > can you pls tell me where did you change the path? is there any env
> > > variable?
> > > regards,
> > > On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
> > > <hrlixi...@gmail.com>wrote:
> > > > After I changed the path to NDK from C:\Users\Android\android-
> > > > ndk-1.5_r1
> > > > to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
> > > > setup.sh successfully.
> > > > On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> > > > > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
> > > > hrlixi...@gmail.com>wrote:
> > > > > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > > > > > i have the same problem as Jonas. how can i get rid of this error?
> > > > > hmm, this is strange. The script is complaining because it didn't
> > find a
> > > > > known file
> > > > > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the
> > NDK
> > > > > package,
> > > > > and do you have files there?
> > > > > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > > > > > Which version of Windows are you running?
> > > > > > > OK, just a wild guess, can you tell me the output of "echo $OS"
> > in a
> > > > > > Cygwin
> > > > > > > terminal.
> > > > > > > The host-setup.sh script assumes that this will return
> > "Windows_NT"
> > > > on
> > > > > > > Win32, but I wouldn't be surprised if it returned something
> > different
> > > > on
> > > > > > > Windows 7 or maybe some versions of Vista. That would explain the
> > > > error.
> > > > > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <jonas.hey...@gmail.com>
> > > > wrote:
> > > > > > > > Hi,
> > > > > > > > I have installed the latest SDK and NDK but when running the
> > > > command:
> > > > > > > > ERROR:
> > > > > > > > It seems you do not have the correct arm-eabi-4.2.1 toolchain
> > > > > > > > binaries.
> > > > > > > > Please go to the official Android NDK web site and download the
> > > > > > > > appropriate NDK package for your platform (windows).
> > > > > > > > Seehttp://developer.android.com/sdk/index.html
> On Jul 1, 1:07 am, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
> > I am still getting the problem.
> --------------------------------------------------------------------------- ---------------------
> > your C compiler does not seem to work:
> > build/core/ndk-common.sh: line 351: C:\make-3.81: command not found
> > On Wed, Jul 1, 2009 at 6:56 AM, hrlixi...@gmail.com <hrlixi...@gmail.com
> >wrote:
> > > Yes, it is your windows environment variables, you need to change the
> > > valiable : ANDROID_NDK_ROOT
> > > you can find it in your System properties->Advanced->Environment
> > > Variables.
> > > On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
> > > > hi,
> > > > can you pls tell me where did you change the path? is there any env
> > > > variable?
> > > > regards,
> > > > On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
> > > > <hrlixi...@gmail.com>wrote:
> > > > > After I changed the path to NDK from C:\Users\Android\android-
> > > > > ndk-1.5_r1
> > > > > to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
> > > > > setup.sh successfully.
> > > > > On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
> > > > > > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
> > > > > hrlixi...@gmail.com>wrote:
> > > > > > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> > > > > > > i have the same problem as Jonas. how can i get rid of this
> error?
> > > > > > hmm, this is strange. The script is complaining because it didn't
> > > find a
> > > > > > known file
> > > > > > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip
> the
> > > NDK
> > > > > > package,
> > > > > > and do you have files there?
> > > > > > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
> > > > > > > > Which version of Windows are you running?
> > > > > > > > OK, just a wild guess, can you tell me the output of "echo
> $OS"
> > > in a
> > > > > > > Cygwin
> > > > > > > > terminal.
> > > > > > > > The host-setup.sh script assumes that this will return
> > > "Windows_NT"
> > > > > on
> > > > > > > > Win32, but I wouldn't be surprised if it returned something
> > > different
> > > > > on
> > > > > > > > Windows 7 or maybe some versions of Vista. That would explain
> the
> > > > > error.
> > > > > > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <
> jonas.hey...@gmail.com>
> > > > > wrote:
> > > > > > > > > Hi,
> > > > > > > > > I have installed the latest SDK and NDK but when running
> the
> > > > > command:
On Wed, Jul 1, 2009 at 12:03 PM, David Turner <di...@android.com> wrote:
> different bug, try to run "bash build/host-setup.sh" instead, and it will
> work. :-(
> On Wed, Jul 1, 2009 at 7:48 AM, krr_android <k.rajire...@gmail.com> wrote:
>> Now, I tried the same NDK(Linux version) installation in Linux and I
>> am getting the following error
>> --------------------------------------------------------------------------- ---------------------------------
>> user@ubuntu810desktop:/android/android-ndk-1.5_r1$ build/host-
>> setup.sh
>> build/host-setup.sh: 23: source: not found
>> Detecting host toolchain.
>> build/host-setup.sh: 57: force_32bit_binaries: not found
>> build/host-setup.sh: 58: setup_toolchain: not found
>> build/host-setup.sh: 60: cannot create : Directory nonexistent
>> Can't create directory for host config file: out/host
>> user@ubuntu810desktop:/android/android-ndk-1.5_r1$
>> On Jul 1, 1:07 am, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
>> > I am still getting the problem.
>> --------------------------------------------------------------------------- ---------------------
>> > your C compiler does not seem to work:
>> > build/core/ndk-common.sh: line 351: C:\make-3.81: command not found
>> > On Wed, Jul 1, 2009 at 6:56 AM, hrlixi...@gmail.com <
>> hrlixi...@gmail.com>wrote:
>> > > Yes, it is your windows environment variables, you need to change the
>> > > valiable : ANDROID_NDK_ROOT
>> > > you can find it in your System properties->Advanced->Environment
>> > > Variables.
>> > > On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:
>> > > > hi,
>> > > > can you pls tell me where did you change the path? is there any env
>> > > > variable?
>> > > > regards,
>> > > > On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
>> > > > <hrlixi...@gmail.com>wrote:
>> > > > > After I changed the path to NDK from C:\Users\Android\android-
>> > > > > ndk-1.5_r1
>> > > > > to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
>> > > > > setup.sh successfully.
>> > > > > On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:
>> > > > > > On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <
>> > > > > hrlixi...@gmail.com>wrote:
>> > > > > > > I am using windows xp, and "echo $OS" returns "Windows_NT" ,
>> > > > > > > i have the same problem as Jonas. how can i get rid of this
>> error?
>> > > > > > hmm, this is strange. The script is complaining because it
>> didn't
>> > > find a
>> > > > > > known file
>> > > > > > under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly
>> unzip the
>> > > NDK
>> > > > > > package,
>> > > > > > and do you have files there?
>> > > > > > > On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:
>> > > > > > > > Which version of Windows are you running?
>> > > > > > > > OK, just a wild guess, can you tell me the output of "echo
>> $OS"
>> > > in a
>> > > > > > > Cygwin
>> > > > > > > > terminal.
>> > > > > > > > The host-setup.sh script assumes that this will return
>> > > "Windows_NT"
>> > > > > on
>> > > > > > > > Win32, but I wouldn't be surprised if it returned something
>> > > different
>> > > > > on
>> > > > > > > > Windows 7 or maybe some versions of Vista. That would
>> explain the
>> > > > > error.
>> > > > > > > > On Fri, Jun 26, 2009 at 2:13 PM, Jonas <
>> jonas.hey...@gmail.com>
>> > > > > wrote:
>> > > > > > > > > Hi,
>> > > > > > > > > I have installed the latest SDK and NDK but when running
>> the
>> > > > > command: