2014年9月30日 星期二

Android Developer Tools 23.0 Export APK Error



When Exporting APK, there are 3 kinds of error when using ADT 23.0


1. duplicate id @+id/image already defined earlier in this layout

2. This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) : google-play-services_lib

3. "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

to fix that  Change Lint  FATAL to Warring
Window -> Preference -> Android -> Lint Error Checking

Correctness ->  DuplicateIds
Correctness ->  Instantiatable

Correctness:Messages -> Missing Translation

沒有留言:

張貼留言