android build failed with task :react-native-webview:compileDebugJavaWithJavac
See original GitHub issuewhat I have done:
$ yarn add react-native-webview
$ react-native link react-native-webview
In android-studio after sync then I make project failed:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':react-native-webview:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
- I have cleaned project
- I have removed ~/.gradle/caches
- I have removed project .gradle folder
compileSdkVersion 27
buildToolsVersion "27.0.3"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:12
Top Results From Across the Web
Execution failed for task ':app:mergeDebugNativeLibs'. #35215
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
Read more >Execution failed for task ':app:compileDebugJavaWithJavac ...
I'm on Android Studio 3.1 Build #AI-173.4670197, built on March 22, ... the problem which come from java compiler instead of Build-Run task....
Read more >Build Failed on Gradle Task - Visual Studio Feedback
Have created pipeline Task for Android Build setup. Task file - task: Gradle@2 inputs: gradleWrapperFile: 'android/gradlew' workingDirectory: 'android/' ...
Read more >Dealing With Problems With Building the App & Detox
Execution failed for task ':app:processReleaseAndroidTestResources'. > A failure occurred while executing com.android.build.gradle.internal.res.
Read more >Android Build Failed! - Unity Forum
Execution failed for task ':launcher:mergeReleaseResources'. > Multiple task action failures occurred: > A failure occurred while executing com.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi,
Im having the same problem running on react 0,57,1. after ejecting from expo
"… None of the following functions can be called with the arguments supplied: protected/protected and package/ constructor Event<T : Event<(raw) Event<>>!>() defined in com.facebook.react.uimanager.events.Event protected/protected and package/ constructor Event<T : Event<(raw) Event<>>!>(p0: Int, p1: Long) defined in com.facebook.react.uimanager.events.Event
here is my fork commit https://github.com/FaiChou/react-native-webview/commit/0c98b1acd6524bf0853f5600efd7ab6735772d77