In the file "/platforms/android/CordovaLib/src/org/apache/cordova/PluginManager.java" line 492 using cordova-android 9,
if (c != null & CordovaPlugin.class.isAssignableFrom(c)) {
ret = (CordovaPlugin) c.newInstance();
}
The value of ret variable is null and shows the error message "the application was stopped".
When go back to the last version 1.0.12 of the NativeView.java, and comenting the getBuildVariant method, the error mentioned above in PluginManager.java not happens.
In the file "/platforms/android/CordovaLib/src/org/apache/cordova/PluginManager.java" line 492 using cordova-android 9,
The value of
retvariable is null and shows the error message "the application was stopped".When go back to the last version
1.0.12of theNativeView.java, and comenting thegetBuildVariantmethod, the error mentioned above inPluginManager.javanot happens.