I bought the theme https://flatlogic.com/templates/react-native-starter and now I'm starting my project. But you need to install the realm.
I'm giving yarn install realm, but when starting the project with the realm, I'm getting the following error:
2022-07-12 08:00:28.747 10131-10131/com.reactnativestarter.upd E/AndroidRuntime: FATAL EXCEPTION: main Process: com.reactnativestarter.upd, PID: 10131 java.lang.RuntimeException: Could not instantiate application com.reactnativestarter.upd.MainApplication: java.lang.ClassNotFoundException: Could not find class "com.reactnativestarter.upd.MainApplication" in path: DexPathList[[zip file "/data /app/~~qxppSpY3NQWgHdbSYeyndA==/com.reactnativestarter.upd-BjiaobwkEh3ajICTytSFA==/base.apk"],nativeLibraryDirectories=[/data/app/~~qxppSpY3NQWgHdbSYeyndA==/com.reactnativestarter.upd-BjiaobwICTytS, /armAdataICTEh3aj /app/~~qxppSpY3NQWgHdbSYeyndA==/com.reactnativestarter.upd-BjiaobwkEh3ajICTytSFA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/systemext/lib]] in android.app.LoadedApk.makeApplication(LoadedApk.java:1332) in android.app.ActivityThread.handleBindApplication(ActivityThread.java:7543) in android.app.ActivityThread.access$1500(ActivityThread.java:301) in android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177) in android.os.Handler.dispatchMessage(Handler.java:106) in android.os.Looper.loop(Looper.java:246) in android.app.ActivityThread.main(ActivityThread.java:8653) in java.lang.reflect.Method.invoke(Native Method) in com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) in com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) Caused by: java.lang.ClassNotFoundException: not found class "com.reactnativestarter.upd.MainApplication" in path: DexPathList[[zip file "/data/app/~~qxppSpY3NQWgHdbSYeyndA==/com.reactnativestarter.upd-BjiaobwkEh3ajICTytSFA = =/base.apk"],nativeLibraryDirectories=[/data/app/~~qxppSpY3NQWgHdbSYeyndA==/com.reactnativestarter.upd-BjiaobwkEh3ajICTytSFA==/lib/arm, /data/app/~~qxppSpY3NQWgHdbSYeyndA==/com. reactnativestarter.upd-BjiaobwkEh3ajICTytSFA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/systemext/lib]] in dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207) in java.lang.ClassLoader.loadClass(ClassLoader.java:379) in java.lang.ClassLoader.loadClass(ClassLoader.java:312) in android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76) in androidx.core.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:47) in android.app.Instrumentation.newApplication(Instrumentation.java:1158) in android.app.LoadedApk.makeApplication(LoadedApk.java:1324) in android.app.ActivityThread.handleBindApplication(ActivityThread.java:7543) in android.app.ActivityThread.access$1500(ActivityThread.java:301) in android.app.ActivityThread$H.handleMessage(ActivityThread.java:2177) in android.os.Handler.dispatchMessage(Handler.java:106) in android.os.Looper.loop(Looper.java:246) in android.app.ActivityThread.main(ActivityThread.java:8653) in java.lang.reflect.Method.invoke(Native Method) in com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) in com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
The application is closed on startup.
"react": "16.9.0", "react-native": "0.64.1",