Category : gradle

I have downloaded the gradle zip, extracted it and placed inside C:ProgramFiles. Added GRADLE_HOME to environment variable. Also added bin path to Path variable. OS : Windows 10 Gradle : gradle-7.3-rc-2 Error: Unable to initialize main class org.gradle.launcher.GradleMain Caused by: java.lang.NoClassDefFoundError: org/gradle/internal/jvm/UnsupportedJavaRuntimeException Used : gradle -v Source: Windows..

Read more

I was created an IntelliJ platform project, my setup is : gradle -> 7.2 Groovy -> 3.0.8 java jdk -> openjdk version "11.0.12" 2021-07-20 intelliJ -> 2021.2.1 (Ultimate Edition) org.jetbrains.intellij pluging -> 1.2.0 The fail message is: Execution failed for task ‘:runIde’. > Process ‘command ‘/home/boyscout/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-11_0_11-linux-x64-b1504.16/extracted/jbr/bin/java” finished with non-zero exit value 1 Unable to list ..

Read more

OK having a tough time getting Android Studio to build our newly acquired App we are maintaining. I keep getting this error after i resolved many other issues A problem occurred evaluating project ‘:app’. For input string: "null" it points to line 173 of the build.gradle which is versionCode Integer.parseInt(versionCodeString) under defaultConfig. I’m running on ..

Read more

I am having a very weird problem with gradle and im not sure what is wrong. Java 17 is not installed or anywhere in my path. JAVA_HOME and the java bin are correct in my path. I cant even find the "I cannot find the java executable" string in the gradle.bat or gradle files. Thank ..

Read more

I am using gradle to build native library. I used the following code to debug my project . plugins { id ‘cpp-library’ } group ‘org.example’ version ‘1.0-SNAPSHOT’ library { binaries.configureEach { CppBinary binary -> def compileTask = binary.compileTask.get() compileTask.source.from fileTree(dir: "src/main/c", include: "**/*.c") def toolChain = binary.toolChain if (toolChain instanceof VisualCpp) { compileTask.compilerArgs.addAll(["/TC"]) } else ..

Read more

enter image description here I am getting this error when i try to build a apk or AAB. This Shows after Gradle Sync Complete and When i try build a apk or aab The Build Fails. Here is the Entire Thing That It Shows C/C++: C:UsersUSERDownloadsCompressedOVOO + OXOOcodecanyon-oxoo-android-live-tv-movie-portal-app-with-powerful-admin-panel-1.3.6-NJAndroidAndroid Source CodeappsrcmainjniCMakeLists.txt debug|x86 : CMake Warning in ..

Read more