【问题标题】:An error occured when Generate Cloud Endpoint Library on clean project在干净的项目上生成 Cloud Endpoint Library 时发生错误
【发布时间】:2014-05-11 16:47:31
【问题描述】:

我为一个干净的 Android 应用程序创建了Google App Engine,如下所示: 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 中没有可见的错误:

【问题讨论】:

    标签: android eclipse google-app-engine endpoint


    【解决方案1】:

    首先,您可以使用Window -> Show View -> Error Log 显示错误,Problems 选项卡不会记录它们。

    至于 Endpoint 生成 - 您是否使用 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.

    【讨论】:

      猜你喜欢
      • 2014-06-28
      • 2023-03-22
      • 1970-01-01
      • 2014-07-27
      • 2017-07-09
      • 2021-02-14
      • 1970-01-01
      • 2016-02-03
      • 1970-01-01
      相关资源
      最近更新 更多