2012년 11월 14일 수요일
2012년 11월 12일 월요일
2012년 11월 11일 일요일
how to display multiple lines of text on a button
In layout xml file, add the following.
for example, android:text="Hi Hello"
In coding, just use '\n'.
for example, android:text="Hi Hello"
In coding, just use '\n'.
how to solve problem that java file is opened in gedit, not java editor in eclipse.
Right click on the file on the package manager, and go to "open with" menu. Choose default editor, not system editor.
how to solve javahl error in Ubuntu
I installed sublicpse and got javahl error whenever I started eclipse. The following is how to solve that error.
1. type "sudo apt-get install libsvn-java" in the terminal.
2. Type "gedit ~/.eclipse/eclipserc" in the terminal and add the line VMARGS="-Djava.library.path=/usr/lib/jni" on the file, and save it.
3. add this line to your eclipse.ini
1. type "sudo apt-get install libsvn-java" in the terminal.
2. Type "gedit ~/.eclipse/eclipserc" in the terminal and add the line VMARGS="-Djava.library.path=/usr/lib/jni" on the file, and save it.
3. add this line to your eclipse.ini
-Djava.library.path=/usr/lib/jni
2012년 11월 4일 일요일
how to fix "NoClassDefFoundError"
check if the folder name where jar library file is located is "libs", not "lib". if the folder name is "lib", then change the name to "libs". Then it will work, and the error will be gone.
피드 구독하기:
글 (Atom)