갑자기 다음과 같은 괴상한(?) 에러가 나면서
안드로이드 실행이 되지 않는 경우가 있습니다!
Invalid layout of java.lang.String at value
A fatal error has been detected by the Java Runtime Environment:
Internal Error (javaClasses.cpp:129), pid=15238, tid=140306591237888
fatal error: Invalid layout of preloaded class
JRE version: 7.0_07-b10
Java VM: Java HotSpot(TM) 64-Bit Server VM (23.3-b01 mixed mode linux-amd64 compressed ops)
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try ulimit -c unlimited" before starting Java again
An error report file with more information is saved as:
/home/till/workspace/Encrypt/hs_err_pid15238.log
If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
다양한 원인이 있을 수 있겠지만
가장 먼저 확인할 부분은 Run As 부분입니다.
혹시 Java Application으로 계속 실행하고 있는 것은 아닌지 확인할 필요가 있습니다.(Run As -> Android Application을 해주면 해결됩니다!)
'IT노트(구) > Java' 카테고리의 다른 글
ResultSet을 ArrayList<HashMap>로 변환하는 방법 (0) | 2016.01.22 |
---|---|
AES256 암호화할 때 Key length not 128/192/256 bits 에러 해결 방법 (0) | 2016.01.18 |
안드로이드에서 java.net.UnknownHostException이 발생할 때 해결 방법 (0) | 2016.01.14 |
ArrayList를 ArrayList 기준으로 삭제하는 방법[removeAll() 이용] (0) | 2016.01.06 |
jsp에서 요청 방식 판별하는 방법(GET인지 POST인지) (0) | 2016.01.06 |