Why does the ClassNotFoundError error pop up? Before that she was not there.

enter image description here

Closed due to the fact that off-topic participants are Suvitruf , cyadvert , tutankhamun , Saidolim , Abyx 17 Dec '15 at 14:33 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - cyadvert, Abyx
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • If you are given an exhaustive answer, mark it as accepted. - Suvitruf

1 answer 1

I see a string

  at com.example.prostopost.MainActivity.onCreate(MainActivity.java:27) 

Look at what you have in line 27, namely in the onCreate () method. If sight does not deceive me, then for some reason you cannot find the TempData class in the com.example.prostopost package. You most likely have a method in the 27th line that uses an instance of the TempData class, but there is no TempData.java itself.
I have a question for you: do you write directly on your smartphone?

  • Yes, on the smartphone. I have already found a solution. It was necessary to register the full path to the class in the manifest. - Andrach
  • > do you write directly on the phone? Well, why not ? : P to finish the client as soon as possible, otherwise you cannot cope with this marking - Helisia
  • @SuperCreeper, Monsieur knows a lot about perversions - PhoEn-X