New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] react-native-webview:compileDebugJavaWithJavac 10.2.2 #1419
Comments
did you find the solution? @puera |
nope, i trying everything but no success |
version 10.2.3 with the same error |
Facing the same error with latest version |
Got the same issue [app]/node_modules/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebViewModule.java:276: error: cannot find symbol FAILURE: Build failed with an exception. |
The same error ... |
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
|
Thanks @dushyantss |
Tried that fix, only getting raw html when using it with charts native (iOS works fine) |
@dushyantss thanks , the changes really works! |
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. |
Yes, looks like this is introduced with v10.2.0 and am also downgrading to v10.1.1 in the meantime. |
Yup, downgrading v10.1.1 fixes it. I don't want to update the SDK from what react native has by default either. |
Don't forget to properly remove & unlink old version when downgrading. |
This is work for me, thanks !! |
Downgraded to v10.1.1, minor versions breaking the build set us back from deployments. Wasn't a pleasant experience. |
thanks |
I've not been able to test yet, but it looks like this latest release might address this issue? |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Bug 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:
The text was updated successfully, but these errors were encountered: