- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
我已经使用 Eclipse Indigo 开发 Android 应用程序半年了,现在没有任何问题。然而,自从我前两天更新到最新版本的 Android SDK 后,事情就开始出错了。我不得不不断地手动执行 Project->Clean 以避免一直没有理由的不公平语法错误。更糟糕的是,我开始在使用导出向导签署最终 APK 时遇到很多麻烦。
所以我决定完全删除 eclipse 并重新安装最新版本 Juno 以及 Android SDK 和 Android ADT 插件。我的问题是现在我全新的 Eclipse 安装在安装 Android ADT 插件后没有显示任何 Android 选项。
每当我启动 Eclipse 时,我都会看到以下错误日志出现,但我不知道它是否相关:
!ENTRY org.eclipse.ui 2 2 2012-07-15 18:14:31.879
!MESSAGE Invalid property category path: ValidationPropertiesPage (bundle: org.eclipse.wst.xml.ui, propertyPage: org.eclipse.wst.xml.ui.propertyPage.project.validation)
!SESSION 2012-07-15 18:14:49.877 -----------------------------------------------
eclipse.buildId=I20120608-1400
java.version=1.5.0_30
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=es_ES
Framework arguments: -keyring /Users/XXX/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/XXX/.eclipse_keyring -showlocation
!ENTRY org.eclipse.core.net 1 0 2012-07-15 18:14:53.885
!MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
我的系统:
MacBookPro MacOS 10.5.8、Eclipse Classic Juno(最新版本)、Android SDK(最新版本)、Eclipse ADT 插件(从 eclipse 本身安装但没有结果)
编辑
如果我检查 Eclipse->About->Installation Details->Plug-ins 或 Eclipse->About->Installation Details->Features,没有 Android plug-in appers,它应该。但是出现在Eclipse->About->Installation Details-Installed Software和Eclipse->About->Installation Details->Installation History中。此外,如果我转到帮助->安装新软件->ADT 插件->开发人员工具,我会得到以下输出:
Cannot complete the request. See the error log for details.
"Tracer for OpenGL ES" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android DDMS" will be ignored because it is already installed.
如果我不能在Eclipse中删除插件,我怎么知道插件安装有什么问题???
最佳答案
终于解决了。
我看到最新版本的 Android SDK(20,那个让我抓狂)至少需要 MacOS v10.5.8 和 JVM v1.6。对我来说,这没有意义,因为 MacOS 的官方 JVM v1.6 更新包需要 v10.6,而不是 v10.5.8,所以我将整个操作系统更新到 10.6,最后一切正常:Eclipse Juno for Mobile Developers + JVM v1.6 + Eclipse ADT + Android SDK v20.
这很好奇,因为 Google 文档说以前版本的 Android SDK 也需要 JVM v1.6,但我用了几个月的 v1.5,一点问题都没有。
关于android - 我安装了 Eclipse ADT 没有任何错误信息,但是重启后,我看不到任何 Android 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11494117/
Google发布的ADT bundle 包的最终版本是什么? 由于宣布“Android Studio”为开发Android应用程序的正式IDE,因此ADT bundle 包(带有ADT插件和Andro
我在 Eclipse Indigo (3.7.2) 中更新我的 android ADT 插件时遇到了一个可怕的错误。请检查所附图片。 谢谢 最佳答案 遇到了类似的问题。这就是我修复它的方式。 1.从
我正在使用 ADT 包 22.3。这是我直接从 android.com 下载的完整离线压缩包。但现在他们已经将更新推送到 ADT bundle 22.6,所以在下载 ADT bundle 22.6 z
我用 C 语言创建了一个基于结构的抽象数据类型。在这个结构中,有指向同样基于结构的其他 ADT 的指针。我想知道如何/是否可以正确初始化内部指针并消除内存访问冲突错误。代码如下: typedef st
我想创建一棵树(使用 Node 或 ADT),其中每个节点都有一个指向其父节点的注释。下面是一个简单的链表数据结构的例子: import util::Math; import IO; import N
在 eclipse 上 - 尽管我使用的是最新的 adt 版本,但我还是收到了这个错误。我不确定它是否相关,但这发生在我安装 android-m sdk 之后。 最佳答案 从这里开始: https:/
我的应用程序运行良好。但是,一旦我从 ADT 16 更新到 ADT 17,就会收到此错误 Unable to resolve superclass of Lcom/my/app/MyActivity;
大家早上好 我是 SO 的新手,我问这个问题是因为我必须重新调整昨天的算法和编程考试。在 CodeBlocks 上输入我的考试时,我遇到了一个我无法修复的错误。基本上,考试要求从数据结构中的文件(格式
几乎没有人在 ADT 中成功导入 Apklib(aar) 引用。这是一个 issues ,但没有答案。在问题中,这是一个 solution有效但丑陋。 作为 ADT 的粉丝,我不想使用 Android
我遇到了从 安装 ADT 的问题 https://dl-ssl.google.com/android/eclipse/ 和 http://dl-ssl.google.com/android/eclip
在使用 Eclipse 开发时,尝试安装 hibernate、storm 和其他一些 ORM/DAO 生成器工具时,eclipse 停止正常工作。 我有两种错误:1 在构建它时说“运行 android
这个问题在这里已经有了答案: Update Eclipse with Android development tools v. 23 (43 个回答) 关闭8年前。 我从这个网站下载并安装了带有 an
我在创建 dynArray 并向其添加元素时遇到了问题。我不确定如何为它分配内存。我最近才开始提出建议,因此非常感谢您的帮助。 typedef struct{ doube *darray; i
假设我有一个 ADT 和类型类 Foo像这样: sealed trait A case class A1() extends A case class A2() extends A case clas
我正在使用 scala 驱动程序与 mongodb 进行 IO 操作。我的Scala版本是2.11.11 mongo db 驱动程序是 2.2.0 . 我以关于 ADT 的文档为例: sealed c
我正在尝试用 C++ 实现二叉搜索树(用于大学类(class)),但在访问我在 .h 文件中定义的结构时遇到了一些困难。 这是我的 .h 文件: class BST { protected:
我有两个空中应用程序并将它们安装在桌面上并执行它们,并且任务栏管理器中列出了两个空中进程。现在如何从另一个空中应用程序执行一个空中应用程序的某些方法? 最佳答案 使用LocalConnection .
我不是数学家,但我觉得存在一些逻辑问题。 让我们从 ADT 原语开始,例如“unit”类型。它应该在类型集的上下文中扮演“1”的角色。但事实上,我们看到“unit”类型在C、C++等中经常被称为“vo
在 C 中创建 ADT 时返回结构体指针的原因是什么?例如: typedef struct some_thing st_t; // system interface st_t* init_syste
更新到 ADT 22.3 后,出现此错误: [2013-11-09 17:56:27 - Dex Loader] Unable to execute dex: java.nio.BufferOverf
我是一名优秀的程序员,十分优秀!