博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Android 之 Run Android Lint
阅读量:4457 次
发布时间:2019-06-08

本文共 1110 字,大约阅读时间需要 3 分钟。

1."app_name" is not translated in af, am, ar, be, bg, ca, cs, da, de, el, en-rGB, en-rIN, es, es-rUS, et, et-rEE, fa, fi, fr, fr-rCA, hi, hr, hu, hy-rAM, in, it, iw, ja, ka-rGE, km-rKH, ko, lo-rLA, lt, lv, mn-rMN, ms, ms-rMY, nb, nl, pl, pt, pt-rBR, pt-rPT, ro, ru, sk, sl, sr, sv, sw, th, tl, tr, uk, vi, zh-rCN, zh-rHK, zh-rTW, zu

 

解决方法:

Mac下:go to eclipse->偏好设置->Android->Lint Error Checking

Find there Missing Translation and change its Severity to Warning.

 

2."auth_client_using_bad_version_title"is translated here but not found in default locale

 

解决方法:

Mac下:go to eclipse->偏好设置->Android->Lint Error Checking

Correctness: Messages--> Extra Translations ------------>make it Fatal to Warning

 

3.android:actionModeShareDrawable requires API level 21

 

进入项目文件AndroidManifest.xml,将Android:minSdkVersion 改为21

 

4.v7 Duplicate id @+id/image,already defined earlier in this layout

这个错误是v7工具库里的错误,在工程的界面文件中会出现报警信息:

目前这个bug还没有改好,暂时的解决方法是:

Mac下:go to eclipse->偏好设置->Android->Lint Error Checking

Duplicatelds和Instantiatable两个选项改为warning。

 

然后clear Lint,project-》clean

重新编译,运行。

转载于:https://www.cnblogs.com/ifiew/p/4359124.html

你可能感兴趣的文章
Web用户的身份验证及WebApi权限验证流程的设计和实现
查看>>
hdu 2098 分拆素数和
查看>>
[ONTAK2010]Peaks kruskal重构树,主席树
查看>>
ECMAScript6-let与const命令详解
查看>>
iOS 使用系统相机、相册显示中文
查看>>
什么是敏捷设计
查看>>
SCSS的基本操作
查看>>
"安装程序无法定位现有系统分区" 问题解决
查看>>
.NET中栈和堆的比较
查看>>
【莫队】bzoj 3781,bzoj 2038,bzoj 3289
查看>>
如何优化limit
查看>>
几种常用数据库字段类型查询语句
查看>>
字符全排列
查看>>
提高效率必须改掉的7种习惯
查看>>
Java判断语句中判断条件的执行顺序
查看>>
Windows平台下tomcat+java的web程序持续占cpu问题调试
查看>>
OO第四次博客作业!
查看>>
HDU 吉哥系列故事——完美队形II 騰訊馬拉松初賽第二輪D題
查看>>
c++学习-继承
查看>>
[转]SQL Server 性能调优(io)
查看>>