CrossGeeks / FacebookClientPlugin

Facebook Client Plugin for Xamarin iOS and Android
MIT License
106 stars 32 forks source link

Error when add Plugin.FacebookClient package to Project #79

Open alaa-m opened 4 years ago

alaa-m commented 4 years ago

Hello,

When I Add Plugin.FacebookClient package to my Xamarin project and build it I receive this error:

java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize). Java ran out of memory while executing 'java.exe -Dfile.encoding=UTF8 -Xmx1G -jar D:\Users\xxxx\AppData\Local\Android\android-sdk\build-tools\28.0.3\\lib\dx.jar --dex --no-strict --input-list=C:\Users\xxxx\AppData\Local\Temp\tmp13FC.tmp --output obj\Debug\90\android\bin'

Does anyone know why? this error is showing. Although when I remove the package the error is gone.

Thank you.

Edit:

I found that the error only shows when I add both packages Plugin.FacebookClient and Plugin.GoogleClient