if (flag) {
db.execSQL(sql.toString(), valueTempList.toArray());
}
Just add a judgment to it.
if (flag) {
db.execSQL(sql.toString(), valueTempList.toArray());
}
Just add a judgment to it.
Error:Execution failed for task 'XXX :processDebugManifest'. > Manifest merger failed with multiple errors, see logs
problem solution.
added a new item as a dependency to the original project today, after a series of configurations in the Manifest, this error occurs for gradle.
Why
The Gradle plug-in for AS enables the Manifest Merger Tool by default, and if the same attributes AS the main project are also defined in the Library project (such AS the default-generated Android:icon and Android: Theme), then the merge fails and the error is reported.
solution
In the manifest is joined on the root tag XMLNS: tools = "http://schemas.android.com/tools" code>, and in the manifest. The application of XML tags add
tools: replace = "icon, label, the theme" code> (multiple attributes, separated, as the case may be). Or
tools: replace = "the android: icon, android: label, android: theme" code>
http://tools.android.com/tech-docs/new-build-system/user-guide/manifest-merger official method for reference