java - Android Screen Turns Black -
i looking reason happening. writing image-stitching app android. have decided use opencv4android , had android ndk stuff in order work (i sure somehow causing problem). problem having when code reaches opencv ndk portion of program, screen on android device turns black , logcat stops displaying anything. crashes without telling me of errors @ all. unusual because in .cpp portion of project if there problem, logcat @ least display vague fatal signal 11 , end. because of this, have no idea begin searching solution. beginner when comes android programming, may can overlooked beginner. appreciated! more info on blank screen: android device not frozen, can exit app if try enter app again through multitasking button, takes 5 seconds enter logcat or android studio not frozen edit: after leaving black screen on android device said [app name] wasn't responding, , gave me option either close it, or keep waiting. suspicion line mat img = imread("/storage/emulat