私はこれに対する解決策を見つけようとしましたが、私のn00bの目には正しく見えるので、完全に迷っています. 私は他の問題を探してみましたが、それらはすべて異なる答えを持っているようで、まったく役に立ちません。そして、これは私が動作させようとしているサンプル コードです。
このエラーが発生しています
09-30 17:22:26.467: E/AndroidRuntime(273): FATAL EXCEPTION: main
09-30 17:22:26.467: E/AndroidRuntime(273): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{test.test/test.test.test.splashScreen}: java.lang.ClassNotFoundException: test.test.test.splashScreen in loader dalvik.system.PathClassLoader[/data/app/test.test-1.apk]
これが私のマニフェストです
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="test.test" android:versionCode="1" android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".test.splashScreen" android:label="@string/app_name"
android:clearTaskOnLaunch="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".test.Game" android:screenOrientation="landscape" android:theme="@style/Theme.NoBackground"/>
<activity android:name=".test.test" />
<activity android:name=".test.TMXTiledMapExampleAStar" />
<activity android:name=".test.Options" />
<activity android:name=".test.MainMenu" />
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
そして、これがsplashScreenファイルの始まりです
package test.test.test;
public class splashScreen extends BaseGameActivity {