Android 之 Run Android Lint

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

重新编译,运行。

posted @ 2015-03-23 12:51  太古方糖  阅读(1449)  评论(0编辑  收藏  举报