요기서 받을 수 있다.
http://sourceforge.net/projects/proguard/files/proguard/
참고로 Proguard의 홈페이지
http://proguard.sourceforge.net/index.html#
2011년 12월 25일 일요일
2011년 12월 22일 목요일
[Eclipse] Workspace가 사용중으로 나와서 열리지 않을때..
일단..
당연히 다른 이클립스가(같은 Workspace를 사용하는) 떠있는지 확인해 본다.
workspace/.metadata/.lock 파일을 지워 본다.
-> 지워지지 않으면 작업 관리자를 열어 javaw 프로세스를 강제 종료 한다.
이래도 않되면~
재부팅 또는 재설치 ㅋㅋㅋ
[Android] API Level 15 업데이트시 오류 해결법
안드로이드 4.0.3 (API Level 15)가 나와 업데이트를 하려 하는데
다음과 같은 이유로 이클립스 플러그인이 설치 되지 않는다.
Your original request has been modified.
"Android DDMS" is already installed, so an update will be performed instead.
"Android Development Tools" is already installed, so an update will be performed instead.
"Android Hierarchy Viewer" is already installed, so an update will be performed instead.
"Android Traceview" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
Missing requirement: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.core.runtime 3.6.0' but it could not be found
이는 이클립스의 버젼이 낮아서 이므로 이클립스를 3.6으로 업데이트 하면 해결 할 수 있다.
http://www.eclipse.org/downloads/
위 링크에서 3.6 이상의 버젼으로 업데이트 하면 된다.
다음과 같은 이유로 이클립스 플러그인이 설치 되지 않는다.
Your original request has been modified.
"Android DDMS" is already installed, so an update will be performed instead.
"Android Development Tools" is already installed, so an update will be performed instead.
"Android Hierarchy Viewer" is already installed, so an update will be performed instead.
"Android Traceview" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
Missing requirement: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534) requires 'org.eclipse.core.runtime 3.6.0' but it could not be found
이는 이클립스의 버젼이 낮아서 이므로 이클립스를 3.6으로 업데이트 하면 해결 할 수 있다.
http://www.eclipse.org/downloads/
위 링크에서 3.6 이상의 버젼으로 업데이트 하면 된다.
2011년 9월 5일 월요일
[JAVA] DefaultHttpClient 사용시 LogFactory가 없다는 오류가 나오면?
HttpClient 를 사용하다가 다음과 비슷한 에러를 만날 수 있다.
해당 라이브러리는
http://commons.apache.org/logging/
에서 받을 수 있으며
commons-logging-1.1.1.jar
파일을 라이브러리에 추가해 주면 된다.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.http.impl.client.AbstractHttpClient.(AbstractHttpClient.java:159)
at org.apache.http.impl.client.DefaultHttpClient.(DefaultHttpClient.java:178) at test.main(test.java:24)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
말그대로 LogFactory의 구현 클래스가 없다는 오류인데 사실 DefaultHttpClient 를 사용하려면 다음 라이브러리도 필요하다.해당 라이브러리는
http://commons.apache.org/logging/
에서 받을 수 있으며
commons-logging-1.1.1.jar
파일을 라이브러리에 추가해 주면 된다.
2011년 8월 25일 목요일
[JAVA] String을 InputStream으로 변환 하기
Inputsream is;
String strInput = "Input string";
is = new ByteArrayInputStream(strInput.getBytes("utf-8"));
String strInput = "Input string";
is = new ByteArrayInputStream(strInput.getBytes("utf-8"));
2011년 8월 17일 수요일
org.apache.commons.httpclient 패키지의 jar 파일
웹에서 소스를 긁다 보면 종종 라이브러리 파일이 없는 경우가 있다.
꼴랑 import xxx.xxx.xxxxx 라고 써있는데 막상 파일명도 아니고
구하려고 검색 하려면 짜증이 밀려 온다. (영어 때문에 -ㅁ-;;)
암튼 org.apache.commons.httpclient 패키지가 필요해서 구글링 쫌 해봤는데..
해당 패키지의 개발은 끝났고
import org.apache.http.httpclient 사용을 권장한다고 한다.
여기서 받을수 있다.
http://archive.apache.org/dist/httpcomponents/commons-httpclient/binary/
참고로 난 commons-httpclient-3.1.zip 파일을 받았다.
꼴랑 import xxx.xxx.xxxxx 라고 써있는데 막상 파일명도 아니고
구하려고 검색 하려면 짜증이 밀려 온다. (영어 때문에 -ㅁ-;;)
암튼 org.apache.commons.httpclient 패키지가 필요해서 구글링 쫌 해봤는데..
해당 패키지의 개발은 끝났고
import org.apache.http.httpclient 사용을 권장한다고 한다.
여기서 받을수 있다.
http://archive.apache.org/dist/httpcomponents/commons-httpclient/binary/
참고로 난 commons-httpclient-3.1.zip 파일을 받았다.
피드 구독하기:
글 (Atom)