clostra/newnode

NewNode crashW

Closed this issue · 3 comments

n8fr8 commented

I am trying to integrate NewNode into this project: https://github.com/n8fr8/AnyNews-Android-PWA-Wrapper a simple WebView wrapper.

Here's the short error:
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] JNI DETECTED ERROR IN APPLICATION: JNI CallStaticObjectMethod called with pending exception java.lang.NoSuchMethodError: no static method "Lcom/bugsnag/android/NativeInterface;.getErrorStorePath()Ljava/lang/String;"
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.setCacheDir(java.lang.String) (NewNode.java:-2)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void com.clostra.newnode.NewNode.init() (NewNode.java:133)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void at.xtools.pwawrapper.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:26)
2020-01-14 13:53:31.826 12253-12253/at.xtools.pwawrapper A/ools.pwawrappe: java_vm_ext.cc:570] at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7825)

and the full crash log:
https://gist.github.com/n8fr8/3e7aa1bbd8ade03c61fdfc510572d28b

n8fr8 commented

Seem like this might have something to do with it " inlcude bugsnag-ndk directly, and work around bugsnag-ndk bugs " ?

Do we need to include newnode, bugsnag in some specific way?

This should be fixed in NewNode 1.7.9

n8fr8 commented

Seems to not be crashing now. Thanks!