android的学习(一)环境搭建
16lz
2021-01-26
在此我就不重复那么多安装的步骤了。园子里有很多环境搭建的文章可以学习。
http://www.cnblogs.com/smartbooks/archive/2012/05/27/2520595.html
这里提供个链接。
我安装过程中遇到过一些问题:
一般情况下打开SDK Manager.exe把需要下载的东西下全了。
有时候会出现PANIC: Could not open: C:\Documents and Settings\Administrator\.android/avd/ 这种提示
需要设置ANDROID_SDK_HOME=D:/android-sdk-windows/tools; (你自己的位置)
然后重启eclipse,就OK了。
第一次运行模拟器速度很慢,大家耐心等等。
运行完,小修改了下 第二次运行的时候,报错了,类似下面的:
[2012-07-26 11:27:46 - demo] Re-installation failed due to different application signatures.[2012-07-26 11:27:46 - demo] You must perform a full uninstall of the application. WARNING: This will remove the application data![2012-07-26 11:27:46 - demo] Please execute 'adb uninstall com.example.demo' in a shell.[2012-07-26 11:27:46 - demo] Launch canceled!
E:\android-sdk\platform-tools>adb uninstall com.example.demoSuccess
按照上述的语句执行下就OK,还有模拟器可以不用关闭,直接run项目就可以了。
更多相关文章
- 安卓开发环境AS2.0搭建
- android sdk命令行update
- Android(安卓)Studio 3.3.2 正式版的安装
- android 编译碰到的问题及解决办法:(ubuntu下编译)
- (android)向sdcard中添加文件出现Failed to push the item(s)
- 探索react-native run-ios(android)
- android获取已安装应用中的系统应用程序
- android activity/service开机后自动运行 (转)
- Android(安卓)Studio project有多个module情况下安装到手机出现