系统:ubuntu,装个五笔装了二个多小时~~~~QQ只能用WEB版了。本来想用Gentoo,但是为了简单,还是选择了ubuntu。
和window差不多。jdk,android sdk,eclipse。
装好后有个奇怪的问题,启动模拟器的时候报错:
ERROR: 32-bit Linux Android emulator binaries are DEPRECATED, to use them
[2014-11-03 21:16:32 - Emulator] you will have to do at least one of the following:
[2014-11-03 21:16:32 - Emulator]
[2014-11-03 21:16:32 - Emulator] - Use the '-force-32bit' option when invoking 'emulator'.
[2014-11-03 21:16:32 - Emulator] - Set ANDROID_EMULATOR_FORCE_32BIT to 'true' in your environment.
[2014-11-03 21:16:32 - Emulator]
[2014-11-03 21:16:32 - Emulator] Either one will allow you to use the 32-bit binaries, but please be
[2014-11-03 21:16:32 - Emulator] aware that these will disappear in a future Android SDK release.
[2014-11-03 21:16:32 - Emulator] Consider moving to a 64-bit Linux system before that happens.
[2014-11-03 21:16:32 - Emulator]
搞了半个晚上,搞定了:
环境变量里加ANDROID_EMULATOR_FORCE_32BIT=true
用命令行启动: emulator -force-32bit -avd avd名
重起eclipse好了。
linux不熟,文件夹和命令搞了半天。