apicloud加aip.license文件闪退
do1984 发布于2017-12 浏览:1630 回复:8
0
收藏

我正式版用APIcloud 打包模块 加入aip.license 文件 闪退

测试版没有问题

求告知?

收藏
点赞
0
个赞
共8条回复 最后由雨中行o回复于2017-12
#9雨中行o回复于2017-12

好了

0
#8tengyuqiao回复于2017-12
#7 雨中行o回复
没有这个呢

这个so库是必须加入的。在SDK包中有

0
#7雨中行o回复于2017-12
#6 tengyuqiao回复
有加入so库libaip-native-auth.so吗?

没有这个呢

0
#6tengyuqiao回复于2017-12
#5 雨中行o回复
12-04 15:16:11.884 11827-12035/com.g2082205932.uic E/app3c: sorry, we have catch a crash log java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:304) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: java.lang.UnsatisfiedLinkError: No implementation found for byte[] com.baidu.aip.auth.Auth.initWithBin(android.content.Context) (tried Java_com_baidu_aip_auth_Auth_initWithBin and Java_com_baidu_aip_auth_Auth_initWithBin__Landroid_content_Context_2) at com.baidu.aip.auth.Auth.initWithBin(Native Method) at com.baidu.aip.auth.Auth.getBinInitBody(Unknown Source) at com.baidu.aip.auth.Auth.getToken(Unknown Source) at com.baidu.ar.task.a.a(Unknown Source) at com.baidu.ar.task.a.doInBackground(Unknown Source) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)  at java.lang.Thread.run(Thread.java:818)  12-04 15:16:11.885 11827-12035/com.g2082205932.uic E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #6 Process: com.g2082205932.uic, PID: 11827 java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:304) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) at java.util.concurrent.FutureTask.setException(FutureTask.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) Caused by: java.lang.UnsatisfiedLinkError: No implementation found for byte[] com.baidu.aip.auth.Auth.initWithBin(android.content.Context) (tried Java_com_baidu_aip_auth_Auth_initWithBin and Java_com_baidu_aip_auth_Auth_initWithBin__Landroid_content_Context_2) at com.baidu.aip.auth.Auth.initWithBin(Native Method) at com.baidu.aip.auth.Auth.getBinInitBody(Unknown Source) at com.baidu.aip.auth.Auth.getToken(Unknown Source) at com.baidu.ar.task.a.a(Unknown Source) at com.baidu.ar.task.a.doInBackground(Unknown Source) at android.os.AsyncTask$2.call(AsyncTask.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)  at java.lang.Thread.run(Thread.java:818) 
展开

有加入so库libaip-native-auth.so吗?

0
#5雨中行o回复于2017-12

12-04 15:16:11.884 11827-12035/com.g2082205932.uic E/app3c: sorry, we have catch a crash log
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:304)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for byte[] com.baidu.aip.auth.Auth.initWithBin(android.content.Context) (tried Java_com_baidu_aip_auth_Auth_initWithBin and Java_com_baidu_aip_auth_Auth_initWithBin__Landroid_content_Context_2)
at com.baidu.aip.auth.Auth.initWithBin(Native Method)
at com.baidu.aip.auth.Auth.getBinInitBody(Unknown Source)
at com.baidu.aip.auth.Auth.getToken(Unknown Source)
at com.baidu.ar.task.a.a(Unknown Source)
at com.baidu.ar.task.a.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:818) 
12-04 15:16:11.885 11827-12035/com.g2082205932.uic E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #6
Process: com.g2082205932.uic, PID: 11827
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:304)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for byte[] com.baidu.aip.auth.Auth.initWithBin(android.content.Context) (tried Java_com_baidu_aip_auth_Auth_initWithBin and Java_com_baidu_aip_auth_Auth_initWithBin__Landroid_content_Context_2)
at com.baidu.aip.auth.Auth.initWithBin(Native Method)
at com.baidu.aip.auth.Auth.getBinInitBody(Unknown Source)
at com.baidu.aip.auth.Auth.getToken(Unknown Source)
at com.baidu.ar.task.a.a(Unknown Source)
at com.baidu.ar.task.a.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:818) 

0
#4tengyuqiao回复于2017-12

有闪退的log吗?

0
#3AI最前线回复于2017-12

您好,感谢您使用百度AI社区,如果有志同道合的小伙伴遇到过相似问题并解决了会给您答复,同时我们也内部再跟进您这个问题,会尽快给您具体答复

0
#2do1984回复于2017-12

闪退的图

0
TOP
切换版块