Failed to open Eclipse downloaded as an Android ADT package

Asked By 0 points N/A Posted on -
qa-featured

Hi experts,

I have a project that uses Jet tutorial but I am getting this weird error message When I try to open Eclipse downloaded as an Android ADT package.

I searched for the solution but I could not find enough results to fix this problem.

I need an expert’s advice to close this matter.

I would be grateful to you.

Thanks.

Building Workspace

Build problems

Errors during build.

Errors running builder “JET Builder” on project jetTutorial1. The ‘jet’ directive is missing in ‘hellworld.txtjet at line 1 column 1

 

SHARE
Answered By 15 points N/A #177228

Failed to open Eclipse downloaded as an Android ADT package

qa-featured

Hi Harry,
The error is because the template was empty.
The solution to it is as below:
1) Select 'Close' to close the error dialog
2) Open the 'helloworld.txtjet' file
3) Type '<%@ jet package="hello" class=HelloWorldTemplate" %>'
   Hello, world!
4) After typing it save the template file
5) The file will be automatically translated by the JET builder
6) The builder will create 'hello' package in the src folder
7) It will save the java file 'HelloWorldTemplate.java' in this package

Related Questions