MobileNetSSD_Demo_AndroidNCNN icon indicating copy to clipboard operation
MobileNetSSD_Demo_AndroidNCNN copied to clipboard

app闪退

Open CYYAI opened this issue 4 years ago • 8 comments

我使用你的代码加载进android studio中,run后apk直接闪退,请问可能是什么原因呢?

CYYAI avatar Mar 25 '20 11:03 CYYAI

你需要看log 看为啥闪退------------------ Original ------------------ From: "cyymt"[email protected] Date: Wed, Mar 25, 2020 07:59 PM To: "chentyjpm/MobileNetSSD_Demo_AndroidNCNN"[email protected]; Cc: "Subscribed"[email protected]; Subject: [chentyjpm/MobileNetSSD_Demo_AndroidNCNN] app闪退 (#8)

我使用你的代码加载进android studio中,run后apk直接闪退,请问可能是什么原因呢?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

chentyjpm avatar Mar 25 '20 12:03 chentyjpm

出现这个错误:Timed out waiting for process to appear on device

CYYAI avatar Mar 25 '20 13:03 CYYAI

多发一些完整的呢?

chentyjpm avatar Mar 27 '20 05:03 chentyjpm

我也是闪退,Android10测试,出现错误为 image

image 两种情况

Jackyxie1 avatar Apr 08 '20 10:04 Jackyxie1

你需要在 ndk 链接openmp 好像是 -fopenmp

chentyjpm avatar Apr 08 '20 12:04 chentyjpm

https://github.com/chentyjpm/InsightFaceRecognition_Demo_AndroidNCNN/issues/1

same with the ""libomp.so" not found " issue

I have the same problem too. same problem when build https://github.com/chentyjpm/InsightFaceRecognition_Demo_AndroidNCNN

I download the NDK 17 version from https://developer.android.google.cn/ndk/downloads/older_releases

and then set the Android Sutdio project NDK folder to 17 folder, and the problem solved.

zhujiandream avatar Apr 26 '20 02:04 zhujiandream

我是什么报错都没有就闪退了,只有两行看起来没啥用处地输出: Connected to the target VM, address: 'localhost:8601', transport: 'socket' Disconnected from the target VM, address: 'localhost:8601', transport: 'socket' 我是下载完直接build install的,请问在此之前还需要动什么地方吗

wwdok avatar Nov 22 '20 10:11 wwdok

chentyjpm/InsightFaceRecognition_Demo_AndroidNCNN#1

same with the ""libomp.so" not found " issue

I have the same problem too. same problem when build https://github.com/chentyjpm/InsightFaceRecognition_Demo_AndroidNCNN

I download the NDK 17 version from https://developer.android.google.cn/ndk/downloads/older_releases

and then set the Android Sutdio project NDK folder to 17 folder, and the problem solved.

thanks for your answer,it`s useful 感谢你的答案 非常有帮助 #

Hugo-cheng avatar Jan 09 '21 10:01 Hugo-cheng