Eclipse wizard to create new Android Activity doesn't work -
this first question, hope make right. have problem eclipse , android. i'm using last build of android adt bundle, adt-bundle-windows-x86_64-20131030, , when try use procedure new --> other --> android activity existing project, doesn't nothing , see on error log tab give me 2 errors:
first error
expression manifestout undefined on line 9, column 39 in recipe.xml.ftl. problematic instruction: ---------- ==> ${escapexmlattribute(manifestout)} [on line 9, column 18 in recipe.xml.ftl] ---------- java backtrace programmers: ---------- freemarker.core.invalidreferenceexception: expression manifestout undefined on line 9, column 39 in recipe.xml.ftl. @ freemarker.core.templateobject.assertnonnull(templateobject.java:125) @ freemarker.core.expression.getstringvalue(expression.java:118) @ freemarker.core.expression.getstringvalue(expression.java:93) @ freemarker.core.listliteral.getvaluelist(listliteral.java:95) @ freemarker.core.methodcall._getastemplatemodel(methodcall.java:89) @ freemarker.core.expression.getastemplatemodel(expression.java:89) @ freemarker.core.expression.getstringvalue(expression.java:93) @ freemarker.core.dollarvariable.accept(dollarvariable.java:76) @ freemarker.core.environment.visit(environment.java:221) @ freemarker.core.mixedcontent.accept(mixedcontent.java:92) @ freemarker.core.environment.visit(environment.java:221) @ freemarker.core.environment.process(environment.java:199) @ freemarker.template.template.process(template.java:259) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.execute(templatehandler.java:546) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.access$1(templatehandler.java:537) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler$1.startelement(templatehandler.java:463) @ org.apache.xerces.parsers.abstractsaxparser.startelement(unknown source) @ org.apache.xerces.parsers.abstractxmldocumentparser.emptyelement(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl.scanstartelement(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl$fragmentcontentdispatcher.dispatch(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl.scandocument(unknown source) @ org.apache.xerces.parsers.xml11configuration.parse(unknown source) @ org.apache.xerces.parsers.xml11configuration.parse(unknown source) @ org.apache.xerces.parsers.xmlparser.parse(unknown source) @ org.apache.xerces.parsers.abstractsaxparser.parse(unknown source) @ org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser.parse(unknown source) @ org.apache.xerces.jaxp.saxparserimpl.parse(unknown source) @ javax.xml.parsers.saxparser.parse(unknown source) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.processvariables(templatehandler.java:430) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.render(templatehandler.java:295) @ com.android.ide.eclipse.adt.internal.wizards.templates.newtemplatewizardstate.computechanges(newtemplatewizardstate.java:164) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatepreviewpage.setvisible(templatepreviewpage.java:38) @ org.eclipse.jface.wizard.wizarddialog.updateforpage(wizarddialog.java:1259) @ org.eclipse.jface.wizard.wizarddialog.access$4(wizarddialog.java:1238) @ org.eclipse.jface.wizard.wizarddialog$8.run(wizarddialog.java:1227) @ org.eclipse.swt.custom.busyindicator.showwhile(busyindicator.java:70) @ org.eclipse.jface.wizard.wizarddialog.showpage(wizarddialog.java:1225) @ org.eclipse.jface.wizard.wizarddialog.nextpressed(wizarddialog.java:915) @ org.eclipse.jface.wizard.wizarddialog.buttonpressed(wizarddialog.java:428) @ org.eclipse.jface.dialogs.dialog$2.widgetselected(dialog.java:624) @ org.eclipse.swt.widgets.typedlistener.handleevent(typedlistener.java:248) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4169) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3758) @ org.eclipse.jface.window.window.runeventloop(window.java:825) @ org.eclipse.jface.window.window.open(window.java:801) @ org.eclipse.ui.internal.handlers.wizardhandler$new.executehandler(wizardhandler.java:259) @ org.eclipse.ui.internal.handlers.wizardhandler.execute(wizardhandler.java:279) @ org.eclipse.ui.internal.handlers.handlerproxy.execute(handlerproxy.java:290) @ org.eclipse.ui.internal.handlers.e4handlerproxy.execute(e4handlerproxy.java:76) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.e4.core.internal.di.methodrequestor.execute(methodrequestor.java:56) @ org.eclipse.e4.core.internal.di.injectorimpl.invokeusingclass(injectorimpl.java:231) @ org.eclipse.e4.core.internal.di.injectorimpl.invoke(injectorimpl.java:212) @ org.eclipse.e4.core.contexts.contextinjectionfactory.invoke(contextinjectionfactory.java:131) @ org.eclipse.e4.core.commands.internal.handlerserviceimpl.executehandler(handlerserviceimpl.java:171) @ org.eclipse.ui.internal.handlers.legacyhandlerservice.executecommand(legacyhandlerservice.java:515) @ org.eclipse.ui.internal.actions.commandaction.runwithevent(commandaction.java:157) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:584) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:501) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:411) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4169) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3758) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$9.run(partrenderingengine.java:1053) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:942) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:86) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:588) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:543) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:124) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:353) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:180) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:629) @ org.eclipse.equinox.launcher.main.basicrun(main.java:584) @ org.eclipse.equinox.launcher.main.run(main.java:1438) @ org.eclipse.equinox.launcher.main.main(main.java:1414)
second error
pression manifestdir undefined on line 4, column 39 in globals.xml.ftl. problematic instruction: ---------- ==> ${manifestdir} [on line 4, column 37 in globals.xml.ftl] ---------- java backtrace programmers: ---------- freemarker.core.invalidreferenceexception: expression manifestdir undefined on line 4, column 39 in globals.xml.ftl. @ freemarker.core.templateobject.assertnonnull(templateobject.java:125) @ freemarker.core.expression.getstringvalue(expression.java:118) @ freemarker.core.expression.getstringvalue(expression.java:93) @ freemarker.core.dollarvariable.accept(dollarvariable.java:76) @ freemarker.core.environment.visit(environment.java:221) @ freemarker.core.mixedcontent.accept(mixedcontent.java:92) @ freemarker.core.environment.visit(environment.java:221) @ freemarker.core.environment.process(environment.java:199) @ freemarker.template.template.process(template.java:259) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.processvariables(templatehandler.java:423) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.access$0(templatehandler.java:409) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler$1.startelement(templatehandler.java:458) @ org.apache.xerces.parsers.abstractsaxparser.startelement(unknown source) @ org.apache.xerces.parsers.abstractxmldocumentparser.emptyelement(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl.scanstartelement(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl$fragmentcontentdispatcher.dispatch(unknown source) @ org.apache.xerces.impl.xmldocumentfragmentscannerimpl.scandocument(unknown source) @ org.apache.xerces.parsers.xml11configuration.parse(unknown source) @ org.apache.xerces.parsers.xml11configuration.parse(unknown source) @ org.apache.xerces.parsers.xmlparser.parse(unknown source) @ org.apache.xerces.parsers.abstractsaxparser.parse(unknown source) @ org.apache.xerces.jaxp.saxparserimpl$jaxpsaxparser.parse(unknown source) @ org.apache.xerces.jaxp.saxparserimpl.parse(unknown source) @ javax.xml.parsers.saxparser.parse(unknown source) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.processvariables(templatehandler.java:430) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatehandler.render(templatehandler.java:295) @ com.android.ide.eclipse.adt.internal.wizards.templates.newtemplatewizardstate.computechanges(newtemplatewizardstate.java:164) @ com.android.ide.eclipse.adt.internal.wizards.templates.templatepreviewpage.setvisible(templatepreviewpage.java:38) @ org.eclipse.jface.wizard.wizarddialog.updateforpage(wizarddialog.java:1259) @ org.eclipse.jface.wizard.wizarddialog.access$4(wizarddialog.java:1238) @ org.eclipse.jface.wizard.wizarddialog$8.run(wizarddialog.java:1227) @ org.eclipse.swt.custom.busyindicator.showwhile(busyindicator.java:70) @ org.eclipse.jface.wizard.wizarddialog.showpage(wizarddialog.java:1225) @ org.eclipse.jface.wizard.wizarddialog.nextpressed(wizarddialog.java:915) @ org.eclipse.jface.wizard.wizarddialog.buttonpressed(wizarddialog.java:428) @ org.eclipse.jface.dialogs.dialog$2.widgetselected(dialog.java:624) @ org.eclipse.swt.widgets.typedlistener.handleevent(typedlistener.java:248) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4169) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3758) @ org.eclipse.jface.window.window.runeventloop(window.java:825) @ org.eclipse.jface.window.window.open(window.java:801) @ org.eclipse.ui.internal.handlers.wizardhandler$new.executehandler(wizardhandler.java:259) @ org.eclipse.ui.internal.handlers.wizardhandler.execute(wizardhandler.java:279) @ org.eclipse.ui.internal.handlers.handlerproxy.execute(handlerproxy.java:290) @ org.eclipse.ui.internal.handlers.e4handlerproxy.execute(e4handlerproxy.java:76) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.e4.core.internal.di.methodrequestor.execute(methodrequestor.java:56) @ org.eclipse.e4.core.internal.di.injectorimpl.invokeusingclass(injectorimpl.java:231) @ org.eclipse.e4.core.internal.di.injectorimpl.invoke(injectorimpl.java:212) @ org.eclipse.e4.core.contexts.contextinjectionfactory.invoke(contextinjectionfactory.java:131) @ org.eclipse.e4.core.commands.internal.handlerserviceimpl.executehandler(handlerserviceimpl.java:171) @ org.eclipse.ui.internal.handlers.legacyhandlerservice.executecommand(legacyhandlerservice.java:515) @ org.eclipse.ui.internal.actions.commandaction.runwithevent(commandaction.java:157) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:584) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:501) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:411) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4169) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3758) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine$9.run(partrenderingengine.java:1053) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.e4.ui.internal.workbench.swt.partrenderingengine.run(partrenderingengine.java:942) @ org.eclipse.e4.ui.internal.workbench.e4workbench.createandrunui(e4workbench.java:86) @ org.eclipse.ui.internal.workbench$5.run(workbench.java:588) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:543) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:124) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:353) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:180) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:629) @ org.eclipse.equinox.launcher.main.basicrun(main.java:584) @ org.eclipse.equinox.launcher.main.run(main.java:1438) @ org.eclipse.equinox.launcher.main.main(main.java:1414)
how can solve this? session data showed in windows error this:
**
eclipse.buildid=v22.3.0-887826 java.version=1.7.0_51 java.vendor=oracle corporation bootloader constants: os=win32, arch=x86_64, ws=win32, nl=it_it
**
edit: have found when try create new android project doesn't create first mainactivity should create
i solved similar problem doing this:
"help" -> "install new software", put url https://dl-ssl.google.com/android/eclipse/ getting updates, reinstall new versions.
Comments
Post a Comment