android 自定义viewR.styleable找不到或者是报错!

先查看当前module是否有如下内容   如果没有就加上 问题就可能解决,如果还没有解决请查看是否导入了错误的R类。

android{

compileSdkVersion23

buildToolsVersion"24.0.2"

defaultConfig{

minSdkVersion14

targetSdkVersion23

versionCode1

versionName"1.0"

}

buildTypes{

release{

minifyEnabledfalse

proguardFilesgetDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'

}

}

}

更多相关文章

  1. android2.2更新为android2.3
  2. fedora 18 源码编译 android 4.0.1
  3. android字符串处理(Mms模块短信内容解析)
  4. (OK) 编译batman-adv.ko—成功—android—cm11源码—下载
  5. android 之 新浪微博
  6. 《Android应用开发揭秘》读者问题汇总
  7. Android(安卓)- 利用内容提供者删除通话记录
  8. ubuntu 11.10 android ndk awk安装错误修改记
  9. How to compile Android(安卓)2.3 on Ubuntu 10.04 32bit

随机推荐

  1. android:screenOrientation 强制屏幕方向
  2. Android(安卓)JUnit单元测试
  3. Android数据库操作的两种方式
  4. android 中限制EditText 最大输入字符数
  5. Google Maps API Key申请方法及地址
  6. 2010.11.27———android 展示网络上的图
  7. Android中的存储路径之外部存储
  8. android studio 3.6.0 绑定视图新特性
  9. ionic1X Could not GET 'https://repo1.m
  10. android Exid 不可修改