Home > Software engineering >  Strange Problems with Android Studio
Strange Problems with Android Studio

Time:09-27

Hello to the Experts :)

since the Update from Android Studio I get this strange message and cannot execute one of my projects anymore. Since a few days I tried so many things and want to reach out now for you. Do you have an idea, what could be the error and how to solve it ?

Thank you in advance.

Regards

Martin


  • What went wrong: Execution failed for task ':app:processDebugMainManifest'.

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 @99bc8bc

  • 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 Exception: Gradle task assembleDebug failed with exit code 1

CodePudding user response:

You can go with create new project and then do test run of that project then simply put all your code into this new project. it will work because i am having same problem and that is solved..

CodePudding user response:

To resolve this error you just need to enable jetifies in your gradle.properties file

  android.enableJetifier=true
  • Related