defined in its own file

Put your problem here if it does not fit any of the other categories.

defined in its own file

Postby pdxbenjamin » Sun Jan 27, 2008 7:18 am

I am trying out some tutorials and example code...

I keep getting an error,
The public type TableLayout10 must be defined in its own file

I'm trying this example code.. ... out10.html

What does that error mean?

I use the the android plug in, in Eclipse
Once Poster
Once Poster
Posts: 1
Joined: Thu Jan 17, 2008 12:10 am


Postby plusminus » Sun Jan 27, 2008 1:27 pm


probably the file name your code is in is not exactly the same the class within is called.
So if he public class is called "TableLayout10" your filename has to be: "".

Hope I could help you. :)

Image | Android Development Community / Tutorials
User avatar
Site Admin
Site Admin
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany


Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests