Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

java.exe exited with code 2

$
0
0

Hi,

I am getting:

"java.exe" exited with code 2

after adding the AdMob Nugets

I enabled Multi-Dex but still getting the same error.

I have also added:

android:name="android.support.multidex.MultiDexApplication"

In my AndroidManifest.xml

The details log as per the attached shows:

com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded

How can I fix this please?

Thanks,
Jassim


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>