I got this error while trying to generate the signed APK. The thing is, my app is able to run and debug normally on my device. I don\'t know why when I try to generate APK, this
Found the solution. The easier way is to add these to the gradle:
android { lintOptions { checkReleaseBuilds false } }
Or another way is to add @SuppressLint("ValidFragment")
@SuppressLint("ValidFragment")