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)
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库是必须加入的。在SDK包中有
没有这个呢
有加入so库libaip-native-auth.so吗?
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)
有闪退的log吗?
您好,感谢您使用百度AI社区,如果有志同道合的小伙伴遇到过相似问题并解决了会给您答复,同时我们也内部再跟进您这个问题,会尽快给您具体答复
闪退的图