[ https://issues.apache.org/jira/browse/CB-13916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373675#comment-16373675 ]
jcesarmobile commented on CB-13916: ----------------------------------- The plugin shows this 4 deprecated warnings {quote} 'THEME_DEVICE_DEFAULT_LIGHT' is deprecated as of API 23: Android 6.0 (Marshmallow) 'android.app.ProgressDialog' is deprecated as of API 26: Android 8.0 (Oreo) 'THEME_DEVICE_DEFAULT_LIGHT' is deprecated as of API 23: Android 6.0 (Marshmallow) 'android.app.ProgressDialog' is deprecated as of API 26: Android 8.0 (Oreo) {quote} This shouldn't prevent your project from building, you must have some setting that prevents from building when warnings are present. Keeping the issue open to fix the warnings. > Notification.java uses or overrides a deprecated API. > ----------------------------------------------------- > > Key: CB-13916 > URL: https://issues.apache.org/jira/browse/CB-13916 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-dialogs > Affects Versions: cordova-android-7.0.0 > Environment: * "cordova-android": "^7.0.0", > * "cordova-ios": "^4.5.4", > * "cordova-plugin-dialogs": "^2.0.1", > * "cordova-plugin-whitelist": "^1.3.3" > Cordova version: 8.0.0 > Reporter: Lenin Meza > Priority: Major > > When i tried to execute: > {code:java} > cordova run android --verbose{code} > > It gives me the next error: > {code:java} > :app:compileDebugJavaWithJavacNote: > my-app\platforms\android\app\src\main\java\org\apache\cordova\dialogs\Notification.java > uses or overrides a deprecated API.{code} > > The screen is White and on the Chrome Console(_Developer tools_) it shows the > next error: > {code:java} > Uncaught Error: Java exception was raised during method invocation{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org