Android Unfortunately, the process com.android.phone has stopped

SteveT

Mitglied
Hallo,

jedes Mal wenn ich meine App im Emulator öffnen will zeigt der Emulator an: "unfortunately the process com.android.phone has stopped"

Logcat:
[JAVA]
09-03 10:26:35.297: W/zipro(1220): Error opening archive /data/app/com.Steve.tak-1.apk: Invalid file
09-03 10:26:35.297: D/asset(1220): failed to open Zip archive '/data/app/com.Steve.tak-1.apk'
09-03 10:26:35.297: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-1.apk: Failed adding asset path: /data/app/com.Steve.tak-1.apk
09-03 10:26:35.297: W/zipro(1220): Error opening archive /data/app/com.Steve.tak-2.apk: Invalid file
09-03 10:26:35.297: D/asset(1220): failed to open Zip archive '/data/app/com.Steve.tak-2.apk'
09-03 10:26:35.297: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-2.apk: Failed adding asset path: /data/app/com.Steve.tak-2.apk
09-03 10:26:35.358: I/PackageManager(1220): /data/app/com.Steve.tak-4 changed; collecting certs
09-03 10:26:35.501: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-4: Application package com.Steve.tak already installed. Skipping duplicate.
09-03 10:26:35.535: I/PackageManager(1220): /data/app/com.Steve.tak-3 changed; collecting certs
09-03 10:26:35.736: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-3: Application package com.Steve.tak already installed. Skipping duplicate.
09-03 10:26:35.820: I/PackageManager(1220): /data/app/com.Steve.tak-5 changed; collecting certs
09-03 10:26:35.957: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-5: Application package com.Steve.tak already installed. Skipping duplicate.
09-03 10:26:35.974: I/PackageManager(1220): /data/app/com.Steve.tak-6 changed; collecting certs
09-03 10:26:36.133: W/PackageManager(1220): Failed to parse /data/app/com.Steve.tak-6: Application package com.Steve.tak already installed. Skipping duplicate.
09-03 10:26:39.605: W/PackageManager(1296): Failure retrieving resources for com.Steve.tak: Resource ID #0x0
09-03 10:26:45.048: D/PackageManager(1220): Renaming /data/app/vmdl200701327.tmp to /data/app/com.Steve.tak-1
09-03 10:26:45.050: I/ActivityManager(1220): Force stopping com.Steve.tak appid=10046 user=-1: uninstall pkg
09-03 10:26:45.129: I/PackageManager(1220): Package com.Steve.tak codePath changed from /data/app/com.Steve.tak-2 to /data/app/com.Steve.tak-1; Retaining data and using new
09-03 10:26:45.130: I/PackageManager(1220): Running dexopt on: /data/app/com.Steve.tak-1/base.apk pkg=com.Steve.tak isa=x86 vmSafeMode=false
09-03 10:26:45.214: I/dex2oat(1616): /system/bin/dex2oat --zip-fd=6 --zip-location=/data/app/com.Steve.tak-1/base.apk --oat-fd=7 --oat-location=/data/dalvik-cache/x86/data@app@com.Steve.tak-1@base.apk@classes.dex --instruction-set=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=10
09-03 10:26:49.842: W/PackageManager(1220): Code path for pkg : com.Steve.tak changing from /data/app/com.Steve.tak-2 to /data/app/com.Steve.tak-1
09-03 10:26:49.842: W/PackageManager(1220): Resource path for pkg : com.Steve.tak changing from /data/app/com.Steve.tak-2 to /data/app/com.Steve.tak-1
09-03 10:26:49.903: I/ActivityManager(1220): Force stopping com.Steve.tak appid=10046 user=-1: update pkg
09-03 10:26:50.167: I/ActivityManager(1220): Force stopping com.Steve.tak appid=10046 user=0: pkg removed
09-03 10:26:50.213: D/BackupManagerService(1220): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.Steve.tak flg=0x4000010 (has extras) }
09-03 10:26:50.243: D/BackupManagerService(1220): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.Steve.tak flg=0x4000010 (has extras) }
09-03 10:26:50.243: W/BackupManagerService(1220): Removing schedule queue dupe of com.Steve.tak
09-03 10:26:50.691: I/ActivityManager(1220): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.Steve.tak/.MainActivity} from uid 0 on display 0
09-03 10:26:50.696: V/WindowManager(1220): addAppToken: AppWindowToken{27269b token=Token{3c5d2aaa ActivityRecord{343d8995 u0 com.Steve.tak/.MainActivity t252}}} to stack=1 task=252 at 0
09-03 10:26:50.699: V/WindowManager(1220): Adding window Window{80c6502 u0 Starting com.Steve.tak} at 1 of 6 (after Window{268e68c2 u0 com.android.launcher/com.android.launcher2.Launcher})
09-03 10:26:50.738: I/ActivityManager(1220): Start proc 1693:com.Steve.tak/u0a46 for activity com.Steve.tak/.MainActivity
09-03 10:26:50.984: V/WindowManager(1220): Adding window Window{39097c u0 com.Steve.tak/com.Steve.tak.MainActivity} at 1 of 7 (before Window{80c6502 u0 Starting com.Steve.tak})
09-03 10:26:51.259: I/ActivityManager(1220): Displayed com.Steve.tak/.MainActivity: +553ms
[/JAVA]

Manifest:
[JAVA]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.Steve.tak"
android:versionCode="1"
android:versionName="1.0" >

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

<application
android:allowBackup="true"
android:icon="@drawable/axe"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
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=".Norden"
android:label="@string/app_name" >
<intent-filter>
<action android:name="com.Steve.tak.Norden" />

<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>

</manifest>

[/JAVA]

MainActivity:
[JAVA]
package com.Steve.tak;

import android.support.v7.app.ActionBarActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends ActionBarActivity{

Button norden;
Button sueden;
Button osten;
Button westen;
Button untersuchen;
TextView tv;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

initialize();

tv.setText("");

norden.setOnClickListener(onc);
sueden.setOnClickListener(onc);
osten.setOnClickListener(onc);
westen.setOnClickListener(onc);

}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle action bar item clicks here. The action bar will
// automatically handle clicks on the Home/Up button, so long
// as you specify a parent activity in AndroidManifest.xml.
int id = item.getItemId();
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
}

private void initialize() {
// TODO Auto-generated method stub
norden = (Button)findViewById(R.id.norden);
sueden = (Button)findViewById(R.id.sueden);
osten = (Button)findViewById(R.id.osten);
westen = (Button)findViewById(R.id.westen);

tv = (TextView)findViewById(R.id.tv);
}

OnClickListener onc = new OnClickListener() {

@Override
public void onClick(View v) {
// TODO Auto-generated method stub
switch(v.getId()){
case R.id.norden:
Intent i = new Intent("com.Steve.tak.Norden");
startActivityForResult(i, 0);
break;
}
}
};
}
[/JAVA]

Danke für die Hilfe!
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
L Unfortunately, <Name> has stopped. Android & Cross-Platform Mobile Apps 6
BossLama Android Android Auto mit Linux Android & Cross-Platform Mobile Apps 1
A Was übersehe ich bei der Einrichtung eines neuen Android-Studios Android & Cross-Platform Mobile Apps 56
W Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.inter Android & Cross-Platform Mobile Apps 18
S Android API 35+ Status/Navigation bar color/height from Java Android & Cross-Platform Mobile Apps 0
D Android Android Studio plus Gradle 7.5 bauen anders die apk Android & Cross-Platform Mobile Apps 0
J Benachrichtigung Freigabe ab Android 14 Android & Cross-Platform Mobile Apps 1
J Android Benachrichtigung zum Zeitpunkt ers Android & Cross-Platform Mobile Apps 15
J Das Beispiel von Android erzeugt Fehler Android & Cross-Platform Mobile Apps 8
J Zeitdifferenzen unter Android 7 (API < 26) berechnen Android & Cross-Platform Mobile Apps 4
W Netzwerk Verbindungen Java Android Android & Cross-Platform Mobile Apps 107
Z Android IntelliJ Android & Cross-Platform Mobile Apps 2
M Repository bei Room-Database in Android Studio (Java) Android & Cross-Platform Mobile Apps 2
Android App auf das eigene Handy bekommen Android & Cross-Platform Mobile Apps 3
Alex IV Android App erstellen Android & Cross-Platform Mobile Apps 3
OnDemand CrossPlatform Kotlin iOs/Android Datenverbrauch Android & Cross-Platform Mobile Apps 2
W In Android Studio Integer an andere activities übergeben Android & Cross-Platform Mobile Apps 2
wladp Android Studio Room Database Android & Cross-Platform Mobile Apps 1
N "Schöne" Datatable in Android und setzen von Parametern von Textview im Code Android & Cross-Platform Mobile Apps 5
N Android game programmieren Android & Cross-Platform Mobile Apps 5
T Android Studio: Einen Button in einer For Schleife verwenden Android & Cross-Platform Mobile Apps 2
K BLE Komunikation mit Android studio und esp32 Android & Cross-Platform Mobile Apps 5
G Android UDP Kommunikation Android & Cross-Platform Mobile Apps 1
M Paper DB wird in Android Studio nicht erkannt Android & Cross-Platform Mobile Apps 7
J Android zugrif auf Thread nach Handy drehen. Android & Cross-Platform Mobile Apps 10
T Android Android Augmented Faces in Java. Neue Landmarks erstellen Android & Cross-Platform Mobile Apps 1
K Android Android In-App-Purchase lädt nicht Android & Cross-Platform Mobile Apps 0
Besset Android http request an interne ip adresse funktioniert nicht Android & Cross-Platform Mobile Apps 8
J Is Android Development Head First Outdated? Android & Cross-Platform Mobile Apps 3
J Android Android Datenbankverbindung zum Raspberry Pi Android & Cross-Platform Mobile Apps 1
lolcore Android Studio -Download Documentation for Android SDK Android & Cross-Platform Mobile Apps 0
S Sinnvollste weg eine SQLite DB mit Android auslesen Android & Cross-Platform Mobile Apps 7
W Problem mit Android Studio Android & Cross-Platform Mobile Apps 0
W App Abo Android Android & Cross-Platform Mobile Apps 10
OSchriever Android Android MediaPlayer bei Anruf stoppen/pausieren Android & Cross-Platform Mobile Apps 2
OSchriever Auf onClick-Listener reagieren und Parameter übergeben (Android Studio) Android & Cross-Platform Mobile Apps 4
W removeNetwork Android App mit Spendenaktion fürs Tierheim! Android & Cross-Platform Mobile Apps 1
T Android R.string.test+i Problem Android & Cross-Platform Mobile Apps 2
P undefinierbarer Fehler Android Android & Cross-Platform Mobile Apps 8
T Android ArrayList sortieren mit 2 Werten ohne thencomparing , Wie? Android & Cross-Platform Mobile Apps 10
W Variable überschreiben (Android Studio) Android & Cross-Platform Mobile Apps 2
ruutaiokwu Android Selbst entwickelter SMTP-Client läuft auf PC, nicht aber auf Android Android & Cross-Platform Mobile Apps 9
ruutaiokwu Android Warum muss man bei Android Studio immer 2x auf "Run" klicken damit die App auf dem Gerät startet Android & Cross-Platform Mobile Apps 8
ruutaiokwu Android Wo das 'android.useAndroidX' property hinzufügen? Android & Cross-Platform Mobile Apps 8
ruutaiokwu Android In einem Android-“Spinner”-Element GLEICHZEITIG Bild (links) UND Text (rechts) anzeigen Android & Cross-Platform Mobile Apps 0
P Login und Registrierung Android Anzeige Android & Cross-Platform Mobile Apps 7
S Von JavaFx zu Android Android & Cross-Platform Mobile Apps 12
K Android to Pi | Websocket Problem Android & Cross-Platform Mobile Apps 3
ruutaiokwu Wie fügt man bei Android Studio .jar-Libraries zu einem Android-Java-Projekt hinzu? Android & Cross-Platform Mobile Apps 33
M Komponenten positionieren in Android Studio 3.6.3 Android & Cross-Platform Mobile Apps 1
M Android Studio - Property-Fenster einblenden Android & Cross-Platform Mobile Apps 1
M Android Studio - App auf dem Smartphone testen Android & Cross-Platform Mobile Apps 7
M Barrierefreie Appentwicklung für Android - Suche Codebeispiele Android & Cross-Platform Mobile Apps 8
M Android Studio - Configuration fehlt Android & Cross-Platform Mobile Apps 20
M Wo kann ich das Android SDK herunterladen / wie kann ich es installieren Android & Cross-Platform Mobile Apps 3
M Unsupported class file major version 57 - Fehlermeldung bei Android Studio Android & Cross-Platform Mobile Apps 27
ruutaiokwu Android Studio (SDK) ANDROID_SDK_ROOT-Variable? Android & Cross-Platform Mobile Apps 5
O Web API in Android (JAVA) einbinden Android & Cross-Platform Mobile Apps 3
J Android Studio macht seltsame Sachen Android & Cross-Platform Mobile Apps 2
J Android 9.1 aber android Studio findet API22 Android & Cross-Platform Mobile Apps 0
Dimax Web-Seite in native app convertieren mit Android Studio Android & Cross-Platform Mobile Apps 8
A Android Studio: while-Schleife beginnt nicht Android & Cross-Platform Mobile Apps 5
lolcore android studio: fehler bei laden des emulators Android & Cross-Platform Mobile Apps 10
J Android App - Browser öffnen und Text eingeben/Button click auslösen Android & Cross-Platform Mobile Apps 10
A Android-Studio: 2. Layout nach kurzer Zeit aufzeigen Android & Cross-Platform Mobile Apps 2
A jpg wird im Android Studio nicht akzeptiert Android & Cross-Platform Mobile Apps 3
J Android Studio - ArrayList - Selected Item ermitteln Android & Cross-Platform Mobile Apps 13
T Android SDK-Manager startet nicht in Eclipse Android & Cross-Platform Mobile Apps 5
T Bringen mir die Java-Basics irgendetwas für die Android-Programmierung Android & Cross-Platform Mobile Apps 4
J Was soll das bedeuten ? does not require android.permission.BIND_JOB_SERVICE permission Android & Cross-Platform Mobile Apps 7
A Android Studio: ImageView verpixelt Android & Cross-Platform Mobile Apps 2
J intend Service im Android Studio Android & Cross-Platform Mobile Apps 4
L Android Android Development eventuell mit Flutter Android & Cross-Platform Mobile Apps 1
S Android Layout - welchen Typ? Android & Cross-Platform Mobile Apps 3
T Fehler Android Studio: java.net.MalformedURLException: no protocol: http%3A%2F%2Fwww.mal ..... Android & Cross-Platform Mobile Apps 2
Arif Android Android Studio: Fehler beim Einbinden fremder Bibliothek? Android & Cross-Platform Mobile Apps 2
L Android Android Contacts DB auslesen Android & Cross-Platform Mobile Apps 1
A Android Studio - App mit Nearby Android & Cross-Platform Mobile Apps 1
L Android content URI Datei einlesen Android & Cross-Platform Mobile Apps 9
N Android Game Background Service Android & Cross-Platform Mobile Apps 11
Jackii Android Android Studio Error im Testlauf ohne zu programmieren Android & Cross-Platform Mobile Apps 9
B Android Probleme mit Android Studio Android & Cross-Platform Mobile Apps 6
Excess Android Service läuft nicht in Sandby weiter Android & Cross-Platform Mobile Apps 2
B Android Projekt für Android und IOS erstellen? Android & Cross-Platform Mobile Apps 5
J App funktioniert auf Android 5, auf 6 nicht Android & Cross-Platform Mobile Apps 2
J Android Snake Android & Cross-Platform Mobile Apps 15
J Android TaschenRechner Android & Cross-Platform Mobile Apps 22
I Das Problem mit der Tastatur... android:windowSoftInputMode="adjustPan" Android & Cross-Platform Mobile Apps 1
E Wie erhalte ich Zugriff auf das Microfon? (Android Studio) Android & Cross-Platform Mobile Apps 9
C Android Programmierung speziell oder einfach Java Buch kaufen? Android & Cross-Platform Mobile Apps 3
B Android Kein Zugriff auf Telefonspeicher (Android 6) Android & Cross-Platform Mobile Apps 1
T Android Equalizer für Android Android & Cross-Platform Mobile Apps 3
L Android Android Studio - Exportierte APK funktioniert nicht Android & Cross-Platform Mobile Apps 6
L Android Methode funktioniert nicht unter Android Android & Cross-Platform Mobile Apps 3
A Beginnen mit Serverkommunikatsion in Android Studio Android & Cross-Platform Mobile Apps 6
E Android Studio Android & Cross-Platform Mobile Apps 15
L Android Android Studio Setup killt Explorer Android & Cross-Platform Mobile Apps 3
K Android Videos rendern Android & Cross-Platform Mobile Apps 1
J Variable in strings.xml (Android Studio) Android & Cross-Platform Mobile Apps 0
B Android Android Studio lässt PC abstürzen Android & Cross-Platform Mobile Apps 3

Ähnliche Java Themen


Oben