Android craches with pre-build SDK
See original GitHub issueI use macOS to build SDK
Project build.gradle ` buildscript { ext.kotlin_version = ‘1.3.31’ repositories { maven { url “file:/tmp/repo” } google() jcenter() } dependencies { classpath ‘com.android.tools.build:gradle:3.4.0’ classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version” // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
allprojects { repositories { google() jcenter() maven { url “file:/tmp/repo” } maven { url “https://jitpack.io” } } }
task clean(type: Delete) { delete rootProject.buildDir } `
App build.gradle
.... // Jitsi Meet implementation('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true } ....
But it got crash while I start jitsi view
Here is the log:
`
2019-05-23 11:03:47.472 30276-30316/com.calling.talk.red.debug E/ReactNativeJS: null is not an object (evaluating ‘l.SIGN_IN_CANCELLED’)
2019-05-23 11:03:47.478 30276-30316/com.calling.talk.red.debug E/ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
--------- beginning of crash
2019-05-23 11:03:47.483 30276-30317/com.calling.talk.red.debug E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: com.calling.talk.red.debug, PID: 30276 com.facebook.react.common.JavascriptException: null is not an object (evaluating ‘l.SIGN_IN_CANCELLED’), stack: <unknown>@1084:2367 h@2:1670 <unknown>@1083:386 h@2:1670 <unknown>@1082:142 h@2:1670 <unknown>@1050:2426 h@2:1670 <unknown>@1049:206 h@2:1670 <unknown>@1019:278 h@2:1670 <unknown>@1018:85 h@2:1670 <unknown>@371:240 h@2:1670 <unknown>@12:156 h@2:1670 <unknown>@11:30 h@2:1670 d@2:868 global code@1490:4
at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:54)
at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:38)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:164)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232)
at java.lang.Thread.run(Thread.java:764)
` Please help me! Thank you very much!
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (6 by maintainers)
Top GitHub Comments
@california257 @saghul , I have an issue like this but I could not know how to build release.
@california257 Thanks for confirming. I’m going to close this then. @MeghsP please open a new issue since your is different.