Game Analytics & Facebook sdk android build error

Hi,
when importing game analytics & facebook sdk i get an error when building for android

Note: I’ve found the solution & posting this for my reference & to help others

Solution

  1. change build type from build settings → internal into gradle

  2. search for “support” which should show two support library files in Plugins>android folder, remove one of them ( they are duplicate)