我为干净的Android应用创建了Google App Engine
,例如show here:
Google App Engine Cloud Endpoints Pr@blem Marker - > Generate App Engine Error on clean Android Project
我添加了一个实体:
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;
}
}
并生成端点。
然后当我点击后端引擎应用程序right-click -> Google-> Generate Cloud Endpoint Library
我明白了:
但Eclipse中没有可见的错误:
答案 0 :(得分:0)
首先,您可以使用Window -> Show View -> Error Log
显示错误,Problems
标签不会记录错误。
至于端点生成 - 您使用的是Google Plugin for Eclipse 3.5.1和Google App Engine SDK 1.9.4吗?哪个意味着最新版本?如果是,there is a known bug。手动安装GAE 1.9.3,它应该工作。 Follow this instruction