I am using react-native async-storage community version which is working smoothly with iOS but not with android.
After using react-native run-android I am getting following error
FAILURE: Build failed with an exception.
Where: Build file '/Users/blickx/Desktop/dumont-reactnative/Dumont/node_modules/@react-native-community/async-storage/android/build.gradle' line: 36
What went wrong: A problem occurred evaluating project ':@react-native-community_async-storage'.
Plugin with id 'com.android.library' not found.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 5s
at checkExecSyncError (child_process.js:621:11) at execFileSync (child_process.js:639:15) at runOnAllDevices (/Users/blickx/Desktop/dumont-reactnative/Dumont/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:74:39) at buildAndRun (/Users/blickx/Desktop/dumont-reactnative/Dumont/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:158:41) at /Users/blickx/Desktop/dumont-reactnative/Dumont/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:125:12 at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Command.handleAction (/Users/blickx/Desktop/dumont-reactnative/Dumont/node_modules/react-native/node_modules/@react-native-community/cli/build/cliEntry.js:160:7)