のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

CygwinでAndroidをビルドできるのかな

bison,javaがいるのかな?
cygwinではだめっぽいな。
VmwareでUbuntuにしよう。

$ make
/bin/bash: prebuilt/windows/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc.exe:
 No such file or directory
/bin/bash: bison: command not found
which: no javac in (/android/bin:/home/m_fujii/android-ndk-r4b/bin
:/home/m_fujii/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32
:/cygdrive/c/Windows)
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=windows
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
Checking build tools versions...
************************************************************
You are attempting to build with 
the incorrect version of java.

Your version is: /bin/bash: java: command not found.
The correct version is: 1.6.

Please follow the machine setup instructions at
    http://source.android.com/source/download.html
************************************************************
build/core/main.mk:125: *** stop.  Stop.