I’m getting the following messages when building for android:
CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
compileDebugJavaNote: /Users/mjpwall/Dev/TIM_DEV/tim/platforms/android/src/org/apache/cordova/splashscreen/SplashScreen.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Having trouble running the app on an android emulator (genymotion) but runs fine on iOS
Hi.
I have similar problem:
:CompileDebugJavaNote: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
I have encountered this error before. What happened on my PC was that the system variable JAVA_HOME was not defined. After defining JAVA_HOME=C:\Program Files\java\jdk1.7.0_67, the warning disappeared and the installation was done successfully. Not sure if it works on your machine. Hopefully, it helps.
Right-click the My Computer icon on your desktop and select Properties.
Click the Advanced tab, then click the Environment Variables button.
Under System Variables, click New.
Enter the variable name as JAVA_HOME.
5.Enter the variable value as the installation path for the Java Development Kit (ex. C:\Program Files\Java\jdk1.8.0_60).
Go up, User Variables, if don´t exist the variable “PATH”, click new and enter the variable name “PATH” and value %JAVA_HOME%\bin
if exist then click edit and enter the value ;%JAVA_HOME%\bin in the end.