To see a world in a grain of sand.
And a heaven in a wild flower
Hold infinity in the palm of your hand.
And eternity in an hour
一花一世界
一沙一天堂
掌中握无限
霎那成永恒
星期六, 六月 29, 2013
星期六, 六月 15, 2013
星期四, 六月 13, 2013
星期三, 六月 12, 2013
如何从Eclipse ADT 转换到Google Android Studio
前提:
Google 推荐使用gradle代替maven 来管理项目。
1.所以,首先必须在Eclipse 里使用export然后在项目里选择
生成 gradle script 文件Google 推荐使用gradle代替maven 来管理项目。
1.所以,首先必须在Eclipse 里使用export然后在项目里选择
同样Eclipse ADT plugin 也必须在SDK 升级后,升级到最新的版本。

从android快速启动UI里:
选择 Configure->Project Defaults-> Project Structure.在左面的面板里选择设置Android SDKs
星期三, 六月 05, 2013
ADT emulator-5554 disconnected! 错误纠正
在命令行使用adb kill-server,adb start-server即可
然后再Eclipse里打开 devices view,刷新即可看到emulator,
然后就可以run Android application 了。
而不是又重新开启一个新的emuluator.
然后再Eclipse里打开 devices view,刷新即可看到emulator,
然后就可以run Android application 了。
而不是又重新开启一个新的emuluator.