I recently updated to nativescript 4.0.
And the plugin stopped working, I even created a new project and installed the plugin and still won't compile
"Failed to build plugin nativescript-social-share : Error: Command failed: ./gradlew -p /home/brainex/Projects/mp3faka/platforms/tempPlugin/nativescript_social_share assembleRelease -PcompileSdk=android-25 -PbuildToolsVersion=26.0.2 -PsupportVersion=25.3.1"