Android开发中的代码关联问题:Failed to create the part'sControls(Unmatched braces in the pattern.)
2016-08-28 08:43
501 查看
今日个写安卓程序,本想打开源代码瞅一瞅,不了出现错误:
Failed to create the part’sControls(Unmatched braces in the pattern.),随后百度得知,最后根据自己的理解总结一下哦~
错误:
**
我觉着我出现这种错误的原因是因为我的Android SDK重新安装了一遍的缘故,从而在你ctrl+鼠标左键时找不到SDK路径下的android源代码而引起的吧
**
解决
可以详参:
http://blog.csdn.net/hytdsky/article/details/4736462
这个就是最后要改的android-sdk里面的android路径,也就是代码资源包罗,然后其他的步骤可以参考那个链接哦,然后就可以了
记住:path里面的路径只需要定位到sources,不需要精确到sources/android-22(或者其他版本)这里去了,因为你安卓开发可能用多个版本的API,所以直接精确到sources目录,他会自动查找到相应的源代码的,如果你精确到了android-22(举例)上面,则在你创建其他版本的安卓项目想看源代码时又得调了。。。
Failed to create the part’sControls(Unmatched braces in the pattern.),随后百度得知,最后根据自己的理解总结一下哦~
错误:
**
我觉着我出现这种错误的原因是因为我的Android SDK重新安装了一遍的缘故,从而在你ctrl+鼠标左键时找不到SDK路径下的android源代码而引起的吧
**
解决
可以详参:
http://blog.csdn.net/hytdsky/article/details/4736462
这个就是最后要改的android-sdk里面的android路径,也就是代码资源包罗,然后其他的步骤可以参考那个链接哦,然后就可以了
记住:path里面的路径只需要定位到sources,不需要精确到sources/android-22(或者其他版本)这里去了,因为你安卓开发可能用多个版本的API,所以直接精确到sources目录,他会自动查找到相应的源代码的,如果你精确到了android-22(举例)上面,则在你创建其他版本的安卓项目想看源代码时又得调了。。。
相关文章推荐
- (转)Ubuntu 64 位下Android开发出现Error : Failed to create sdcard in the AVD folder
- android 未能打开编辑器:Unmatched braces in the pattern 解决方法
- CentOS上搭建Android开发环境遇到此错误:failed to create the SD card
- 解决Eclipse3.4 Unmatched braces in the pattern 问题
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the directory问题的解决
- Android开发常见问题之"Failed to convert @drawable/xx into a drawable Exception details are logged in Window
- Ubuntu 12.04 Android SDK Failed to create sdcard in the AVD folder.
- android开发eclipse启动failed to create the java virtual machine 解决方法
- Android开发环境[adt-bundle-windows-x86-20140702][Failed to create the Java Virtual Machine]
- Android开发之旅(JAVA)——Failed to create the Java Virtual Machine
- android开发中出现“Failed to create the Java Virtual Machine”时的解决方法
- Eclipse关联源码时候:failed to create the part's controls的解决方法
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- eclipse failed to create the java virtual machine 问题图文解析
- eclipse问题:Failed to create the Java Virtual Machine
- Ubuntu 64 位 Error : Failed to create sdcard in the AVD folder.
- Fedora17 64位 android "failed to create the SD card" 解决方法
- 完美解决 未能打开编辑器:Unmatched braces in the pattern.
- Eclipse中未能打开编辑器:Unmatched braces in the pattern 的解决方法
- Android开发问题 - Some projects cannot be imported because they already exist in the workspace