teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.49k stars 590 forks source link

Can't run on android emulator #550

Open tasecombo opened 1 year ago

tasecombo commented 1 year ago

It works fine when running on ios, but when trying to build the app on android emulator Im getting this errror

couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader. DirectorySoSource|root = /data/app/~~2skIF1vR2hLrjwckKm_HAQ==/ com. tasecombo.unite-CUOuiWiEraGVkcsvJD7q MA==/lib/arm64 flags = 0] SoSource 1: com.facebook.soloader. DirectApkSoSourcelroot = (/data/app/~~2skIIvR2hLrjwckKm_HAQ==/ com.tasecombo.unite-CUOuiWiEraGVkcsJD7g MA==/base.apk!/lib/arm64-v8a,)]

Screenshot_1686635725

DavidBertet commented 1 year ago

I do not reproduce. Could you give us more details about your environment. Device, Android version, computer, commands, ... Thanks!

tcomboeanu commented 1 year ago

I had to change these lines in build.gradle enableHermes: true, def enableHermes = project.ext.react.get("enableHermes", true);

DavidBertet commented 1 year ago

It is likely a side effect, as you can see here, enableHermes has been replaced by hermesEnabled in recent versions

Please share more details about your environment and the commands you use. Here is what should be used

git clone git@github.com:teslamotors/react-native-camera-kit.git
cd react-native-camera-kit
yarn bootstrap
yarn example android