Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Build, please help #11

Open
wannerrons opened this issue Jun 14, 2020 · 1 comment
Open

Error on Build, please help #11

wannerrons opened this issue Jun 14, 2020 · 1 comment

Comments

@wannerrons
Copy link

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

@Andalusio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants