-
Notifications
You must be signed in to change notification settings - Fork 346
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
Problem when compiling with react-native-image-crop-picker #3
Comments
Hi, this error message does not seem related to Jitsi Meet. do you have a full log ? |
Hello, here I leave the log that throws me with the option --stacktrace
The problem occurs when installing the Jitsi SDK, when it is uninstalled it compiles correctly. |
Hi, Can you post your android/build.gradle and android/app/build.gradle files ? Thanks |
Hi skrafft good day, i told you not to modify the files as they are in the instructions and likewise throws the error. These files are unmodified. android/build.gradle
android/app/build.gradle
|
Hi, Your error comes from this part in android/build.gradle:
There should not be any android block in this file. It's already included in android/app/build.gradle. |
Hi skrafft,When I delete the block it gives me the following errors, apparently the project needs that block to work correctly.
|
I tried to reproduce your problem by creating a project with react-native-image-crop-picker and react-native-jitsi-meet and had no problem compiling and executing the project. |
Hi @skrafft , I deleted the node_modules folder and reinstalled it and the errors disappeared but now it throws me 2 errors that have to do with the functions added in the MainApplication.java file
|
You did not add the functions at the correct place. It should be added into the ReactNativeHost block. Your file should look like this:
|
Hi @skrafft, I thank you for taking your time to help me solve my problem. I mention the project that I am working on is based on an application called Rocket Chat and uses Jitsi for its video call system in the web version, I am trying to add JitsiMeet in the mobile version but the MainApplication file is different from the one you are showing me and my strong is not Java. I already made all the steps in a project from 0 and it worked for me but I'm interested in adding it to the project with Rocket Chat. I hope it's not too much trouble to help me with this problem. MainApplication.java (original)
|
Ok so, reading your code, my guess is that the file should be this to work correctly:
|
Sorry @skrafft , now I get this error when compiling.
|
I managed to solve it by editing in the file android / app / build.gradle the parameter minSdkVersion to 19 and compiled without error but does not pass the screen loading the application. It must be problematic of compatibility with the Rocket Chat project in React Native. Test your sdk in a basic project and it worked without problems. I think I'll look for another alternative, thank you very much @skrafft |
@thisEdgarMarquez , this error cannot be solved by changing the sdk version. It seems you're already using react-native-fetch-blob which is used by jitsi meet as well. Can you try to change the line
|
Hi @skrafft , make the changes you mentioned but still do not move from the application's loading screen even though the bundle compiles correctly. I have already tried removing the sdk and the application works correctly. |
Hi, do you have any error message in logcat ? |
Closing this issue as I got not answer to my previous message. |
Hi, I am trying to install the library and after installing and trying the behavior of run-native-run-android it shows me the following error.
It seems to be incompatible with this library?
The text was updated successfully, but these errors were encountered: