Please help me to solve this problem. This is what i got in the console:
Error building Player: CommandInvokationFailure: Unable to convert classes into dex
This usually happens for the plugins. Search for any duplicate jar in the explorer of your project. Delete any duplicates. If it doesn't solve your problem, try deleting your "Plugins" folder of your project and then re-import all your plugins. Hope it will be solved.
I solved this problem by simply changing the java path from Open Unity go to Edit --> Preferences --> External Tools in JDK . (this jdk folder was actually running on system).