Problems running project with Xamarin: java/lang/Noclassdeffounderror : java/lang/Object

Asked

Viewed 72 times

0

This always works when I try to run an Android or Crossplatform project. How do I resolve this?

OBS1: I have the problem again and I don’t know what to do, I have no recourse to this.

  • It probably has to matter the way of the class, or something like that.

  • What I did was add JAVA_HOME and the value I put was the java path, which in my case was this: C:\Program Files (x86)\Java\jdk1.8.0_131

  • 1

    I didn’t realize that the class you can’t find is Object. Well, in that case it must be IDE setup, I’m not sure because I’ve never used this, but I can’t help

  • Put more details of the error, or try to grab some log files to help us help you

  • Updated the variable PATH too? If not, include: JAVA_HOME\bin at the end of it

  • @Igorventurelli, that’s all Igor? I was out and I just saw your comment. I’ll do it and see what happens. I’ve been asked to reinstall java, but I think it’s no use. From what I was told, in Java everything should be set manually.

  • Aham. When putting in variable PATH you (and the programs) will be able to call Java. After doing this, in the command terminal/prompt type java -version. It is to show some information, as the version, of Java "installed". If it appears that Java is not a known command something is wrong :(

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.