Android preview SDK 2.0.4.
Hi,
I am using android box preview sdk (2.0.4) in my project. My project is targeting min sdk = 24 and max sdk = 29. When i am trying to preview a pdf or excel file in BoxPreviewActivity, app is getting crash and getting below error(attached screen shot).
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2020-11-02 16:43:23.115 10167-10167/com.allstate.view E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.allstate.view, PID: 10167
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.allstate.view-pQ4p0ZTuzdhvF1TV65w9gw==/base.apk"],nativeLibraryDirectories=[/data/app/com.allstate.view-pQ4p0ZTuzdhvF1TV65w9gw==/lib/arm64, /system/lib64]]] couldn't find "libbox-jni.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.box.androidsdk.preview.fragments.BoxPreviewDocumentFragment.<clinit>(BoxPreviewDocumentFragment.java:66)
at com.box.androidsdk.preview.fragments.BoxPreviewFragment.createInstance(BoxPreviewFragment.java:485)
at com.box.androidsdk.preview.adapters.PreviewFragmentStatePagerAdapter.getItem(PreviewFragmentStatePagerAdapter.java:42)
at androidx.fragment.app.FragmentStatePagerAdapter.instantiateItem(FragmentStatePagerAdapter.java:179)
at com.box.androidsdk.preview.adapters.PreviewFragmentStatePagerAdapter.instantiateItem(PreviewFragmentStatePagerAdapter.java:104)
at androidx.viewpager.widget.ViewPager.addNewItem(ViewPager.java:1010)
at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1158)
at androidx.viewpager.widget.ViewPager.populate(ViewPager.java:1092)
at androidx.viewpager.widget.ViewPager.setAdapter(ViewPager.java:540)
at com.box.androidsdk.preview.BoxPreviewViewPager$4.run(BoxPreviewViewPager.java:207)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8125)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
サインインしてコメントを残してください。
コメント
0件のコメント