android - Exception in thread "main" java.lang.RuntimeException: Stub XmlPullParserFactory -


I want to run one of my Java classes using IntelligenceIdia14, and try to get rid of this There is a problem getting compile-time error.

  Exception in thread "main" java.lang.RuntimeException: stub!  

And I'm following this site: For guidance with xmlpullparser and xmlpullparserfactory.

Now, I have downloaded an implementation of XMLPULL API V1, kxml2.jar, and I have added it to my cell gallery, correct me if I am wrong but I have done this:

Project structure> Module> Dependency> +> Jar or Directory> File location

What else do I need to do?

The main method:

  throws public static zero main (string [] args) IOException, XmlPullParserException {file file = new file ("testmap.tmx"); XmlPullParserFactory factory = XmlPullParserFactory.newInstance (); Factory.setNamespaceAware (true); XmlPullParser xpp = factory.NewPollers (); Xpp.setInput (New FileReader (file)); Tiled XML Parser Parser = New Tile XML Operator (XPP); }  


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -