[Android] react-native-webview:compileDebugJavaWithJavac 10.2.2
See original GitHub issueBug description: I am getting one error when build android
cannot find symbol if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { ^ symbol: variable Q location: class VERSION_CODES
i try clean with ./gradlew clean and a new project but a have the same result
Environment:
- OS: Linux 5.3
- OS version: Ubuntu 18.04.4 LTS (Bionic Beaver)
- react-native version: 0.62.2
- react-native-webview version: 10.2.2
Issue Analytics
- State:
- Created 3 years ago
- Reactions:11
- Comments:19
Top Results From Across the Web
[ANDROID] react-native-webview ... - GitHub
[ANDROID] react-native-webview:compileDebugJavaWithJavac BUILD ERROR on 10.2.1 #1415 ... This issue has been resolved in version 10.2.2.
Read more >react-native-webview:compileDebugJavaWithJavac FAILED ...
I keep getting this error, when I try running my React Native application after installing the react-native.webview ...
Read more >task :react-native-community_datetimepicker ... - You.com
When i try to run "react-native run-android" command i get build failed with error Execution failed for task ':app:compileDebugJavaWithJavac'. Reproducible Demo.
Read more >react-native-webview:compileDebugJavaWithJavac'. RN - 掘金
下载最新的reactnative和react-native-webview后编译不成功修改android/build.gradle感觉是编译版本问题.
Read more >react-native-webview vulnerabilities - Snyk
version published direct vulnerabilities
11.26.0 8 Dec, 2022 0. C. 0. H. 0. M. 0. L
11.25.1 6 Dec, 2022 0. C. 0. H. 0....
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 FreeTop 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
Top GitHub Comments
This issue is related to #1418
To fix it, you need to update your compileSdkVersion to 29. While you are at it, might as well update the buildToolsVersion. You can do that by changing these lines in your
/android/build.gradle
file.I’m experiencing this error too.
Changing the SDK version to 29 goes against the setup instructions for React Native which specify you should use Android SDK Platform 28 and build tools 28.0.3.
For that reason I’m reluctant to make these changes. Could this package be fixed to continue supporting 28? I’ll downgrade this package in the meantime.