Won't build android with react native 0.77.0
I'm using "@react-native/gradle-plugin": "^0.77.0" with react native 0.77.0, gradle min version minSdkVersion = 24 newArchEnabled=true throws this error when building android:
Task :hyperledger_aries-askar-react-native:configureCMakeDebug[arm64-v8a] FAILED C/C++: CMake Error at CMakeLists.txt:30 (add_library): C/C++: Target "ariesaskarreactnative" links to target C/C++: "ReactAndroid::reactnativejni" but the target was not found. Perhaps a C/C++: find_package() call is missing for an IMPORTED target, or an ALIAS target C/C++: is missing? C/C++: CMake Generate step failed. Build files cannot be regenerated correctly.
any thoughs on this?
I'm fairly sure that none of the react native libs required for mobile agents (askar, indy-vdr, anoncreds) account for the new architecture. I don't know the details of your project, but you could try adjusting to newArchEnabled=false and see if it builds then. That might narrow the scope of the problem at least
You may also want to transfer this issue to the wrapper repo: https://github.com/openwallet-foundation/askar-wrapper-javascript
Could also try using @openwallet-foundation/[email protected] as it looks like you're using the older hyperledger-scoped version