该应用可以在调试模式下运行。 日食没有问题。 但如果我在android studio中使用build->生成签名的apk,则会出现很多错误,例如下面的显示..
错误:避免片段中的非默认构造函数:使用默认构造函数加上Fragment #setArguments(Bundle)而不是[ValidFragment] public AdvanceDialogNoBalance(String unpaidSumMoney,String balance,String month)
错误:(4)错误:" app_name"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation] 错误:(5)错误:" action_settings"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation] 错误:(6)错误:" drawer_open"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation] 错误:(7)错误:" drawer_close"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation] 错误:(10)错误:"取消"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation] 错误:(11)错误:" try_again"未被翻译成" ja" (日语)," zh" (中文)[MissingTranslation]
答案 0 :(得分:1)
使用下一行代码以避免在gradle中检测
lintOptions {
abortOnError false
}