iMicknl / cordova-plugin-openalpr

This Cordova plugin adds support for the OpenALPR (Automatic License Plate Recognition) library, which provides support for retrieving the license plate from a picture.
MIT License
32 stars 23 forks source link

Android armeabi-v7a issue? #54

Open parksmart-dev opened 2 years ago

parksmart-dev commented 2 years ago

So, I've started getting the below error on Google Play,

This release is not compliant with the Google Play 64-bit requirement.
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: [30000]
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.

and I think it might be something related to the below,

> Task :app:extractReleaseNativeSymbolTables
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libnativealpr.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libtess.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libopencv_java3.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libopenalprjni.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libjpgt.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/liblept.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /Development/app/platforms/android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libpngt.so because unable to locate the objcopy executable for the armeabi-v7a ABI.

does anyone have any ideas on how to fix? Thanks.

singhc00 commented 1 year ago

Hi @parksmart-dev

I believe you need to have 64-bit android apps. Please see my last commit, that adds support for 64-bit android apps to this plugin. If your project has the folder for arm64-v8a in jniLibs, then the plugin should work.