To solve this problem, you just need to follow these steps
- remove facebook exist plugin and all the related files in your app folder.
cordova plugin rm cordova-plugin-facebook4
- remove and re-add android plugin
cordova platform rm android && cordova platform add android
- Add your facebook plugin with the following command
cordova plugin add https://github.com/amritk/cordova-plugin-facebook4 --save --variable APP_ID="your facebook app ID" --variable APP_NAME="Your facebook App Name"
thats all. If you have any question about this issues please feel free the left comment to this post.