Sample code won't compile
I'm trying to load a sample from the book in Eclipse SDK 3.6.2
The book notes that newer versions of the tools may require modification to the source files in order to work. I'm fairly sure this is what is occuring. Creating the sample from scratch compiles and runs perfectly.
If I can be shown what steps are taken using the first sample code in order to make it compatable with the latest and greatest Eclipse version, I can take it from there modifying the other samples.
Many thanks!!!
File->New->Project->->Android->Android Project->Create Project from existing source->Chapter 1->HelloWorld
I get the following in the console:
[2011-07-27 11:36:25 - com.android.ide.eclipse.adt.internal.project.Andro idManifestHelper] Unable to read C:\PROGRA~2\Android\android-sdk\AndroidManifest.xml: java.io.FileNotFoundException: C:\PROGRA~2\Android\android-sdk\AndroidManifest.xml (The system cannot find the file specified)
[2011-07-27 11:43:05 - com.android.ide.eclipse.adt.internal.project.Andro idManifestHelper] Unable to read C:\Users\dlmanki\Documents\Android\Development\Wro x Begjnning Android Application Development\Chapter 1\AndroidManifest.xml: java.io.FileNotFoundException: C:\Users\dlmanki\Documents\Android\Development\Wro x Begjnning Android Application Development\Chapter 1\AndroidManifest.xml (The system cannot find the file specified)
[2011-07-27 11:52:12 - com.android.ide.eclipse.adt.internal.project.Andro idManifestHelper] Unable to read C:\Users\dlmanki\workspace\HelloWorld\AndroidManif est.xml: org.eclipse.core.internal.resources.ResourceExcept ion: Resource is out of sync with the file system: '/HelloWorld/AndroidManifest.xml'.
[2011-07-27 11:52:12 - HelloWorld] AndroidManifest.xml does not declare a Java package: Build aborted.
Last edited by Fooser; July 27th, 2011 at 04:46 PM..
|