Run android app downloaded from github
I have found the solution, this is how I got it working and sharing it with others who are facing the same problem. This is the solution that worked for me. Do not forget to close the node server during the process. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. Clone and run react native projects from GitHub Ask Question. Asked 5 years, 2 months ago. Active 7 months ago. Viewed 39k times. Update After installing dependencies npm install I am able to run the server. Now when I try to run react-native run-android I get the following error JS server already running.
Error: Could not find or load main class org. GradleWrapperMain Could not install the app on the device, see the error above. Improve this question. Saahithyan Vigneswaran. Saahithyan Vigneswaran Saahithyan Vigneswaran 5, 3 3 gold badges 30 30 silver badges 43 43 bronze badges.
Not an answer but I really never used start command. After cd into project directory i just do react-native run-android or run-ios :S. Oh yeah and if its other's project normally you have to npm install the dependencies first too. Saahityan , not sure what its called but close any "other" existing react packager terminal before running new project.
If there are problems with PHC folders during iOS compilation, remove the build folder in the ios map. Cameraroll has to be manually added to iosbuild in 0. If you get a compilation issues in xcode 10, "config. Clean and rebuild. If you get libfishhook. The copyrights belongs to the team of Crownstone B. Skip to content. Star 8. Branches Tags. Could not load branches. Could not load tags.
Latest commit. Git stats 2, commits. Add a comment. Active Oldest Votes. Improve this answer. CommonsWare CommonsWare k gold badges silver badges bronze badges.
Right, thank you But I opened it now in IntelliJ but still can't run it? I can only accept your answer in 5 minutes — G-Unit. Prem Raval Prem Raval 38 1 1 silver badge 5 5 bronze badges. Thanks, I tried to add it as a library before, but that didn't work: I copied the full lib folder from the downloaded github folder and added it to my lib folder in my android studio project. Then I added include ':libs:libjitsi' to my settings. So the main requirement, what I figured out is that you want to add the GitHub repo as a dependency.
Ok I was able to add the library to my project now, just in case some others have the same problem: I found another source for the library: download. I unziped it and added the file libjitsi. Then in graddle. Click it and select "Run 'SampleClient. And that is where we'll go for the second way to Run an application.
You can also open the dropdown menu and select "Edit Configurations" to modify it or add a new Run Configuration: You can modify the configuration created for SampleClient - add program arguments, environment variables and more.
Other types of Run Configurations include JUnit tests, Maven tasks, server deployments and more: In the "Main class" field, either manually enter a qualified class name code completion also works , or click the " Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta.