首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >PhotoEditor SDK在Android6.0上崩溃

PhotoEditor SDK在Android6.0上崩溃
EN

Stack Overflow用户
提问于 2018-04-19 15:37:51
回答 1查看 290关注 0票数 -1

我已经将photoeditor SDK集成到我的android应用程序中,但应用程序在单击photoeditor SDK的导出/保存按钮时崩溃。

下面是崩溃日志。

代码语言:javascript
复制
-15526/com.picedit.app.debug E/Parcel: Reading a NULL string not supported here.
04-19 14:40:58.208 15526-15526/com.picedit.app.debug E/Parcel: Reading a NULL string not supported here.
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: >>> msg's executing time is too long
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Blocked msg = { when=-1s658ms what=110 target=android.app.ActivityThread$H obj=AppBindData{appInfo=ApplicationInfo{883af87 com.picedit.app.debug}} } , cost  = 1642 ms
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: >>>Current msg List is:
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Current msg <1>  = { when=-1s657ms what=100 target=android.app.ActivityThread$H obj=ActivityRecord{8f70eb4 token=android.os.BinderProxy@ae44add {com.picedit.app.debug/ly.img.android.ui.activities.CameraPreviewActivity}} }
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Current msg <2>  = { when=-1s253ms what=149 target=android.app.ActivityThread$H obj=android.os.BinderProxy@ae44add }
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Current msg <3>  = { when=-3ms what=0 target=android.os.Handler callback=ly.img.android.authorization.a.a$1 }
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Current msg <4>  = { when=+9s962ms what=132 target=android.app.ActivityThread$H }
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: Current msg <5>  = { when=+59s995ms what=0 target=android.os.Handler callback=com.google.android.gms.internal.zzcfq }
04-19 14:40:58.217 15526-15526/com.picedit.app.debug E/ANR_LOG: >>>CURRENT MSG DUMP OVER<<<
04-19 14:40:58.225 15526-15583/com.picedit.app.debug V/FA: Connecting to remote service
04-19 14:40:58.233 15526-15526/com.picedit.app.debug V/FA: onActivityCreated
04-19 14:40:58.250 15526-15583/com.picedit.app.debug V/FA: Connection attempt already in progress
04-19 14:40:58.337 15526-15526/com.picedit.app.debug E/CheckPermission: camera-code= 1
04-19 14:40:58.337 15526-15526/com.picedit.app.debug V/Camera: current package %scom.picedit.app.debug
04-19 14:40:58.337 15526-15526/com.picedit.app.debug E/Camera-JNI: shield numberOfCameras 2
04-19 14:40:58.487 15526-15526/com.picedit.app.debug V/RenderScript_jni: RS native mode
04-19 14:40:58.500 15526-15526/com.picedit.app.debug V/RenderScript_jni: Unable to load libRSSupportIO.so, USAGE_IO not supported
04-19 14:40:58.501 15526-15526/com.picedit.app.debug V/RenderScript_jni: Unable to load BLAS lib, ONLY BNNM will be supported: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.picedit.app.debug-2/base.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.picedit.app.debug-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.picedit.app.debug-2/lib/arm64, /data/app/com.picedit.app.debug-2/base.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.picedit.app.debug-2/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libblasV8.so"
04-19 14:40:58.604 15526-15588/com.picedit.app.debug V/RenderScript: 0x7f8622c000 Launching thread(s), CPUs 8
04-19 14:40:58.633 15526-15588/com.picedit.app.debug V/RenderScript: Successfully loaded runtime: libRSDriver_adreno.so
04-19 14:40:58.679 15526-15526/com.picedit.app.debug I/Background: getBackgroundColor [0.0; 0.0; 0.0; 1.0; ]
04-19 14:40:58.681 15526-15526/com.picedit.app.debug E/CheckPermission: camera-code= 3
EN

回答 1

Stack Overflow用户

发布于 2018-05-07 15:09:51

我在这个日志中看不到任何有帮助的信息,因为没有崩溃记录。但是,请检查您是否在应用程序gradle文件中定义了正确的RenderScript版本。

代码语言:javascript
复制
    renderscriptTargetApi 23
    renderscriptSupportModeEnabled true

请同时尝试清理build文件夹,从测试设备中删除该应用程序,然后执行全新安装。

在一些安卓版本中有时会有一个bug,在更新已安装的调试版本时RenderScripts不会被重新编译。这可能会导致本机崩溃。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49915308

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档