0

我正在尝试将一个 Android 项目从 Eclipse Mac 带到 PC。

虽然现在一切都终于编译了 - 我得到了应用程序子类的“类未找到错误”。

这就是我对应用程序子类的意思:(来自文档)

android:name
    The fully qualified name of an Application subclass implemented for the application. When the application process is started, this class is instantiated before any of the application's components.

    The subclass is optional; most applications won't need one. In the absence of a subclass, Android uses an instance of the base Application class. 

这是我的清单中的内容:

  <application
        android:name="com.xxx.MyClassToBeInstantiated"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        ...

PC上有什么不同吗?

非常感谢

4

1 回答 1

0

真的很奇怪 - 在 PC 上增加 Eclipse 的内存后,这个错误就消失了。由于内存限制,它可能只是没有正确编译。

于 2012-10-27T12:00:55.190 回答