Lauszus / FaceRecognitionApp

Face Recognition Android App
GNU General Public License v2.0
506 stars 238 forks source link

when i try to run app from android studio getting error on this project #28

Closed Jaimin7632 closed 5 years ago

Jaimin7632 commented 5 years ago

Error:error: linker command failed with exit code 1 (use -v to see invocation)

Lauszus commented 5 years ago

Which version are you trying to compile? Please also post the full error code.

Jaimin7632 commented 5 years ago

I just only get error which i already posted. Is there any error in Android.mk file. or else there a probelm in graddle for minsdk or compile sdk ??

And also getting this warning...

Warning:ABIs [armeabi-v7a,armeabi] set by 'android.injected.build.abi' gradle flag contained 'ARMEABI' not targeted by this project.

Jaimin7632 commented 5 years ago

i got the solution. there a problem in $(LOCAL_PATH) which are u declare in android.mk file . thanks for your support .btw great work.

Lauszus commented 5 years ago

Good to hear you got it working.

Pittu7 commented 5 years ago

Hi Jaimin Can I please know how did you fix the warning message?

Jaimin7632 commented 5 years ago

Correct path in android.mk files. Please ckeck it and try again.

On Wed, 31 Jul 2019, 12:19 am Pittu7, notifications@github.com wrote:

Hi Jaimin Can I please know how did you fix the warning message?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/28?email_source=notifications&email_token=AJFXTYBABHLYDSO4E6GLUKLQCCEKFA5CNFSM4GMSDEZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3E57II#issuecomment-516546465, or mute the thread https://github.com/notifications/unsubscribe-auth/AJFXTYHMI75XMG32C2W7FTLQCCEKFANCNFSM4GMSDEZA .

Pittu7 commented 5 years ago

I am using windows 10. Do I need to replace the local path as shown below: _OPENCV_INSTALLMODULES := on include C:/Users/Administrator/FaceRecognitionApp-1.2.3/OpenCV-android-sdk/sdk/native/jni/OpenCV.mk

Jaimin7632 commented 5 years ago

Yup also check out the opencv version are you using . Check the azure face api android. You find your solution there.

On Wed, 31 Jul 2019, 12:25 am Pittu7, notifications@github.com wrote:

I am using windows 10. Do I need to replace the local path as shown below:

OPENCV_INSTALL_MODULES := on include C:/Users/Administrator/FaceRecognitionApp-1.2.3/OpenCV-android-sdk/sdk/native/jni/OpenCV.mk

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/28?email_source=notifications&email_token=AJFXTYHVYFRPNTVAAWBC56DQCCFBLA5CNFSM4GMSDEZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3E6PIA#issuecomment-516548512, or mute the thread https://github.com/notifications/unsubscribe-auth/AJFXTYFNZFT3ZIQACVFJJHDQCCFBLANCNFSM4GMSDEZA .

Pittu7 commented 5 years ago

do I have to change the local paths for all the values as such in android.mk? Am using OpenCV 3.4.1 just as the one used in this project

Jaimin7632 commented 5 years ago

Yes

On Wed, 31 Jul 2019, 12:37 am Pittu7, notifications@github.com wrote:

do I have to change the local paths for all the values as such in android.mk? Am using OpenCV 3.4.1 just as the one used in this project

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/28?email_source=notifications&email_token=AJFXTYBWHRIE5VL7VWR3553QCCGPPA5CNFSM4GMSDEZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3E7S7A#issuecomment-516553084, or mute the thread https://github.com/notifications/unsubscribe-auth/AJFXTYCFKI4FGWU4GT5DLO3QCCGPPANCNFSM4GMSDEZA .

Pittu7 commented 5 years ago

Build is getting failed when am trying to update my local path for all the values