python - 安卓工作室 : IncorrectOperationException when 'Add as Library' is clicked whilst trying to configure Google Apps Endpoints client libraries

标签 python eclipse google-app-engine google-cloud-endpoints endpoints-proto-datastore

我正尝试按照本指南 https://developers.google.com/appengine/docs/python/endpoints/consume_android 为 Python 谷歌应用程序引擎项目生成和使用 android 客户端库。

每次我走到这一步

Select the library you just added, right-click, then select Add As Library to your project.

我得到以下异常:

IncorrectOperationException: Must not change document outside command or undo-transparent action.

我是 Android Studio 的新手,但似乎找不到任何关于如何让端点客户端库在 Eclipse 中工作的资源。有没有其他人遇到过这个问题?

最佳答案

这是 Android Studio 中的一个临时错误。不要使用“添加为库”选项(由于 https://code.google.com/p/android/issues/detail?id=66610 而无法使用),而是转到 File> Project Structure> Modules> your module> Dependencies> + 按钮,File dependency,然后从文件选择器中选择你的 jar .

关于python - 安卓工作室 : IncorrectOperationException when 'Add as Library' is clicked whilst trying to configure Google Apps Endpoints client libraries,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22259669/

相关文章:

java - 简单 JSP 网页上的 Tomcat 404 错误

java - 适用于 Google App Engine 的最佳 Java 文本索引库是什么?

python - Pyspark:如何读取谷歌存储桶中的 .csv 文件?

android - 从库类访问主项目类

python - 在python中添加分钟到时间戳

Eclipse 颠覆 : Exclude Directories

java - google appengine channel API (Java) 的问题

google-app-engine - 有什么方法可以从 App Engine 获取当前(或特定)请求的 pending_ms 值?

python - 使用 python 在有限定义区间上数值求解非线性方程组

python - 使用 Python 很难在 Selenium 中查找元素