Android 10.0.0 build fails with error
See original GitHub issueWARNING: IF YOU IGNORE THIS TEMPLATE, WE’LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
Provide a general summary of the issue. Build fails for android 10.0.0. Tried uninstalling and re-installing the plugin and platform.
Your Environment
- Plugin version: latest
- Platform: android
- OS version:
- Device manufacturer / model:
- Cordova version (10.0.0):
- Cordova platform version (android 10.0.0):
- Plugin config
- Ionic Version (if using Ionic)
Expected Behavior
Build should complete without errors. Tell us what should happen
Actual Behavior
The below error is thrown and the build fails:
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:35: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:36: error: package android.support.v4.util does not exist
import android.support.v4.util.ArraySet;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:37: error: package android.support.v4.util does not exist
import android.support.v4.util.Pair;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:56: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_DEFAULT;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:56: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_DEFAULT;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:57: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_HIGH;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:57: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_HIGH;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:58: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_LOW;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:58: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_LOW;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:59: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:59: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:60: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:60: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:61: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:61: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:62: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:62: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:63: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_LOW;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:63: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_LOW;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:64: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MAX;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:64: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MAX;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:65: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_HIGH;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:65: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_HIGH;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:34: error: cannot find symbol
import android.support.v4.app.NotificationManagerCompat;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:48: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:48: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:49: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_LOW;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:49: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_LOW;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:50: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_DEFAULT;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:50: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_DEFAULT;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:51: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_HIGH;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:51: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_HIGH;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:52: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:52: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:53: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:53: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_MIN;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:54: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_LOW;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:54: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_LOW;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:55: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:55: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_DEFAULT;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:56: error: cannot find symbol
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_HIGH;
^
symbol: class NotificationManagerCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:56: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationManagerCompat.IMPORTANCE_HIGH;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:91: error: package NotificationCompat does not exist
private static SparseArray<NotificationCompat.Builder> cache = null;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:30: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:31: error: package android.support.v4.app.NotificationCompat.MessagingStyle does not exist
import android.support.v4.app.NotificationCompat.MessagingStyle.Message;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:47: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_LIGHTS;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:47: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_LIGHTS;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:48: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_SOUND;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:48: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_SOUND;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:49: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.DEFAULT_VIBRATE;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:49: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.DEFAULT_VIBRATE;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:50: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:50: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MAX;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:51: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:51: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.PRIORITY_MIN;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:52: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.VISIBILITY_PUBLIC;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:52: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.VISIBILITY_PUBLIC;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:53: error: cannot find symbol
import static android.support.v4.app.NotificationCompat.VISIBILITY_SECRET;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:53: error: static import only from classes and interfaces
import static android.support.v4.app.NotificationCompat.VISIBILITY_SECRET;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:100: error: package NotificationCompat does not exist
private final NotificationCompat.Builder builder;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:109: error: package NotificationCompat does not exist
Notification(Context context, Options options, NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:575: error: package NotificationCompat does not exist
static NotificationCompat.Builder getCachedBuilder (int key) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:465: error: cannot find symbol
public NotificationManagerCompat getNotCompMgr() {
^
symbol: class NotificationManagerCompat
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\action\Action.java:25: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Options.java:635: error: cannot find symbol
Message[] getMessages() {
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Options
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\action\Action.java:111: error: cannot find symbol
public RemoteInput getInput() {
^
symbol: class RemoteInput
location: class de.appplant.cordova.plugin.notification.action.Action
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\localnotification\ClickReceiver.java:25: error: cannot find symbol
import android.support.v4.app.RemoteInput;
^
symbol: class RemoteInput
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:34: error: cannot find symbol
import android.support.v4.app.NotificationCompat;
^
symbol: class NotificationCompat
location: package android.support.v4.app
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:35: error: package android.support.v4.app.NotificationCompat.MessagingStyle does not exist
import android.support.v4.app.NotificationCompat.MessagingStyle.Message;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:36: error: package android.support.v4.media.app.NotificationCompat does not exist
import android.support.v4.media.app.NotificationCompat.MediaStyle;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:223: error: package NotificationCompat does not exist
private void applyStyle(NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:265: error: package NotificationCompat does not exist
private void applyMessagingStyle(NotificationCompat.Builder builder,
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:266: error: cannot find symbol
Message[] messages) {
^
symbol: class Message
location: class de.appplant.cordova.plugin.notification.Builder
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:286: error: package NotificationCompat does not exist
private void applyBigPictureStyle(NotificationCompat.Builder builder,
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:305: error: package NotificationCompat does not exist
private void applyInboxStyle(NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:324: error: package NotificationCompat does not exist
private void applyBigTextStyle(NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:340: error: package NotificationCompat does not exist
private void applyMediaStyle(NotificationCompat.Builder builder,
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:357: error: package NotificationCompat does not exist
private void applyDeleteReceiver(NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:384: error: package NotificationCompat does not exist
private void applyContentReceiver(NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:412: error: package NotificationCompat does not exist
private void applyActions (NotificationCompat.Builder builder) {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Builder.java:467: error: package NotificationCompat does not exist
private NotificationCompat.Builder findOrCreateBuilder() {
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\util\AssetProvider.java:22: error: package android.support.v4.content does not exist
import android.support.v4.content.FileProvider;
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\util\AssetProvider.java:24: error: cannot find symbol
public class AssetProvider extends FileProvider {
^
symbol: class FileProvider
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:159: error: cannot find symbol
return getOptions().getPrio() >= PRIORITY_HIGH;
^
symbol: variable PRIORITY_HIGH
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:186: error: cannot find symbol
List<Pair<Date, Intent>> intents = new ArrayList<Pair<Date, Intent>>();
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:186: error: cannot find symbol
List<Pair<Date, Intent>> intents = new ArrayList<Pair<Date, Intent>>();
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:187: error: cannot find symbol
Set<String> ids = new ArraySet<String>();
^
symbol: class ArraySet
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:206: error: cannot find symbol
intents.add(new Pair<Date, Intent>(date, intent));
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:222: error: cannot find symbol
for (Pair<Date, Intent> pair : intents) {
^
symbol: class Pair
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:235: error: cannot find symbol
case IMPORTANCE_MIN:
^
symbol: variable IMPORTANCE_MIN
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:236: error: cannot find symbol
case IMPORTANCE_LOW:
^
symbol: variable IMPORTANCE_LOW
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:239: error: cannot find symbol
case IMPORTANCE_MAX:
^
symbol: variable IMPORTANCE_MAX
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:240: error: cannot find symbol
case IMPORTANCE_HIGH:
^
symbol: variable IMPORTANCE_HIGH
location: class de.appplant.cordova.plugin.notification.Notification
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Notification.java:562: error: package NotificationCompat does not exist
cache = new SparseArray<NotificationCompat.Builder>();
^
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:122: error: cannot find symbol
int importance = IMPORTANCE_DEFAULT;
^
symbol: variable IMPORTANCE_DEFAULT
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:133: error: cannot find symbol
case PRIORITY_MIN:
^
symbol: variable PRIORITY_MIN
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:134: error: cannot find symbol
importance = IMPORTANCE_MIN;
^
symbol: variable IMPORTANCE_MIN
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:136: error: cannot find symbol
case PRIORITY_LOW:
^
symbol: variable PRIORITY_LOW
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:137: error: cannot find symbol
importance = IMPORTANCE_LOW;
^
symbol: variable IMPORTANCE_LOW
location: class de.appplant.cordova.plugin.notification.Manager
C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\app\src\main\java\de\appplant\cordova\plugin\notification\Manager.java:139: error: cannot find symbol
case PRIORITY_DEFAULT:
^
symbol: variable PRIORITY_DEFAULT
location: class de.appplant.cordova.plugin.notification.Manager
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
100 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 8s
46 actionable tasks: 7 executed, 39 up-to-date
Command failed with exit code 1: C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\gradlew cdvBuildDebug -b C:\Users\Rachit Nandwana\APPprojects\Nurikabe - Copy\platforms\android\build.gradle
Steps to Reproduce
Reproduce this issue; include code to reproduce, if relevant
- …
- …
- …
- …
Context
What were you trying to do? Build the project in cordova
Debug logs
Include iOS / Android logs
- ios XCode logs
- Android: $ adb logcat
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:19
Top Results From Across the Web
Build failing after upgrade cordova-android 10 - Stack Overflow
Possible solutions: 1. Add a getter for field 'intermediateDir'. 2. Remove the annotations on 'intermediateDir'. Please refer to https://docs.
Read more >Failed to update Cordova Platforms to android@10 - Ionic Forum
Check your connection and platform name/version/URL. CordovaError: Error: npm: Command failed with exit code 1 Error output: npm WARN deprecated ...
Read more >Cordova mamsdk plugin not working @ cordova-android 10.0 ...
Are you seeing any specific error in the logs? Currently we are working on a similar issue for Cordova Android@10 platform where app...
Read more >Android Platform Guide - Apache Cordova
export ORG_GRADLE_PROJECT_cdvMinSdkVersion=20 $ cordova build android ... The plugin call resulted in some general error; Other miscellaneous errors.
Read more >Codemagic Deploy Output - Discuss and Get Help | FlutterFlow
Fix this issue by adding the following to /Users/builder/clone/android/app/build.gradle: android { compileSdkVersion 33 ... } If you first push to a git you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
working for me:
cordova plugin add cordova-plugin-androidx-adapter npm i jetifier npx jetifier
Hi, I currently have the problem as well. I’m using android 10.1.1 where the androidXAdapter should be installed. But I still can’t install without specifically add the androidXAdapter plugin. Does anyone know why?