+2 votes

I get an error when exporting with the AdMob plugin. I watched this video https://youtu.be/0a6EvlNgLL0.

After exporting, I get an error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processDebugManifest'.

    Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @2a9903df

  • 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 1s
7 actionable tasks: 1 executed, 6 up-to-date

I changed different versions of the ndk, changed them in config. gradle, but at the slightest change in the config, such errors appear

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\Users\kuzmi\Documents\SpaceTraveller\android\build\build.gradle' line: 8

  • What went wrong:
    A problem occurred evaluating root project 'build'.

    Could not open dsl generic class cache for script 'C:\Users\kuzmi\Documents\SpaceTraveller\android\build\config.gradle' (C:\Users\kuzmi.gradle\caches\6.5\scripts\efl84qavhjj6wmjr7o6c9y2z\dsl6418c6d726070f323dbddda2aadc82ef).
    BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 60

  • 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.

help pls) I have the Godot 3.3 and AdMob 5.0.0

Godot version 3.3
in Engine by (30 points)

1 Answer

0 votes

Same problem bro. any time i use custom build i get this error.

No answers on the internet.

by (14 points)

I fix this problem after reinstall Android Sudio, jdk, ndk and reset all export settings.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.