Login Sample musste leider beendet werden. Unbekannter Fehler!?

  • 6 Antworten
  • Neuester Beitrag
Diskutiere Login Sample musste leider beendet werden. Unbekannter Fehler!? im Android App Entwicklung im Bereich Betriebssysteme & Apps.
Killerjo96

Killerjo96

Ambitioniertes Mitglied
Hallo,

ich bin relativ neu in der App Entwicklung aber kenne mich gut mit der Syntax usw. aus. Allerdings bekomme ich immer einen Fehler beim ausführen der Applikation auf meinem Handy. Es geht sich um eine Applikation, welche eine Webseite in einen String 'macht' und ich diesen z.B. mit nem Toast aufrufen kann. Allerdings beendet sich das Programm immer und ich weiß nicht warum, könnte jemand einfach mal über meinen Source drüber gucken? Das wäre echt nett.

File-Upload.net - Login-Sample.rar

Danke im Voraus

Lg Johannes

Edit: Ich habe die AOKP ICS 4.0.4 auf meinem Galaxy S aber eigentlich kanns daran nicht liegen weil meine Rechner App fehlerfrei funktioniert. Wobei ich nicht weiß ob es vielleicht mit den Imports zusammenhängen kann. Ihr seid aktuell die Profis. Danke ;)
 
TheDarkRose

TheDarkRose

Dauergast
Schau dir zuerst mal die Ausgabe von logcat an.
 
Killerjo96

Killerjo96

Ambitioniertes Mitglied
Wie funktioniert dieses Logcat kann man das irgendwo aktivieren? Ich hab keine Ahnung davon. Sorry :(
 
DieGoldeneMitte

DieGoldeneMitte

Dauergast
In Eclipse Menu > Window > Show View > LogCat und du bekommst das LogCat des Emulators/angeschlossenen Androiden als Fenster.

oder auf dem Gerät: CatLog installieren
 
Killerjo96

Killerjo96

Ambitioniertes Mitglied
Okey also das hat er ungefähr ausgespuckt. Ich versteh nur Bahnhof :(

08-24 20:55:29.484: D/AndroidRuntime(20065): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
08-24 20:55:29.484: D/AndroidRuntime(20065): CheckJNI is OFF
08-24 20:55:29.941: D/AndroidRuntime(20065): Calling main entry com.android.commands.pm.Pm
08-24 20:55:29.961: I/ActivityManager(226): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=20074 uid=10046 gids={1015, 2001}
08-24 20:55:29.992: D/dalvikvm(137): GC_EXPLICIT freed 37K, 22% free 2197K/2816K, paused 3ms+2ms
08-24 20:55:30.000: D/dalvikvm(20074): Debugger has detached; object registry had 1 entries
08-24 20:55:30.039: D/dalvikvm(137): GC_EXPLICIT freed <1K, 22% free 2197K/2816K, paused 10ms+2ms
08-24 20:55:30.070: D/dalvikvm(137): GC_EXPLICIT freed <1K, 22% free 2197K/2816K, paused 2ms+2ms
08-24 20:55:30.078: W/ActivityManager(226): No content provider found for permission revoke: file:///data/local/tmp/Login Sample.apk
08-24 20:55:30.082: W/ActivityManager(226): No content provider found for permission revoke: file:///data/local/tmp/Login Sample.apk
08-24 20:55:30.160: I/PackageManager(226): Removing non-system package:com.example.login.sample
08-24 20:55:30.160: I/ActivityManager(226): Force stopping package com.example.login.sample uid=10073
08-24 20:55:30.500: I/PackageManager(226): Running dexopt on: com.example.login.sample
08-24 20:55:30.500: I/PackageManager(226): Package com.example.login.sample codePath changed from /data/app/com.example.login.sample-2.apk to /data/app/com.example.login.sample-1.apk; Retaining data and using new
08-24 20:55:30.812: D/dalvikvm(20089): DexOpt: load 39ms, verify+opt 198ms
08-24 20:55:31.211: I/ActivityManager(226): Force stopping package com.example.login.sample uid=10073
08-24 20:55:31.214: W/PackageManager(226): Code path for pkg : com.example.login.sample changing from /data/app/com.example.login.sample-2.apk to /data/app/com.example.login.sample-1.apk
08-24 20:55:31.214: W/PackageManager(226): Resource path for pkg : com.example.login.sample changing from /data/app/com.example.login.sample-2.apk to /data/app/com.example.login.sample-1.apk
08-24 20:55:31.660: D/PackageManager(226): New package installed in /data/app/com.example.login.sample-1.apk
08-24 20:55:31.843: I/ActivityManager(226): Force stopping package com.example.login.sample uid=10073
08-24 20:55:31.902: D/dalvikvm(19000): GC_EXPLICIT freed 286K, 24% free 4704K/6147K, paused 2ms+4ms
08-24 20:55:31.925: D/dalvikvm(19891): GC_EXPLICIT freed 300K, 23% free 2544K/3267K, paused 2ms+4ms
08-24 20:55:32.019: D/PackageManager(226): generateServicesMap(android.accounts.AccountAuthenticator): 5 services unchanged
08-24 20:55:32.101: D/PackageManager(226): generateServicesMap(android.content.SyncAdapter): 11 services unchanged
08-24 20:55:32.101: D/BackupManagerService(226): Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.example.login.sample flg=0x10000010 (has extras) }
08-24 20:55:32.136: I/ActivityManager(226): Start proc com.android.voicedialer for broadcast com.android.voicedialer/.VoiceDialerReceiver: pid=20090 uid=10015 gids={3002}
08-24 20:55:32.140: D/PackageManager(226): generateServicesMap(android.accounts.AccountAuthenticator): 5 services unchanged
08-24 20:55:32.144: D/PackageManager(226): generateServicesMap(android.content.SyncAdapter): 11 services unchanged
08-24 20:55:32.312: D/BackupManagerService(226): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.example.login.sample flg=0x10000010 (has extras) }
08-24 20:55:32.312: V/BackupManagerService(226): updatePackageParticipantsLocked: #1
08-24 20:55:32.546: I/ActivityManager(226): Start proc com.tmobile.thememanager for broadcast com.tmobile.thememanager/.receiver.ThemePackageReceiver: pid=20103 uid=1300 gids={-1}
08-24 20:55:32.621: D/BackupManagerService(226): Received broadcast Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:com.example.login.sample flg=0x10000010 (has extras) }
08-24 20:55:32.621: V/BackupManagerService(226): updatePackageParticipantsLocked: #1
08-24 20:55:32.722: I/ActivityThread(20103): Pub com.tmobile.thememanager.themes: com.tmobile.thememanager.provider.ThemesProvider
08-24 20:55:32.734: I/ActivityThread(20103): Pub com.tmobile.thememanager.packageresources: com.tmobile.thememanager.provider.PackageResourcesProvider
08-24 20:55:32.765: I/ActivityManager(226): Start proc com.android.musicfx for broadcast com.android.musicfx/.Compatibility$Receiver: pid=20116 uid=10031 gids={3003, 3002}
08-24 20:55:33.004: I/ActivityManager(226): Start proc com.google.android.gallery3d for broadcast com.google.android.gallery3d/com.android.gallery3d.app.PackagesMonitor: pid=20129 uid=10037 gids={3003, 1015}
08-24 20:55:33.070: I/ActivityThread(20129): Pub com.google.android.gallery3d.GooglePhotoProvider: com.google.android.picasasync.PicasaContentProvider
08-24 20:55:33.183: D/dalvikvm(20129): GC_CONCURRENT freed 405K, 26% free 2296K/3075K, paused 2ms+15ms
08-24 20:55:33.261: I/ActivityThread(20129): Pub com.google.android.gallery3d.provider: com.android.gallery3d.provider.GalleryProvider
08-24 20:55:33.308: D/dalvikvm(20129): GC_CONCURRENT freed 402K, 26% free 2344K/3139K, paused 1ms+2ms
08-24 20:55:33.371: D/UploadsManager(20129): load newPhotoTracker: null
08-24 20:55:33.371: D/UploadsManager(20129): load all accounts: null
08-24 20:55:33.375: D/UploadsManager(20129): load all account-album pairs: null
08-24 20:55:33.375: V/PicasaContentProvider(20129): querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
08-24 20:55:33.382: D/UploadsManager(20129): settings not changed
08-24 20:55:33.410: I/ActivityManager(226): Start proc com.android.keychain for broadcast com.android.keychain/.KeyChainBroadcastReceiver: pid=20147 uid=1000 gids={1015, 3002, 3001, 3003, 1006, 3007}
08-24 20:55:33.437: D/dalvikvm(20147): Debugger has detached; object registry had 1 entries
08-24 20:55:33.531: I/ActivityManager(226): Start proc com.noshufou.android.su for broadcast com.noshufou.android.su/.UninstallReceiver: pid=20161 uid=10021 gids={3003, 1015}
08-24 20:55:33.546: I/dalvikvm(20161): Turning on JNI app bug workarounds for target SDK version 11...
08-24 20:55:33.550: D/PicasaSync(20129): sync account database
08-24 20:55:33.640: I/ActivityThread(20161): Pub com.noshufou.android.su.provider: com.noshufou.android.su.provider.PermissionsProvider
08-24 20:55:33.687: D/dalvikvm(226): GC_EXPLICIT freed 1559K, 36% free 15717K/24451K, paused 21ms+13ms
08-24 20:55:33.785: I/ActivityManager(226): Start proc com.android.vending for broadcast com.android.vending/com.google.android.finsky.receivers.PackageMonitorReceiver$RegisteredReceiver: pid=20174 uid=10004 gids={3003, 1015}
08-24 20:55:33.789: D/AndroidRuntime(20065): Shutting down VM
08-24 20:55:33.796: D/dalvikvm(20065): GC_CONCURRENT freed 101K, 83% free 459K/2560K, paused 1ms+1ms
08-24 20:55:33.796: D/dalvikvm(20065): Debugger has detached; object registry had 1 entries
08-24 20:55:33.800: I/AndroidRuntime(20065): NOTE: attach of thread 'Binder Thread #3' failed
08-24 20:55:33.968: D/PicasaSync(20129): accounts in DB=1
08-24 20:55:33.972: V/PicasaContentProvider(20129): querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
08-24 20:55:33.976: D/PicasaSyncManager(20129): active network: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true
08-24 20:55:33.976: D/PicasaSyncManager(20129): background data: true
08-24 20:55:33.992: I/ThemeManager(20103): VerifyInstalledThemesThread took 658 ms.
08-24 20:55:34.070: D/PicasaSyncManager(20129): battery info: true
08-24 20:55:34.132: I/ActivityThread(20174): Pub com.google.android.finsky.QSBSuggestionsProvider2: com.google.android.finsky.providers.QSBSuggestionsProvider
08-24 20:55:34.132: I/ActivityThread(20174): Pub com.google.android.finsky.AppIconProvider: com.google.android.finsky.providers.AppIconProvider
08-24 20:55:34.140: I/ActivityThread(20174): Pub com.google.android.finsky.RecentSuggestionsProvider: com.google.android.finsky.providers.RecentSuggestionsProvider
08-24 20:55:34.226: D/dalvikvm(20174): GC_CONCURRENT freed 168K, 20% free 2489K/3075K, paused 1ms+1ms
08-24 20:55:34.390: D/AndroidRuntime(20193): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
08-24 20:55:34.394: D/AndroidRuntime(20193): CheckJNI is OFF
08-24 20:55:34.441: D/dalvikvm(20174): DexOpt: couldn't find field Landroid/app/Notification;.priority
08-24 20:55:34.445: W/dalvikvm(20174): VFY: unable to resolve instance field 53
08-24 20:55:34.445: D/dalvikvm(20174): VFY: replacing opcode 0x59 at 0x004a
08-24 20:55:34.500: D/Finsky(20174): [1] DailyHygiene.goMakeHygieneIfDirty: No need to run daily hygiene.
08-24 20:55:34.570: D/dalvikvm(20174): GC_CONCURRENT freed 364K, 22% free 2654K/3395K, paused 2ms+3ms
08-24 20:55:34.847: I/ActivityManager(226): Start proc com.ramdroid.appquarantinepro for broadcast com.ramdroid.appquarantinepro/com.ramdroid.aqlib.PackageChangedReceiver: pid=20211 uid=10060 gids={1015}
08-24 20:55:35.152: D/PackageChangedReceiver(20211): Action: android.intent.action.PACKAGE_REMOVED package: com.example.login.sample
08-24 20:55:35.195: I/ActivityManager(226): Start proc com.google.android.partnersetup for broadcast com.google.android.partnersetup/.RlzPingBroadcastReceiver: pid=20231 uid=10011 gids={3003}
08-24 20:55:35.199: D/AndroidRuntime(20193): Calling main entry com.android.commands.am.Am
08-24 20:55:35.211: I/ActivityManager(226): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.login.sample/.Main} from pid 20193
08-24 20:55:35.281: D/AndroidRuntime(20193): Shutting down VM
08-24 20:55:35.285: D/dalvikvm(20244): Late-enabling CheckJNI
08-24 20:55:35.296: D/dalvikvm(20193): GC_CONCURRENT freed 102K, 81% free 489K/2560K, paused 1ms+3ms
08-24 20:55:35.300: I/ActivityManager(226): Start proc com.example.login.sample for activity com.example.login.sample/.Main: pid=20244 uid=10073 gids={3003}
08-24 20:55:35.308: D/dalvikvm(20193): Debugger has detached; object registry had 1 entries
08-24 20:55:35.312: I/AndroidRuntime(20193): NOTE: attach of thread 'Binder Thread #3' failed
08-24 20:55:35.433: I/ActivityThread(20231): Pub com.google.android.partnersetup.rlzprovider: com.google.android.partnersetup.RlzProvider
08-24 20:55:35.445: I/ActivityThread(20231): Pub com.google.android.partnersetup.rlzappprovider: com.google.android.partnersetup.RlzAppProvider
08-24 20:55:35.476: D/OpenGLRenderer(19000): Flushing caches (mode 1)
08-24 20:55:35.484: I/ActivityManager(226): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=20260 uid=10025 gids={1015}
08-24 20:55:35.609: D/dalvikvm(137): GC_EXPLICIT freed 37K, 22% free 2197K/2816K, paused 10ms+2ms
08-24 20:55:35.656: I/ActivityThread(20260): Pub com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider
08-24 20:55:35.750: D/dalvikvm(137): GC_EXPLICIT freed <1K, 22% free 2197K/2816K, paused 6ms+21ms
08-24 20:55:35.773: D/dalvikvm(20244): GC_FOR_ALLOC freed 65K, 21% free 2244K/2816K, paused 67ms
08-24 20:55:35.777: D/dalvikvm(20129): GC_CONCURRENT freed 442K, 26% free 2450K/3267K, paused 2ms+22ms
08-24 20:55:35.789: I/dalvikvm-heap(20244): Grow heap (frag case) to 3.555MB for 1048592-byte allocation
08-24 20:55:35.882: D/dalvikvm(137): GC_EXPLICIT freed <1K, 22% free 2197K/2816K, paused 2ms+22ms
08-24 20:55:35.886: D/dalvikvm(20244): GC_CONCURRENT freed 1K, 17% free 3267K/3907K, paused 2ms+8ms
08-24 20:55:35.910: D/PackageChangedReceiver(20211): Action: android.intent.action.PACKAGE_ADDED package: com.example.login.sample
08-24 20:55:35.972: D/PackageChangedReceiver(20211): Action: android.intent.action.PACKAGE_REPLACED package: com.example.login.sample
08-24 20:55:35.980: D/PackageChangedService(20211): com.example.login.sample
08-24 20:55:36.035: I/ActivityManager(226): Start proc com.shazam.android for broadcast com.shazam.android/com.shazam.upgrade.AppUpgradeReceiver: pid=20275 uid=10072 gids={3003, 1015}
08-24 20:55:36.039: I/Process(226): Sending signal. PID: 20244 SIG: 3
08-24 20:55:36.039: I/dalvikvm(20244): threadid=3: reacting to signal 3
08-24 20:55:36.062: I/dalvikvm(20275): Turning on JNI app bug workarounds for target SDK version 8...
08-24 20:55:36.148: D/dalvikvm(20174): GC_CONCURRENT freed 426K, 24% free 2686K/3523K, paused 52ms+5ms
08-24 20:55:36.160: D/OpenGLRenderer(19000): Flushing caches (mode 0)
08-24 20:55:36.171: I/dalvikvm(20244): Wrote stack traces to '/data/anr/traces.txt'
08-24 20:55:36.254: D/libEGL(20244): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
08-24 20:55:36.285: D/libEGL(20244): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
08-24 20:55:36.289: D/libEGL(20244): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
08-24 20:55:36.394: D/OpenGLRenderer(20244): Enabling debug mode 0
08-24 20:55:36.484: I/ActivityManager(226): Displayed com.example.login.sample/.Main: +1s210ms
08-24 20:55:36.644: W/ICU(20275): Missing ICU latn symbols system value: U_MISSING_RESOURCE_ERROR
08-24 20:55:36.644: I/ActivityThread(20275): Pub com.shazam.library.providers.freeimporttagscontentprovider: com.shazam.library.providers.ImportTagsFreeContentProvider
08-24 20:55:36.671: I/ActivityThread(20275): Pub freeRemoteImageProvider: com.shazam.remoteimage.RemoteImageProvider
08-24 20:55:36.671: I/ActivityThread(20275): Pub com.shazam.android.AdMarvelCachedImageLocalFileContentProvider: com.admarvel.admarvelcachedadsadapter.service.AdMarvelCachedImageLocalFileContentProvider
08-24 20:55:36.687: I/ActivityThread(20275): Pub freeGuaranteedHttpProvider: com.shazam.android.networking.GuaranteedHttpProvider
08-24 20:55:36.691: I/ActivityThread(20275): Pub shazamLibraryFree: com.shazam.library.LibraryDAO
08-24 20:55:36.754: I/ActivityThread(20275): Pub com.shazam.android.AdMarvelLocalFileContentProvider: com.admarvel.android.ads.AdMarvelLocalFileContentProvider
08-24 20:55:36.820: D/dalvikvm(20275): GC_CONCURRENT freed 143K, 18% free 2550K/3075K, paused 1ms+2ms
08-24 20:55:36.945: I/Crittercism(20275): Crittercism Initialized.
08-24 20:55:37.035: D/dalvikvm(20275): GC_CONCURRENT freed 300K, 22% free 2673K/3395K, paused 2ms+2ms
08-24 20:55:37.261: D/dalvikvm(226): GC_EXPLICIT freed 3145K, 42% free 14312K/24451K, paused 3ms+31ms
08-24 20:55:37.332: D/dalvikvm(20275): GC_CONCURRENT freed 389K, 22% free 2824K/3587K, paused 2ms+2ms
08-24 20:55:37.421: D/dalvikvm(20275): GC_CONCURRENT freed 498K, 24% free 2843K/3715K, paused 2ms+3ms
08-24 20:55:37.570: D/dalvikvm(20275): GC_CONCURRENT freed 506K, 24% free 2899K/3779K, paused 1ms+3ms
08-24 20:55:37.660: I/c(20275): Channel:
08-24 20:55:37.668: I/LicenseChecker(20275): Binding to licensing service.
08-24 20:55:37.668: W/ActivityManager(226): Permission Denial: Accessing service ComponentInfo{com.android.vending/com.google.android.finsky.services.LicensingService} from pid=20275, uid=10072 requires com.android.vending.CHECK_LICENSE
08-24 20:55:37.695: I/AppUpgradeReceiver(20275): Notified of app replace. package:com.example.login.sample#Intent;action=android.intent.action.PACKAGE_REPLACED;launchFlags=0x10000010;component=com.shazam.android/com.shazam.upgrade.AppUpgradeReceiver;B.android.intent.extra.REPLACING=true;i.android.intent.extra.UID=10073;end
08-24 20:55:37.718: I/ActivityManager(226): Start proc com.google.android.googlequicksearchbox for broadcast com.google.android.googlequicksearchbox/.SourceUpdateReceiver: pid=20296 uid=10010 gids={3003}
08-24 20:55:37.718: I/ActivityManager(226): No longer want android.process.media (pid 19020): hidden #16
08-24 20:55:37.738: D/dalvikvm(20296): Debugger has detached; object registry had 1 entries
08-24 20:55:37.816: D/dalvikvm(20275): GC_CONCURRENT freed 453K, 23% free 2911K/3779K, paused 2ms+3ms
08-24 20:55:37.828: I/ActivityThread(20296): Pub com.google.android.googlequicksearchbox.shortcuts: com.google.android.googlequicksearchbox.WebHistoryProvider
08-24 20:55:37.832: I/ActivityThread(20296): Pub com.google.android.googlequicksearchbox.google: com.google.android.googlequicksearchbox.google.GoogleSuggestionProvider
08-24 20:55:37.847: I/ActivityManager(226): No longer want com.greatbytes.fastrebootpro (pid 18856): hidden #16
08-24 20:55:37.968: W/ActivityManager(226): Scheduling restart of crashed service com.greatbytes.fastrebootpro/.OnOffService in 5000ms
08-24 20:55:37.992: E/admarvelservice(20275): postString: &site_id=14488&partner_id=ef8a30b841b36346&timeout=5000&version=1.5&language=java&format=android&sdk_version=2.3.2.3&sdk_version_date=2012-04-17&device_model=GT-I9000&device_name=IML74K&get_cached_ads=true&device_systemversion=4.0.4&resolution_width=480&max_image_width=480&resolution_height=800&max_image_height=800&device_os=Android&target_params=appv%3D%3ES%7C%7CGEOLOCATION%3D%3E50.5921187%252C6.6590412%7C%7Cco%3D%3EDE%7C%7Cscreenorient%3D%3Ep%7C%7Cappvn%3D%3E3.9.4%7C%7Cosv%3D%3E4.0.4%7C%7Cla%3D%3Ede
08-24 20:55:38.097: D/dalvikvm(20174): GC_CONCURRENT freed 313K, 22% free 2777K/3523K, paused 2ms+2ms
08-24 20:55:38.183: D/Finsky(20174): [1] 2.run: Loaded library for account: [HshlB8m9B7Kvkf2xSspELcFvPSg]
08-24 20:55:38.183: D/Finsky(20174): [1] 2.run: Finished loading 1 libraries.
08-24 20:55:40.117: I/ActivityManager(226): No longer want com.android.providers.calendar (pid 19994): hidden #16
08-24 20:55:42.980: I/ActivityManager(226): Start proc com.greatbytes.fastrebootpro for service com.greatbytes.fastrebootpro/.OnOffService: pid=20313 uid=10063 gids={}
08-24 20:55:42.988: I/dalvikvm(20313): Turning on JNI app bug workarounds for target SDK version 10...
08-24 20:55:43.027: I/ActivityThread(20313): Pub com.greatbytes.fastrebootpro.timedreboots: com.greatbytes.fastrebootpro.timedreboots.AlarmProvider
08-24 20:55:43.031: I/FRP_OnOffService(20313): Launched OnOffService
08-24 20:55:45.847: W/MemoryDealer(139): madvise(0x414dd000, 8192, MADV_REMOVE) returned Function not implemented
08-24 20:55:45.855: D/AndroidRuntime(20244): Shutting down VM
08-24 20:55:45.855: W/dalvikvm(20244): threadid=1: thread exiting with uncaught exception (group=0x40a361f8)
08-24 20:55:45.855: D/AudioHardware(139): AudioHardware pcm playback is exiting standby.
08-24 20:55:45.855: V/AudioHardware(139): open pcm_out driver
08-24 20:55:45.855: D/AudioHardware(139): openPcmOut_l() mPcmOpenCnt: 0
08-24 20:55:45.867: E/AndroidRuntime(20244): FATAL EXCEPTION: main
08-24 20:55:45.867: E/AndroidRuntime(20244): android.os.NetworkOnMainThreadException
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1099)
08-24 20:55:45.867: E/AndroidRuntime(20244): at java.net.InetAddress.lookupHostByName(InetAddress.java:391)
08-24 20:55:45.867: E/AndroidRuntime(20244): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:242)
08-24 20:55:45.867: E/AndroidRuntime(20244): at java.net.InetAddress.getAllByName(InetAddress.java:220)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:71)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpEngine.connect(HttpEngine.java:303)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:273)
08-24 20:55:45.867: E/AndroidRuntime(20244): at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:168)
08-24 20:55:45.867: E/AndroidRuntime(20244): at com.example.login.sample.Main$1.onClick(Main.java:38)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.view.View.performClick(View.java:3511)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.view.View$PerformClick.run(View.java:14105)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.os.Handler.handleCallback(Handler.java:605)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.os.Handler.dispatchMessage(Handler.java:92)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.os.Looper.loop(Looper.java:137)
08-24 20:55:45.867: E/AndroidRuntime(20244): at android.app.ActivityThread.main(ActivityThread.java:4575)
08-24 20:55:45.867: E/AndroidRuntime(20244): at java.lang.reflect.Method.invokeNative(Native Method)
08-24 20:55:45.867: E/AndroidRuntime(20244): at java.lang.reflect.Method.invoke(Method.java:511)
08-24 20:55:45.867: E/AndroidRuntime(20244): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
08-24 20:55:45.867: E/AndroidRuntime(20244): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-24 20:55:45.867: E/AndroidRuntime(20244): at dalvik.system.NativeStart.main(Native Method)
08-24 20:55:45.879: W/ActivityManager(226): Force finishing activity com.example.login.sample/.Main
08-24 20:55:45.921: V/AudioHardware(139): openMixer_l() mMixerOpenCnt: 0
08-24 20:55:45.921: V/AudioHardware(139): open playback normal
08-24 20:55:45.921: V/AudioHardware(139): write() wakeup setting route SPK
08-24 20:55:46.402: I/Process(226): Sending signal. PID: 20244 SIG: 3
08-24 20:55:46.402: W/ActivityManager(226): Activity pause timeout for ActivityRecord{40cf1a10 com.example.login.sample/.Main}
08-24 20:55:46.406: I/dalvikvm(20244): threadid=3: reacting to signal 3
08-24 20:55:46.406: I/dalvikvm(20244): Wrote stack traces to '/data/anr/traces.txt'
08-24 20:55:47.058: I/ActivityManager(226): No longer want com.android.calendar (pid 19976): hidden #16
08-24 20:55:48.953: D/AudioHardware(139): AudioHardware pcm playback is going to standby.
08-24 20:55:48.953: V/AudioHardware(139): closeMixer_l() mMixerOpenCnt: 1
08-24 20:55:48.953: D/AudioHardware(139): closePcmOut_l() mPcmOpenCnt: 1
08-24 20:55:51.015: D/dalvikvm(20174): GC_CONCURRENT freed 145K, 16% free 3074K/3651K, paused 2ms+3ms
08-24 20:55:51.062: D/Finsky(20174): [1] 5.onFinished: Installation state replication succeeded.
08-24 20:55:55.082: I/Process(20244): Sending signal. PID: 20244 SIG: 9
08-24 20:55:55.086: W/MemoryDealer(139): madvise(0x414e2000, 4096, MADV_REMOVE) returned Function not implemented
08-24 20:55:55.109: D/AudioHardware(139): AudioHardware pcm playback is exiting standby.
08-24 20:55:55.109: V/AudioHardware(139): open pcm_out driver
08-24 20:55:55.109: D/AudioHardware(139): openPcmOut_l() mPcmOpenCnt: 0
08-24 20:55:55.117: I/ActivityManager(226): Process com.example.login.sample (pid 20244) has died.
08-24 20:55:55.117: I/WindowManager(226): WIN DEATH: Window{40e799c8 com.example.login.sample/com.example.login.sample.Main paused=false}
08-24 20:55:55.171: V/AudioHardware(139): openMixer_l() mMixerOpenCnt: 0
08-24 20:55:55.171: V/AudioHardware(139): open playback normal
08-24 20:55:55.171: V/AudioHardware(139): write() wakeup setting route SPK
08-24 20:55:57.070: W/ActivityManager(226): Activity destroy timeout for ActivityRecord{40cf1a10 com.example.login.sample/.Main}
08-24 20:55:58.207: D/AudioHardware(139): AudioHardware pcm playback is going to standby.
08-24 20:55:58.207: V/AudioHardware(139): closeMixer_l() mMixerOpenCnt: 1
08-24 20:55:58.207: D/AudioHardware(139): closePcmOut_l() mPcmOpenCnt: 1
 
DieGoldeneMitte

DieGoldeneMitte

Dauergast
Der stracktrace unten ist normalerweise das interessante. Und davon diese Zeile:

Code:
08-24 20:55:45.867: E/AndroidRuntime(20244): android.os.NetworkOnMainThreadException
Sprich, du machst Netzwerk IO im GUI Thread.
Das ist in neueren Android OS Version (wie 4.0.4) verboten.
Was man machen muss, findest du sicher schnell in einer Foren- oder Gogglesuche zu dem Fehler.
 
Killerjo96

Killerjo96

Ambitioniertes Mitglied
Okey danke, ich versuche das mal selbst rauszufinden. ;)

Der ursprüngliche Beitrag von 21:35 Uhr wurde um 21:42 Uhr ergänzt:

Edit: Ich hab mir jetzt schonmal so´n paar Sachen angeguckt allerdings krieg ich nur Error´s im Projekt. Es sollte doch mit so einem AsyncTask gemacht werden oder? Wie baue ich den denn jetzt ein?
 
Ähnliche Themen - Login Sample musste leider beendet werden. Unbekannter Fehler!? Antworten Datum
0