Category : gradle

I need to run a .exe file which is in specific location. This is the code I’m used tasks.register( ‘buildComponents’, Exec ) { dependsOn createSetupIni doLast { exec { workingDir = file(‘tools/configBuild’) executable = ‘ConfigBuilder.exe’ args = [ "${configLocation}/setup.ini", "${logFilePath}/configBuild"] } } } But I’m getting below error during the execution. Caused by: org.gradle.process.internal.ExecException: A ..

Read more

I am trying to install flutter to my new computer. Everything seems fine in flutter doctor but when i run my app I get an error. Execution failed for task ‘:app:compileDebugJavaWithJavac’. > java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x16545f8f) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed ..

Read more

While implementing first code through android studio I got the issues as given below.I tried many tricks and tips such clean and rebuild project but it didn’t worked.Please help me out to move further. > Task :app:processDebugResources FAILED [Fatal Error] aapt2-4.2.1-7147631.pom:2:1: Content is not allowed in prolog. [Fatal Error] aapt2-4.2.1-7147631.pom:2:1: Content is not allowed in ..

Read more

I’m trying to make use of a prebuilt dynamic library in a Flutter (v2.2.1) Android application. I’ve placed the compiled libs into the android/app/src/main/jniLibs folder under target specific sub-folders, and they’re picked up correctly by the build system and I can load the library with DynamicLibrary.open(). The library is written with Rust, but it makes ..

Read more