Running the React Native App in Linux

Did you installed Android studio in your system? It makes things lot easier (at least for me) you can build app from android studio and launch the emulator from there but before that run the command as Laurent mentioned:

after getting this output : Loading dependency graph, done. go to android studio and run the build it will launch emulator and install Joplin in it then you'll be able to use app.

Please let me know how it goes and tell me if it's not work I would love to help you.

Okay I will try that out as well and report back. Thank you!

1 Like

Now this output keeps on appearing forever:

 BUNDLE  [android, dev] ./index.android.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1/1), done.

 BUNDLE  [android, dev] ./index.android.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1/1), done.

 BUNDLE  [android, dev] ./index.android.js ░░░░░░░░░░░░░░░░ 0.0% (0/1) LOG  Running "Joplin" with {"rootTag":341}
 WARN  Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Connect(AppComponent), Provider
 WARN  Warning: componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Connect(AppComponent)
 INFO  14:38:10 ====================================
 INFO  14:38:10 Starting application net.cozic.joplin-mobile (dev)
 INFO  14:38:10 Database was open successfully
 INFO  14:38:10 Checking for database schema update...
 INFO  14:38:10 Current database version 4
 INFO  14:38:10 Converting database to version 5

And I get this on the emulator:

How do I get rid of this error?

I’ve seen this occasionally. Reloading usually helps in my case.

Try uninstalling the app on the emulator and reinstalling it.

1 Like

Or you can just try restarting app it loads all the files everytime when we restart the app