Error on Build, please help
Opened this issue · 1 comments
Error on debug build cordova, please help-me.
Erros:
BUILD FAILED in 11s
/tmp/download/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: /tmp/download/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/tmp/download/platforms/android/app/src/main/java/startapp/ads/StartAppAdsPlugin.java:54: error: cannot find symbol
disableReturnAd = args.optBoolean(1);
^
symbol: variable disableReturnAd
/tmp/download/platforms/android/app/src/main/java/startapp/ads/StartAppAdsPlugin.java:55: error: cannot find symbol
disableSplashAd = args.optBoolean(2);
^
symbol: variable disableSplashAd
/tmp/download/platforms/android/app/src/main/java/startapp/ads/StartAppAdsPlugin.java:57: error: cannot find symbol
initStartApp(appId, disableReturnAd, disableSplashAd, PUBLIC_CALLBACKS);
^
symbol: variable disableReturnAd
/tmp/download/platforms/android/app/src/main/java/startapp/ads/StartAppAdsPlugin.java:57: error: cannot find symbol
initStartApp(appId, disableReturnAd, disableSplashAd, PUBLIC_CALLBACKS);
^
symbol: variable disableSplashAd
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 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
BUILD FAILED in 11s
Same here, not to mention that it doesn't seem to support cordova-android 5.2.1. Microsoft made it a pain to upgrade it.