2012-10-26 22 views
0

我试图从Eclipse Mac将一个Android项目带到PC。类没有发现PC上的应用程序子类的例外是不行的 - MAC是好的

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

这就是我指的是应用程序子类:(从文档)

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上有什么不同?

非常感谢

回答

0

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

相关问题