Ammar Midani
Ammar Midani

Reputation: 55

"java.exe" exited with code 1 Xamarin C#

When i create an empty project and click build to my android phone, i face this problem

"java.exe" exited with code 1

and in output tab i see this messages Click to see Output error

i trying to do these things :

i'm using Visual studio 2015 Enterprise and my phone is Samsung Alpha

please help me to solve this error

Upvotes: 1

Views: 3736

Answers (2)

Olorunfemi Davis
Olorunfemi Davis

Reputation: 1100

Clear your obj and bin folder for both projects. (PCL and Android).

If you're using a custom proguard tool, verify the file encoding is in utf or Ascii.

Upvotes: 2

Shahin ahammed
Shahin ahammed

Reputation: 23

I have faced this kinds of problem.in my case it was "java.exe" exited with code 2.simply i just Checked Enable Multi-Desk and solved my problem.

Upvotes: 1

Related Questions