amorenew / alps_uhf_flutter

Other
0 stars 0 forks source link

Couldn't find "libflutter.so" error #2

Open hardysonarthy opened 3 years ago

hardysonarthy commented 3 years ago
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.wiot.alps_ax6737.uhf_plugin_example-2/base.apk"],nat
iveLibraryDirectories=[/data/app/com.wiot.alps_ax6737.uhf_plugin_example-2/lib/arm, /data/app/com.wiot.alps_ax6737.uhf_plugin_example-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/li
b, /system/vendor/lib]]] couldn't find "libflutter.so"

I couldn't find the file in any of the folders.

amorenew commented 3 years ago

@Hrobi7198228 First this library may not work on the same hardware as UHF is a custom Chinese component Second I exclude it on gradle by exclude 'lib/arm64-v8a/libflutter.so' so maybe it has a conflict with your needs

hardysonarthy commented 3 years ago

yes my device is also Chinese component (alps ax 6737_65) is this similar to your model? IMG20201018012641

amorenew commented 3 years ago

@Hrobi7198228 you need to compare .so JNI libs to know if it same SDK or not Chinese can put different hardware in the same device model.

mhdarshad commented 1 year ago

i was also getting the same errir , i tried to comment exclude 'lib/arm64-v8a/libflutter.so' in gradle file it worked