Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova-android 9: The application was stopped #44

Open
adelmojunnior opened this issue Nov 5, 2020 · 0 comments
Open

cordova-android 9: The application was stopped #44

adelmojunnior opened this issue Nov 5, 2020 · 0 comments

Comments

@adelmojunnior
Copy link
Collaborator

adelmojunnior commented Nov 5, 2020

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.

@mfdeveloper mfdeveloper changed the title Aplicação parou no cordova-android 9 cordova-android 9: The application was stopped Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant