Some details: I get three errors which I have listed below. It appears that something is messed up in the setup, but I have no idea how to fix it.
----------------------------- First Error: org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'd:layout-devices' is not complete. One of '{"http:// schemas.android.com/sdk/android/layout-devices/1":device}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator $XSIErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl $NSContentDriver.scanRootElementHook(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl $PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate (Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate (Unknown Source) at javax.xml.validation.Validator.validate(Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.LayoutDeviceManager.parseLayoutDevices (Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.LayoutDeviceManager.loadDefaultAndUserDevices (Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.Sdk.<init>(Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.Sdk.loadSdk(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$13.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) ----------------------------------------------------------------------------------- The second one is: java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch (Unknown Source) at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch (Unknown Source) at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch (Unknown Source) at org.eclipse.debug.internal.core.LaunchConfiguration.launch (LaunchConfiguration.java:853) at org.eclipse.debug.internal.core.LaunchConfiguration.launch (LaunchConfiguration.java:703) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch (DebugUIPlugin.java:866) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run (DebugUIPlugin.java:1069) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) -------------------------------------------------------------- and finally org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'd:layout-devices' is not complete. One of '{"http:// schemas.android.com/sdk/android/layout-devices/1":device}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator $XSIErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl $NSContentDriver.scanRootElementHook(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl $PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse (Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate (Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate (Unknown Source) at javax.xml.validation.Validator.validate(Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.LayoutDeviceManager.parseLayoutDevices (Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.LayoutDeviceManager.loadDefaultAndUserDevices (Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.Sdk.<init>(Unknown Source) at com.android.ide.eclipse.adt.internal.sdk.Sdk.loadSdk(Unknown Source) at com.android.ide.eclipse.adt.AdtPlugin$13.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) On Jan 14, 5:22 pm, rben <ray.benja...@gmail.com> wrote: > After deleting a phone device from the emulator, I can no longer hit > the green triangle button in eclipse and have it launch my application > in the emulator. > > I had been developing for 2.0.1, but then decided to try my app out in > 2.1. I created a phone device for 2.1 and tried running it. I > encountered some problems. Eclipse pops up a dialog box: Problem > Occurred, Launching "my app" had encountered a problem. An internal > error occurred during: 'Launching my app". > > When I look at details, it says: An internal error occurred during: > "Launching Pingo". > java.lang.NullPointerException > > But I can't seem to determine where exactly that is happening. > > Anyone seen this before?
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en