Java.exe is exited with Code 2.0

I am getting Java.exe error in my project. I have tried to solve with all the possibilities or solution which are the available in your blog.

Answers

  • faisalfarooqfaisalfarooq USMember ✭✭

    check the properties of your project ... and unchecked proguard ..

    hope it will work for you..

    or increase the heap size of java with 4G and advance properties of your project

  • IrongutIrongut Member ✭✭✭
    edited February 15

    You have added too many methods to your project and hit the limit of about 65k references, probably due to lots of nuget packages.

    You need to enable multi-dex:
    https://www.jon-douglas.com/2016/09/05/xamarin-android-multidex/

    @faisalfarooq said:
    check the properties of your project ... and unchecked proguard ..

    Actually disabling Proguard will make this problem worse!

  • SamirDuttaSamirDutta Member ✭✭

    @Irongut said:
    You have added too many methods to your project and hit the limit of about 65k references, probably due to lots of nuget packages.

    You need to enable multi-dex:
    https://www.jon-douglas.com/2016/09/05/xamarin-android-multidex/

    @faisalfarooq said:
    check the properties of your project ... and unchecked proguard ..

    Actually disabling Proguard will make this problem worse!

    Already i had tried. But still not working. coming same issue.

  • SamirDuttaSamirDutta Member ✭✭

    @faisalfarooq said:
    check the properties of your project ... and unchecked proguard ..

    hope it will work for you..

    or increase the heap size of java with 4G and advance properties of your project

    Useless. Error still persist.

Sign In or Register to comment.