-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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@12 app crashing and not install issu #1619
Comments
Many devices opening splash screen and close |
Please fill out the form, and include the output of |
cordova-plugin-admobpro 8.13.1 "AdMob Plugin Pro" |
Can you explain the steps that was taken to update to cordova-android@12? |
First unstall Cordova and fresh install |
App working fine my emulator and my mobile. But some device app crash and not opening and installing issue |
That's not very descriptive. Cordova has several packages with their own version numbers. For example there is To use
The
Then to upgrade an existing project, you'll need to remove the platform and add the new version:
If you're upgrading from cordova-android@9 then you should the following plugins if they are installed:
If you're still having problems, then I'd try removing the
|
I set also minimum sdk 21 |
cordova-android@12 is only tested with API 24+.
This looks like a native UI being produced by a plugin given that it has an action bar, which the cordova activity has disabled. The problem here appears to be in one of your installed plugins. |
FATAL EXCEPTION: main |
app not ruuning adroid 5 6 on e'4_WVGA_Nexus_S_Edited_API_23 [emulator-5554]'. |
The first screenshot does like the cordova hello world template. The second screenshot that says "App not installed." is not something cordova produces.
API 23 is not supported by the cordova framework so your mileage may vary if you try to force it (by overriding the
I've tested the hello world app with your plugins installed. API 24 works (as in it launches without issues) If you truly need API 23 support, you'll have to fork the cordova framework and refactor out anything that requires API 24+. Note that I also did some testing on API 33 devices and some of your plugins doesn't appear to support API 31+ either (they require changes in their usage of
None of the issues discovered are bugs with Cordova, so I'll be closing this issue. |
Simple hello world app not installing |
On Android 9 |
But PluginManager has this code to prevent problems with Lambda (@breautek):
We use cordova-android 11 with |
cordova-android@12 has the check removed to simplify the codebase so it only has the lambda usage. Cordova-android@11 has the SDK version check to support both. This is getting off-topic now so I'm locking the thread. TL;DR; is don't use a minimum SDK less than 24 on cordova-android@12. |
Bug Report
Problem
What is expected to happen?
What does actually happen?
Information
Command or Code
Environment, Platform, Device
Version information
Checklist
The text was updated successfully, but these errors were encountered: