0

AndroidプロジェクトをEclipseMacから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 に答える