[已解决]在ubuntu 13.04以后包括deepin出现eclipse for android崩溃的bug
Tofloor
poster avatar
qq200600
deepin
2013-08-20 08:25
Author
在ubuntu 13.04后在google官网下载的android adt 也就是配置好android开发坏境的eclipse
在新建项目的某个类中打开智能提示 比如this. 会弹出提示 然后crash掉
然后错误日志一般是这种:
  1. #
  2. # A fatal error has been detected by the Java Runtime Environment:
  3. #
  4. #  SIGSEGV (0xb) at pc=0x00007fb29dce2009, pid=19297, tid=140405947455232
  5. #
  6. # JRE version: 7.0_10-b18
  7. # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode linux-amd64 compressed oops)
  8. # Problematic frame:
  9. # C  [libsoup-2.4.so.1+0x6e009]  soup_session_feature_detach+0x19
  10. #
  11. # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try        "ulimit -c unlimited" before starting Java again
  12. #
  13. # An error report file with more information is saved as:
  14. # /home/psycho/hs_err_pid19297.log
  15. #
  16. # If you would like to submit a bug report, please visit:
  17. #   http://bugreport.sun.com/bugreport/crash.jsp
  18. # The crash happened outside the Java Virtual Machine in native code.
  19. # See problematic frame for where to report the bug.
  20. #
Copy the Code
经过在谷歌的搜索下发现了答案
只要在eclipse.ini中加入以下字符就行了
  1. -Dorg.eclipse.swt.browser.DefaultType=mozilla
Copy the Code

转载自我的博客:http://blog.csdn.net/qq634416025/article/details/10056931
Reply Favorite View the author
All Replies
electricface
deepin
2013-08-20 17:14
#1
好给力,感谢楼主的google。
Reply View the author
qq200600
deepin
2013-08-21 04:55
#2
好给力,感谢楼主的google。
:
Reply View the author
DandyIder
deepin
2013-08-21 20:11
#3
楼主,你用eclipse启动android AVD的时候 速度快么?编译运行的时候吃CPU不?
昨晚在Deepin搭建的 Android Studio,启动AVD的时候相当吃CPU,内出也吃得很多,平常也就1.5G开了AVD之后就直接上2.5G了,编译和运行都很吃CPU,感觉很吃力,在ubuntu12.04.2上都没这么吃力。
Reply View the author
qq200600
deepin
2013-08-22 15:29
#4
楼主,你用eclipse启动android AVD的时候 速度快么?编译运行的时候吃CPU不?
昨晚在Deepin搭建的 Android Studio,启动AVD的时候相当吃CPU,内出也吃得很多,平常也就1.5G开了AVD之后就直接上2.5G了,编译和运行都很吃CPU,感觉很吃力,在ubuntu12.04.2上都没这么吃力。
没有吧  感觉啊开发那studio比在windows下面块多了 就是感觉窗口有点儿太大 不习惯
Reply View the author
DandyIder
deepin
2013-08-22 17:55
#5
[quote]楼主,你用eclipse启动android AVD的时候 速度快么?编译运行的时候吃CPU不?
昨晚在Deepin搭建的 Android Studio,启动AVD的时候相当吃CPU,内出也吃得很多,平常也就1.5G开了AVD之后就直接上2.5G了,编译和运行都很吃CPU,感觉很吃力,在ubuntu12.04.2上都没这么吃力。
没有吧  感觉啊开发那studio比在windows下面块多了 就是感觉窗口有点儿太大 不习惯[/quote]
我用deepin搭建的平台,启动虚拟机和run HellWorld 电脑都带劲,cpu很吃。唉,难道是我的配置不行了?
Reply View the author