You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2.0.0 of Android Gradle plugin broke the patch code. There were a few changes in CreateManifestKeepList task - mainly the task was converted from using Groovy to Java. The KEEP_SPECS static member that I was patching previously was converted to a ImmutableMap, which throws an UnsupportedOperationException when calling its remove method:
Error:(143, 0) A problem occurred evaluating project ':sample'.
Open File
指向下面第一行出错:
if (keepSpecsMap.remove("activity") != null) {
// println "KEEP_SPECS patched: removed 'activity' root"
} else {
// println "Failed to patch KEEP_SPECS: no 'activity' root found"
}
The text was updated successfully, but these errors were encountered: