Skip to content
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

react-native\react.gradle' as it does not exist #48

Open
AshishGarg1988 opened this issue Jul 24, 2023 · 1 comment
Open

react-native\react.gradle' as it does not exist #48

AshishGarg1988 opened this issue Jul 24, 2023 · 1 comment

Comments

@AshishGarg1988
Copy link

When i run command after on mobile directory npx react-native run-android it failed due to two reason

  1. react-native\react.gradle' as it does not exist
  2. com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle

Can you please help to resolve these

Thanks

@pfertyk
Copy link
Owner

pfertyk commented Mar 21, 2024

Hi!

I am very sorry about the delayed response :( I tried to take a look at the mobile app and upgrade it, and, well, there was a lot of issues ... The new structure of React Native is a bit different, and I think that the new WebRTC modules were also significantly modified.

Please keep in mind that the mobile app was created in React Native in order to reuse the already existing JS code, and only as a simple example. There were many issues with e.g. websockets and WebRTC modules in node.js. As a result, I had to use very specific versions of those modules, and add very carefully crafted changes to the config files of React Native / Android.

Because of this, upgrading the mobile app will not be easy ... It should, however, work with the original version of React Native and other dependencies. Could you please make sure that you're using the original setup without any changes? In that case, does the app work correctly?

I'll try to upgrade the project again sometime soon, and if I fail, I'll at least add a note to the README that only a specific version of React Native works with this example. I also consider adding a different framework for the mobile app (e.g. Flutter), perhaps making it easier to maintain in the future.

Best regards,
Paweł

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants