FAILURE: Build failed with an exception. * What w...
# community-support
a
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task 'expo dev launchercompileReleaseWithDevLauncherKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details * 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.
n
> Compilation error. See log for more details
Have you looked at the logs?
👆 1
a
i am getting only this error in logs.
n
That's not possible. If you're using an IDE, you're probably looking in the wrong place. e.g. IntelliJ hides the full logs by selecting the wrong section in the build view by default (see screenshot). If you'd click the top item in the left tab, you can scroll up to see the full logs.
👆 1
a
@Niels Doucet But I am not getting this error in android studio. In android studio the build is successful. but in terminal when I try to build locally using
.\gradlew build
I am getting this error.
I am using the expo dev client so when I make build on expo server using eas build. There I am getting an error:
Copy code
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalReportRelease'.
> Could not resolve all dependencies for configuration ':app:releaseCompileClasspath'.
   > Could not resolve project :notifee_react-native.
     Required by:
         project :app
      > No matching variant of project :notifee_react-native was found. The consumer was configured to find a library for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
          - No variants exist.
   > Could not resolve project :react-native-async-storage_async-storage.
     Required by:
         project :app
I think this error related to autolinking. actually I reinstalled the android studio and after that I started getting this issue.
v
If you got that OP error from commandline using Gradle there must be more information before it. If there is not, you might have redirected stdout somehow and because of that miss the actual error output. If you don't get it managed to unhide it, what you could do is using
--scan
as in the resulting build scan you also will have the output you are missing. Regarding the latest message, you might consider asking in some R/N community instead. Iirc you might miss a dependency in your package.json if that happens or something like that.