2013-08-22, 11:10
  #1
Medlem
Hej!

Jag r nybrjare inom programmering och frsker nu gra en app enligt http://thenewboston.org/watch.php?cat=6&number=16 dr han r mycket tydlig med filmer och grejer.. Problemet r att jag inte kan ppna upp min applikation i avd manager.

Det str shr:
[2013-08-22 10:49:01 - TheNewBoston] Android Launch!
[2013-08-22 10:49:01 - TheNewBoston] adb is running normally.
[2013-08-22 10:49:01 - TheNewBoston] Performing com.thenewboston.jos.Splash activity launch
[2013-08-22 10:49:02 - TheNewBoston] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'droidX1'
[2013-08-22 10:49:04 - TheNewBoston] Application already deployed. No need to reinstall.
[2013-08-22 10:49:04 - TheNewBoston] Starting activity com.thenewboston.jos.Splash on device emulator-5554
[2013-08-22 10:49:06 - TheNewBoston] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.thenewboston.jos/.Splash }
[2013-08-22 10:49:06 - TheNewBoston] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-08-22 10:49:06 - TheNewBoston] ActivityManager: Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist.
[2013-08-22 10:49:09 - TheNewBoston] Starting activity com.thenewboston.jos.Splash on device emulator-5554
[2013-08-22 10:49:12 - TheNewBoston] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.thenewboston.jos/.Splash }
[2013-08-22 10:49:12 - TheNewBoston] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-08-22 10:49:15 - TheNewBoston] Starting activity com.thenewboston.jos.Splash on device emulator-5554
[2013-08-22 10:49:18 - TheNewBoston] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.thenewboston.jos/.Splash }
[2013-08-22 10:49:18 - TheNewBoston] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-08-22 10:49:18 - TheNewBoston] ActivityManager: Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist.
[2013-08-22 10:49:21 - TheNewBoston] Starting activity com.thenewboston.jos.Splash on device emulator-5554
[2013-08-22 10:49:23 - TheNewBoston] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.thenewboston.jos/.Splash }
[2013-08-22 10:49:23 - TheNewBoston] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2013-08-22 10:49:23 - TheNewBoston] ActivityManager: Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist.
[2013-08-22 10:49:26 - TheNewBoston] Starting activity com.thenewboston.jos.Splash on device emulator-5554
[2013-08-22 10:49:29 - TheNewBoston] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.thenewboston.jos/.Splash }
[2013-08-22 10:49:29 - TheNewBoston] ActivityManager: Error type 3
[2013-08-22 10:49:29 - TheNewBoston] ActivityManager: Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist.


Jag vet inte vad jag ska gra, har testat lnge och brjar bli frbannad nu. Snlla, hjlp!!!!!
Citera
2013-08-22, 11:37
  #2
Medlem
Antts avatar
"Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist."
Du saknar antagligen den hr aktiviteten i ditt Manifest. Om den kompilerar utan problem dvs.
Citera
2013-08-22, 12:52
  #3
Medlem
Citat:
"Error: Activity class {com.thenewboston.jos/com.thenewboston.jos.Splash} does not exist."
Du saknar antagligen den hr aktiviteten i ditt Manifest. Om den kompilerar utan problem dvs.

Nej jag har inte den dr, vart ska jag stta in den? Jag har gjort som han gjort p videon men han fick det att starta, inte jag.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.thenewboston.jos"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="$$" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".Splash"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name="com.thenewboston.jos.StartingPoint"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.thenewboston.jos.STARTINGPOINT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>

</manifest>
Citera

Skapa ett konto eller logga in för att kommentera

Du måste vara medlem för att kunna kommentera

Skapa ett konto

Det är enkelt att registrera ett nytt konto

Bli medlem

Logga in

Har du redan ett konto? Logga in här

Logga in