Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11566

SplashScreen.java uses or overrides a deprecated API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.2.0
    • None
    • Ionic
    • jdk 1.8.
      Cordova 6.2.0
      Android Device Version - 5.1.1

    Description

      Creating a new project with cordova.

      Run it on android device.

      Launches successfully with warning:

      :CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.

      Remove android platform from the project.

      I add plugin cordova-plugin-splashscreen to my project.

      Add android platform back to the project.

      Launch in android device.

      Launches successfully with a new warning along with the one above:

      :compileDebugJavaWithJavacNote: E:\a Templates\cordovatemplate\platforms\android\src\org\apache\cordova\splashscreen\SplashScreen.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.

      Similar Issue I have reported to ionic which redirected me here:
      https://github.com/driftyco/ionic/issues/7057

      Attachments

        Activity

          People

            Unassigned Unassigned
            shaikhspear Adil Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: