Hello Guys
I got an issue when switching my Xamarin.Forms project from VSMac to VsWindows! "java.exe" exited with code 2 when deploying.
I already try:
- delete bin/ obj/ folders
- remove all packages and re-add them
- MultiDex
- Verify the path (removing special char "!@#$%ˆ&*(-_" etc..)
If you got an idea, tell me ;)
Regards,
If G Clovs solution doesn't work, then:
To avoid all these issues:
With turning third page of google, I didn't find any answer.
But I found the answer by my own.
The issue was comming from the Android.csproj and the Keystore Path.
It was set to my Mac Path even if I had already changed it on
VSWindows AndroidProject => Properties => Signin
So I removed this lines on Android.csproj (edited with third text editor):
On debug & release Part.
Then you can edit them on VS Windows.
Hope I helped someone. See ya
Try the below steps, it was working for me.
Happy Coding :)
Kishore Kumar