1、导入eclipse项目,可能会出现lib png not file,原因是图片不是png格式,改成jpg试试
2、
com.android.builder.packaging.DuplicateFileException
出现这个异常,加上配置如下
packagingOptions{
exclude'META-INF/DEPENDENCIES.txt'
exclude'META-INF/LICENSE.txt'
exclude'META-INF/NOTICE.txt'
exclude'META-INF/NOTICE'
exclude'META-INF/LICENSE'
exclude'META-INF/DEPENDENCIES'
exclude'META-INF/notice.txt'
exclude'META-INF/license.txt'
exclude'META-INF/dependencies.txt'
exclude'META-INF/LGPL2.1'
}
3、永久设置show line number
setting—>Edit—>Appearance—>show Line Numbers
4、Error:(1, 1) 错误: 非法字符: '\ufeff'
文件格式另存为”UTF-8"格式