在清洁项目上生成云端点库时发生错误

时间:2014-05-11 16:47:31

标签: android eclipse google-app-engine endpoint

我为干净的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

我明白了:

enter image description here

但Eclipse中没有可见的错误:

1 个答案:

答案 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