frameworks/base/core/res/res/xml/storage_list_box.xml:47: error: Error: No resource found that matches the given name (at 'storageDescription' with value '@string/storage_nand_flash').
编译SDK时,不要用. build/envsetup.sh
而是用编译image的方法,先运行 . build.sh, 这里面会设置JAVA的环境变量,然后再lunch sdk-eng, make sdk,就能编译了
然后编译SDK的过程中又遇到了另外一个问题,不知是否有人有遇到过:
Install: out/host/linux-x86/bin/atree
Install: out/host/linux-x86/bin/line_endings
Converting font: DroidSansMono.ttf
Converting font: Lohit-Odia.ttf
Lohit-Odia.ttf is not a valid font
Traceback (most recent call last):
File "frameworks/base/tools/layoutlib/rename_font/build_font_single.py", line 208, in <module>
main(sys.argv[1:])
File "frameworks/base/tools/layoutlib/rename_font/build_font_single.py", line 77, in main
convert_font(input_path, dest_path)
File "frameworks/base/tools/layoutlib/rename_font/build_font_single.py", line 96, in convert_font
update_tag(name, get_font_info(name))
File "frameworks/base/tools/layoutlib/rename_font/build_font_single.py", line 144, in get_font_info
font.version = get_version(namerecord.text)
File "frameworks/base/tools/layoutlib/rename_font/build_font_single.py", line 200, in get_version
raise InvalidFontException('mal-formed font version')
__main__.InvalidFontException: mal-formed font version
make: *** [out/host/common/obj/PACKAGING/sdk-fonts_intermediates/Lohit-Odia.ttf] 错误 1