You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
Hi,
I am trying to modify your library as per my requirement I need the front facing camera to scan card information.
I have spent approximately 32 hours to just run your source code on my android studio from here: https://github.com/card-io/card.io-Android-source
I was having the different type of issues while gradle building anyways, from the given steps:
$ cp local.properties.example local.properties **(Here i got an error "The system cannot find the file specified." but i have added the path of sdk and ndk in my local.properties file
here is the way i have done it:
Edit local.properties with your env (Assuming you've defined $ANDROID_NDK correctly, run $ echo "$ANDROID_NDK" "$ANDROID_SDK" -> I am unable to understand, are you trying to say that i have to set environment variables for ndk and sdk then i should check these variables containing the correct path?
$ ./gradlew clean assembleDebug --> Then i ran this command on my android studio terminal and i am getting this response :
External Native Build Issues
Build command failed.
Error while executing process C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Android.mk NDK_APPLICATION_MK=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=F:/Git Projects/My Projects/card.io-Android-source/card.io/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=F:\Git Projects\My Projects\card.io-Android-source\card.io\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: F:\Git Projects\My Projects\card.io-AC:/Users/nLenovo/dArppData/Locaol/Android/Sdk/ndk-bundle/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop.
id-source\card.io\src\main\jni\Android.mk
Build command failed.
Error while executing process C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Android.mk NDK_APPLICATION_MK=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=F:/Git Projects/My Projects/card.io-Android-source/card.io/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=F:\Git Projects\My Projects\card.io-Android-source\card.io\build\intermediates\ndkBuild\release\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
AndroC:/Users/Lenovo/AppData/Local/Android/Sdk/ndk-bundle/build/core/add-applicid NDK: Your APP_BUILD_SCRIPT poation.mk:199: *** Android NDK: Aborting... .ints to an unknown file: F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\j ni\Android.mk
Stop.
And
C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\build\core\add-application.mk
Error:(48, 0) Projects\card.io-Android-source\card.io\src\main\jni\Application.mk: No such file or directory
Please help out me in this issue
Thanks
The text was updated successfully, but these errors were encountered:
General information
Issue description
Hi,
I am trying to modify your library as per my requirement I need the front facing camera to scan card information.
I have spent approximately 32 hours to just run your source code on my android studio from here: https://github.com/card-io/card.io-Android-source
I was having the different type of issues while gradle building anyways, from the given steps:
clone this repo -> Done
$ cd card.io-Android-source -> Done
init its dmz submodule: git submodule sync; git submodule update --init --recursive -> Done
$ cp local.properties.example local.properties **(Here i got an error "The system cannot find the file specified." but i have added the path of sdk and ndk in my local.properties file
here is the way i have done it:
ndk.dir=C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle
sdk.dir=C:\Users\Lenovo\AppData\Local\Android\Sdk)**
Edit local.properties with your env (Assuming you've defined $ANDROID_NDK correctly, run $ echo "$ANDROID_NDK" "$ANDROID_SDK" -> I am unable to understand, are you trying to say that i have to set environment variables for ndk and sdk then i should check these variables containing the correct path?
$ ./gradlew clean assembleDebug --> Then i ran this command on my android studio terminal and i am getting this response :
External Native Build Issues
Build command failed.
Error while executing process C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Android.mk NDK_APPLICATION_MK=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=F:/Git Projects/My Projects/card.io-Android-source/card.io/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=F:\Git Projects\My Projects\card.io-Android-source\card.io\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: F:\Git Projects\My Projects\card.io-AC:/Users/nLenovo/dArppData/Locaol/Android/Sdk/ndk-bundle/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop.
id-source\card.io\src\main\jni\Android.mk
Build command failed.
Error while executing process C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Android.mk NDK_APPLICATION_MK=F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=F:/Git Projects/My Projects/card.io-Android-source/card.io/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=F:\Git Projects\My Projects\card.io-Android-source\card.io\build\intermediates\ndkBuild\release\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
AndroC:/Users/Lenovo/AppData/Local/Android/Sdk/ndk-bundle/build/core/add-applicid NDK: Your APP_BUILD_SCRIPT poation.mk:199: *** Android NDK: Aborting... .ints to an unknown file: F:\Git Projects\My Projects\card.io-Android-source\card.io\src\main\j ni\Android.mk
Stop.
And
C:\Users\Lenovo\AppData\Local\Android\Sdk\ndk-bundle\build\core\add-application.mk
Error:(48, 0) Projects\card.io-Android-source\card.io\src\main\jni\Application.mk: No such file or directory
Please help out me in this issue
Thanks
The text was updated successfully, but these errors were encountered: