sjfricke / OpenCV-NDK

Example of using OpenCV with Android NDK
Other
80 stars 26 forks source link

Executing external native build for ndkBuild #5

Open misaeljonathann opened 4 years ago

misaeljonathann commented 4 years ago
Screen Shot 2019-11-21 at 20 42 56

Hi, i'm keep getting this error while trying to run the source code. i've followed the "How to Setup" and have done some research but still not get the solution. and I also don't think my OPENCV_SDK_PATH is wrong. Could you guys help me with it?

sjfricke commented 4 years ago

Hmm, that is strange, never seen that error... By chance can you find a more verbose error as the error here tells me very little of what is wrong

misaeljonathann commented 4 years ago

error_log.txt Hi, thanks for the quick response! Here's what i can get from the full error log. i couldnt find much information from the error log :(.

sjfricke commented 4 years ago

So looking at the log my best guess is that the Application.mk file is a little too outdated.

  1. Make sure the Android version in there (which at 24) is a version you have the SDK platform for
  2. Possibly change the STD as if you search googles documents they have recently deprecated some things
a-mohsen commented 4 years ago

I had the same issue and fixed it. Don't update to the latest gradle, instead you can use 3.3.0. Screenshot from 2019-11-28 11-30-51

sjfricke commented 4 years ago

hmm... ya, this repo is relatively old, this seems like a good excuse for me to update to a newer build flow