-
ICS 빌드시 java version 이 맞지 않는 에러 발생.Android 2012. 1. 26. 09:23
"Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_22".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
위와 같은 메시지가 발생해서 삽질을 했다..
1.6. 버전과 뭐가 틀리다는 건지..
아무튼 다음 방법을 이용해서 java 를 설치하고 path 다시 지정해주고 build 해보니 된다.
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk'Android' 카테고리의 다른 글
안드로이드에서 DataBase를 다뤄보자! (0) 2011.11.29 JNI C++ 오브젝트 처리하기 (0) 2011.11.10 Android Native Library (0) 2011.10.31 Android NDK for Linux (0) 2011.10.13 Android SDK for Linux (0) 2011.10.13