Error:Error: This fragment should provide a default constructor (a public constructor with no arguments)

参考:http://stackoverflow.com/questions/29762949/error-this-fragment-should-provide-a-default-constructor-a-public-constructor/29763103

简单粗暴的方法:
在build.gradle里面加上
android{
lintOptions {
abortOnError false
checkReleaseBuilds false
}
}

原因参考:http://blog.csdn.net/wangshihui512/article/details/51198268

你可能感兴趣的:(Error:Error: This fragment should provide a default constructor (a public constructor with no arguments))