artebiz's Recent Forum Activity

  • I'm having trouble exporting an application using the

    Export Android (Cordova)> Signed Android App Bundle...

    The error log appears:

    Error: Checking Java JDK and Android SDK versions

    ANDROID_SDK_ROOT=~~/androidSDK (recommended setting)

    ANDROID_HOME=~~/androidSDK (DEPRECATED)

    Using Android SDK: ~~/androidSDK

    :wrapper

    BUILD SUCCESSFUL in 1s

    1 actionable task: 1 executed

    Subproject Path: CordovaLib

    Subproject Path: app

    Task :app:preBuild UP-TO-DATE

    Task :app:preReleaseBuild UP-TO-DATE

    Task :CordovaLib:preBuild UP-TO-DATE

    Task :CordovaLib:preReleaseBuild UP-TO-DATE

    Task :CordovaLib:packageReleaseRenderscript NO-SOURCE

    Task :app:compileReleaseRenderscript NO-SOURCE

    Task :app:generateReleaseResValues

    Task :app:generateReleaseResources

    Task :CordovaLib:compileReleaseRenderscript

    Task :CordovaLib:generateReleaseResValues

    Task :CordovaLib:generateReleaseResources

    Task :CordovaLib:packageReleaseResources

    Task :app:createReleaseCompatibleScreenManifests

    Task :app:extractDeepLinksRelease

    Task :CordovaLib:extractDeepLinksRelease

    Task :CordovaLib:processReleaseManifest

    Task :app:processReleaseManifest

    Task :CordovaLib:compileReleaseLibraryResources

    Task :CordovaLib:compileReleaseAidl NO-SOURCE

    Task :CordovaLib:generateReleaseBuildConfig

    Task :CordovaLib:parseReleaseLocalResources

    Task :CordovaLib:generateReleaseRFile

    Task :CordovaLib:javaPreCompileRelease

    Task :CordovaLib:compileReleaseJavaWithJavac

    Task :app:mergeReleaseResources

    Task :CordovaLib:bundleLibRuntimeToJarRelease

    Task :app:bundleReleaseResources

    Task :app:checkReleaseDuplicateClasses

    Task :app:compileReleaseAidl NO-SOURCE

    Task :app:generateReleaseBuildConfig

    Task :app:javaPreCompileRelease

    Task :app:processReleaseResources

    Task :CordovaLib:bundleLibCompileToJarRelease

    Task :app:compileReleaseJavaWithJavac FAILED

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

    Use '--warning-mode all' to show the individual deprecation warnings.

    See https:/~~/command_line_interface.html#sec:command_line_warnings

    24 actionable tasks: 24 executed

    ~~/VideoAdvert.java:5: error: package com.google.android.gms.ads.reward does not exist

    import com.google.android.gms.ads.reward.RewardedVideoAd;

    ^

    ~~/VideoAdvert.java:6: error: package com.google.android.gms.ads.reward does not exist

    import com.google.android.gms.ads.reward.RewardedVideoAdListener;

    ^

    ~~/VideoAdvert.java:7: error: package com.google.android.gms.ads.reward does not exist

    import com.google.android.gms.ads.reward.RewardItem;

    ^

    ~~/VideoAdvert.java:16: error: cannot find symbol

    public class VideoAdvert implements RewardedVideoAdListener

    ^

    symbol: class RewardedVideoAdListener

    ~~/VideoAdvert.java:18: error: cannot find symbol

    private RewardedVideoAd videoInstance;

    ^

    symbol: class RewardedVideoAd

    location: class VideoAdvert

    ~~/VideoAdvert.java:20: error: cannot find symbol

    private RewardItem reward;

    ^

    symbol: class RewardItem

    location: class VideoAdvert

    ~~/VideoAdvert.java:50: error: cannot find symbol

    public void onRewarded(RewardItem item)

    ^

    symbol: class RewardItem

    location: class VideoAdvert

    ~~/InterstitialAdvert.java:7: error: cannot find symbol

    import com.google.android.gms.ads.InterstitialAd;

    ^

    symbol: class InterstitialAd

    location: package com.google.android.gms.ads

    ~~/InterstitialAdvert.java:16: error: cannot find symbol

    private InterstitialAd interstitial;

    ^

    symbol: class InterstitialAd

    location: class InterstitialAdvert

    ~~/VideoAdvert.java:25: error: cannot find symbol

    videoInstance = MobileAds.getRewardedVideoAdInstance(ctx.cordova.getActivity());

    ^

    symbol: method getRewardedVideoAdInstance(Activity)

    location: class MobileAds

    ~~/VideoAdvert.java:49: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:55: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:66: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:76: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:86: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:92: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/VideoAdvert.java:113: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/BannerAdvert.java:87: error: method does not override or implement a method from a supertype

    override

    ^

    ~~/ConstructAd.java:150: error: cannot find symbol

    requestBuilder.addTestDevice(getDeviceID());

    ^

    symbol: method addTestDevice(String)

    location: variable requestBuilder of type Builder

    ~~/ConstructAd.java:462: error: incompatible types: String cannot be converted to OnInitializationCompleteListener

    MobileAds.initialize(activity, id);

    ^

    ~~/InterstitialAdvert.java:22: error: cannot find symbol

    interstitial = new InterstitialAd(ctx.cordova.getActivity());

    ^

    symbol: class InterstitialAd

    location: class InterstitialAdvert

    ~~/InterstitialAdvert.java:57: error: method does not override or implement a method from a supertype

    override

    ^

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: Some input files use unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output

    22 errors

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:compileReleaseJavaWithJavac'.

    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 8s

    Command failed with exit code 1: ~~/gradlew :app:bundleRelease -b ~~/build.gradle

    Yesterday I managed to export without error, the same application, with the same signature. Is the problem with the compiler server?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
artebiz's avatar

artebiz

Member since 2 May, 2019

None one is following artebiz yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies