I have created Google App Engine
for a clean Android Application like show here:
Google App Engine Cloud Endpoints Pr@blem Marker - > Generate App Engine Error on clean Android Project
I added an Entity:
package com.example.smbp1;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.jdo.annotations.PersistenceCapable;
@Entity
public class Product {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
int id;
String name;
double price;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
}
and generated endpoint to it.
Then when I click on a Backend engine application right-click -> Google-> Generate Cloud Endpoint Library
I get this:
but there are no errors visible in Eclipse: