安卓开发环境搭建后碰到的疑难问题

1、cvc-complex-type.2.4.d: 发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。 

D:\Software\android-sdk-windows\tools\lib\devices.xml覆盖D:\Software\android-sdk-windows\system-images\android-27\android-tv\x86\devices.xml即可。

其中D:\Software\android-sdk-windows是安卓sdk路径;D:\Software\android-sdk-windows\system-images\android-27\android-tv\x86是模拟路径。


2、Android错误之--activity_main cannot be resolved or is not a field

http://blog.csdn.net/yayun0516/article/details/47777617


3、Failed to load dx.jar

dx.jar版本兼容性问题,选择25.0.2即可,试过26.0.1、27.0.1均不行。


4、emulator:ERROR:This AVD's configuration is missing a kernel file! 解决方法

http://blog.csdn.net/qq503393230/article/details/39610545


5、Error:(11) No resource identifier found for attribute 'roundIcon' in package

删除AndroidManifest.xml里的 android:roundIcon="@mipmap/ic_launcher_round"


6、adb 连接手机端口5037被占用问题的定位

在控制台:

a、netstat -ano | findstr "5037"找出进程号,

b、通过进程号"8100"找出进程名tasklist | findstr "8100"

经确认是进程LdsMobileLink.exe导致,鲁大师进程占用。


7、Android Studio 卡在Initializing ADB的界面动弹不了

解决方法:工程换个路径

http://ask.csdn.net/questions/338326


8、Android Studio项目各模块的版本问题整理

http://blog.csdn.net/mhl18820672087/article/details/78385361




  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值