I am new to Java and am trying to learn. I am currently stuck and not sure why i am unable to import from a folder.
2 Answers
add the dependecies to your gradle file to compile the project DomParser
2 Comments
BubblewrapBeast
I am following this guide. cogninotech.com/2014/06/… i says for me to add this into mainactivity.class but i only appear to have a mainactivity.java is this not the same?
dsh
It looks like that author put a '.' where he should have ' '. You can't edit .class files - they are produced by the compiler from your .java source code. He probably meant "MainActivity class" (note: space between words, not a file extension) meaning the place where in your code you define
class MainActivity { ... }.