Brenton Thomas created CB-8360:
----------------------------------

             Summary: Deprecation Warnings with Android SDK 21
                 Key: CB-8360
                 URL: https://issues.apache.org/jira/browse/CB-8360
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: 4.0.0, 4.1.3
         Environment: cordova 4.2 crosswalk
            Reporter: Brenton Thomas
            Priority: Minor


I am testing out the gradle build process and I am getting a lot of deprecation 
warnings when compiled against sdk 21.

I am using cordova 4.2.0

Interestingly its only breaking the buildd with crosswalk cordova not the pure 
cordova build even though CordovaLib and build.gradle look the same for both 
crosswalk and cordova.


CordovaLib\src\org\apache\cordova\CordovaPlugin.java:30: warning : 
[deprecation] CookieSyncManager in android.webkit has been deprecated
 
CordovaLib\src\org\apache\cordova\ConfigXmlParser.java:150: warning: 
[deprecation] Plugin Entry(String,String,boolean,List<String>) in PluginEntry 
has been deprecated

CordovaLib\src\org\apache\cordova\CordovaActivity.java:410: warning: 
[deprecation] loadUrl(String,int) in CordovaWebView has been deprecated

CordovaLib\src\org\apache\cordova\CordovaActivity.java:977: warning: 
[deprecation] getWidth() in Display has been deprecated

CordovaLib\src\org\apache\cordova\CordovaActivity.java:977: warning: 
[deprecation] getHeight() in Display has been deprecated

CordovaLib\src\org\apache\cordova\IceCreamCordovaWebViewClient.java:42: 
warning: [deprecation] CordovaWebViewClient(CordovaInterface) in 
CordovaWebViewClient has been deprecated

CordovaLib\src\org\apache\cordova\LinearLayoutSoftKeyboardDetect.java:91: 
warning: [deprecation] sendJavascript(String) in CordovaWebView has been 
deprecated



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to