'Reason: tried: '/usr/local/opt/boost/lib/libboost_system.dylib' (no such file)

After cloning a new project on mac I am facing this error on my old project , and not in the new cloned project.

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:mergeEnv_prodDebugResources'.

Failed to notify task execution listener. /private/var/folders/00/q0xg2fps11qgnyt3m35q017m02w3nw/T/libsignKey.dylib21955516978636706: dlopen(/private/var/folders/00/q0xg2fps11qgnyt3m35q017m02w3nw/T/libsignKey.dylib21955516978636706, 0x0001): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib Referenced from: /private/var/folders/00/q0xg2fps11qgnyt3m35q017m02w3nw/T/libsignKey.dylib21955516978636706 Reason: tried: '/usr/local/opt/boost/lib/libboost_system.dylib' (no such file), '/usr/lib/libboost_system.dylib' (no such file)

Tried Rebuild, Invalidate, Deleting .gradle, Uninstalling Android studio.... but i still am facing this issue.

Anyone know what created this issue and how can I resolve it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source