Error:Error: Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundle) instead [ValidFragment]
出现这个问题是因为使用Fragment重载了带参的构造函数,在类前添加@SuppressLint(“ValidFragment”)即可
Error:(4) Error: “instapager_login_html” is not translated in “en” (English) [MissingTranslation]
在build.gradle里面配置:
lintOptions{
checkReleaseBuilds false
abortOnError false
}