After installed of new Windows and Andriod Studio,the existing project cannot run now. Please help!
The error message is as below.
Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.1.1/userguide/gradle_daemon.html Process command line: C:\Users\samkong.jdks\corretto-1.8.0_322\bin\java.exe --add-opens=java.base/java.io=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED -Xmx2048m--add-exports=java.base/sun.nio.ch=ALL-UNNAMED -Dfile.encoding=x-windows-950 -Duser.country=HK -Duser.language=zh -Duser.variant -cp D:\Android\DeliveryApp api level24\wrapper\dists\gradle-6.1.1-all\cfmwm155h49vnt3hynmlrsdst\gradle-6.1.1\lib\gradle-launcher-6.1.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.1.1 Please read the following process output to find out more: ----------------------- Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized option: --add-opens=java.base/java.io=ALL-UNNAMED
----------------------- Check the JVM arguments defined for the gradle process in:
- gradle.properties in project root directory