[android-beginners] Re: Notepad Example 1 Trouble

2009-05-12 Thread James Bray
There may be operating system artifacts in the tutorial files you are
using.  I had the same problem, but I went to the command line of my Linux
environment and deleted the artifacts.  I refreshed my view in Eclipse and
the problem was solved.

I hope this helps.

James Bray

On Sun, May 10, 2009 at 5:41 AM, jpsarje...@googlemail.com 
jpsarje...@googlemail.com wrote:


 Hi

 I'm fairly experienced with Java but am used to working in the
 Netbeans IDE so thought I'd take my first venture into Eclipse and
 start on some Android development now I've got the Magic :D

 Figured I'd start off with the tutorials and finished up example 1
 perfectly or so I thought.

 However it won't run as there is apparently errors in my code. There
 is a red cross next to the com.android.demo.notepad1 package in the
 explorer yet there isn't a red cross next to either Notepadv1.java or
 NotesDbAdapter.java and no errors in the code of either java class.

 So after staring at it for a while and not getting anywhere I loaded
 up the Notepadv1 solution project and I have the same errors with
 that.

 I'm assuming it must be a problem with the IDE but don't really know
 where to start when it comes to eclipse.

 Any help would be much appreciated.
 James

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Notepad Example 1 Trouble

2009-05-11 Thread Michaël Gerber
Hi,
you have to delete all the files starting with ._ in the notepadv1 (or
notepadv1Solution) folder and in the subfolder.
Because those files are created with mac os and don't work otherwise.
For example you have .classpath and ._.classpath, delete the second.
For me it worked.
Michaël

2009/5/10 jpsarje...@googlemail.com jpsarje...@googlemail.com


 Hi

 I'm fairly experienced with Java but am used to working in the
 Netbeans IDE so thought I'd take my first venture into Eclipse and
 start on some Android development now I've got the Magic :D

 Figured I'd start off with the tutorials and finished up example 1
 perfectly or so I thought.

 However it won't run as there is apparently errors in my code. There
 is a red cross next to the com.android.demo.notepad1 package in the
 explorer yet there isn't a red cross next to either Notepadv1.java or
 NotesDbAdapter.java and no errors in the code of either java class.

 So after staring at it for a while and not getting anywhere I loaded
 up the Notepadv1 solution project and I have the same errors with
 that.

 I'm assuming it must be a problem with the IDE but don't really know
 where to start when it comes to eclipse.

 Any help would be much appreciated.
 James

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---