0

在清理和构建项目后代码 apk 文件大小的更改减小后,我导入了一个 android 项目,当我将 apk 文件放在设备上时,即使 eclipse 中没有任何错误或警告,它也会强制关闭。

请注意,我撤消更改并清理并构建较小的尺寸并强制关闭设备。

谢谢

编辑:

日志猫:

07-20 03:18:33.940: E/SurfaceFlinger(36): hwcomposer module not found
07-20 03:18:33.980: E/Trace(36): error opening trace file: No such file or directory (2)
07-20 03:18:35.150: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:18:35.402: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:18:35.860: E/Trace(92): error opening trace file: No such file or directory (2)
07-20 03:18:48.430: E/BandwidthController(33): runIptablesCmd(): failed /system/bin/iptables -A bw_INPUT -m owner --socket-exists res=256
07-20 03:18:48.530: E/BandwidthController(33): runIptablesCmd(): failed /system/bin/ip6tables -A bw_INPUT -m owner --socket-exists res=256
07-20 03:18:48.550: E/Netd(33): Unable to bind netlink socket: No such file or directory
07-20 03:18:48.550: E/Netd(33): Unable to open quota2 logging socket
07-20 03:20:20.360: E/BatteryService(291): acOnlinePath not found
07-20 03:20:20.400: E/BatteryService(291): usbOnlinePath not found
07-20 03:20:20.400: E/BatteryService(291): wirelessOnlinePath not found
07-20 03:20:20.400: E/BatteryService(291): batteryStatusPath not found
07-20 03:20:20.400: E/BatteryService(291): batteryHealthPath not found
07-20 03:20:20.410: E/BatteryService(291): batteryPresentPath not found
07-20 03:20:20.410: E/BatteryService(291): batteryCapacityPath not found
07-20 03:20:20.450: E/BatteryService(291): batteryVoltagePath not found
07-20 03:20:20.450: E/BatteryService(291): batteryTemperaturePath not found
07-20 03:20:20.470: E/BatteryService(291): batteryTechnologyPath not found
07-20 03:20:21.820: E/PowerManagerService-JNI(291): Couldn't load power module (No such file or directory)
07-20 03:20:24.010: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:20:52.511: E/SoundPool(291): error loading /system/media/audio/ui/Lock.ogg
07-20 03:20:52.551: E/SoundPool(291): error loading /system/media/audio/ui/Unlock.ogg
07-20 03:20:54.201: E/EventHub(291): could not get driver version for /dev/input/mouse0, Not a typewriter
07-20 03:20:54.221: E/EventHub(291): could not get driver version for /dev/input/mice, Not a typewriter
07-20 03:20:54.571: E/Trace(291): error opening trace file: No such file or directory (2)
07-20 03:20:57.211: E/VoldConnector(291): NDC Command {1 volume list} took too long (982ms)
07-20 03:21:00.691: E/CommandListener(33): Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
07-20 03:21:00.831: E/WifiStateMachine(291): Failed to disable IPv6: java.lang.IllegalStateException: command '1 interface ipv6 wlan0 disable' failed with '400 1 Failed to change IPv6 state (No such file or directory)'
07-20 03:21:01.193: E/MobileDataStateTracker(291): default: Ignoring feature request because could not acquire PhoneService
07-20 03:21:01.193: E/MobileDataStateTracker(291): default: Could not enable APN type "default"
07-20 03:21:11.500: E/NetdConnector(291): NDC Command {2 firewall disable} took too long (504ms)
07-20 03:21:13.840: E/Trace(351): error opening trace file: No such file or directory (2)
07-20 03:21:21.690: E/ThrottleService(291): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
07-20 03:21:24.960: E/Trace(378): error opening trace file: No such file or directory (2)
07-20 03:21:27.110: E/Trace(408): error opening trace file: No such file or directory (2)
07-20 03:21:27.772: E/Trace(395): error opening trace file: No such file or directory (2)
07-20 03:21:36.860: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:21:37.640: E/BluetoothAdapter(351): Bluetooth binder is null
07-20 03:21:37.710: E/BluetoothAdapter(351): Bluetooth binder is null
07-20 03:21:47.290: E/ActivityThread(378): Failed to find provider info for com.android.inputmethod.latin.dictionarypack
07-20 03:21:47.310: E/BluetoothAdapter(351): Bluetooth binder is null
07-20 03:21:47.330: E/BinaryDictionaryGetter(378): Could not find a dictionary pack
07-20 03:21:48.932: E/Trace(441): error opening trace file: No such file or directory (2)
07-20 03:21:50.990: E/LocationManagerService(291): no geocoder provider found
07-20 03:21:51.370: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:21:51.770: E/Trace(454): error opening trace file: No such file or directory (2)
07-20 03:22:03.921: E/BluetoothAdapter(395): Bluetooth binder is null
07-20 03:22:06.690: E/BluetoothAdapter(351): Bluetooth binder is null
07-20 03:22:07.950: E/Trace(482): error opening trace file: No such file or directory (2)
07-20 03:22:08.020: E/BluetoothAdapter(395): Bluetooth binder is null
07-20 03:22:21.091: E/UserHistoryDictionary(378): when loading: file not foundjava.io.FileNotFoundException: /data/data/com.android.inputmethod.latin/files/UserHistoryDictionary.en_US.dict: open failed: ENOENT (No such file or directory)
07-20 03:22:24.662: E/StrictMode(378): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
07-20 03:22:24.662: E/StrictMode(378): java.lang.Throwable: Explicit termination method 'close' not called
07-20 03:22:24.662: E/StrictMode(378):  at dalvik.system.CloseGuard.open(CloseGuard.java:184)
07-20 03:22:24.662: E/StrictMode(378):  at android.os.ParcelFileDescriptor.<init>(ParcelFileDescriptor.java:412)
07-20 03:22:24.662: E/StrictMode(378):  at android.content.res.AssetManager.openNonAssetFdNative(Native Method)
07-20 03:22:24.662: E/StrictMode(378):  at android.content.res.AssetManager.openNonAssetFd(AssetManager.java:428)
07-20 03:22:24.662: E/StrictMode(378):  at android.content.res.Resources.openRawResourceFd(Resources.java:979)
07-20 03:22:24.662: E/StrictMode(378):  at com.android.inputmethod.latin.BinaryDictionaryGetter.loadFallbackResource(BinaryDictionaryGetter.java:183)
07-20 03:22:24.662: E/StrictMode(378):  at com.android.inputmethod.latin.BinaryDictionaryGetter.getDictionaryFiles(BinaryDictionaryGetter.java:456)
07-20 03:22:24.662: E/StrictMode(378):  at com.android.inputmethod.latin.DictionaryFactory.createMainDictionaryFromManager(DictionaryFactory.java:57)
07-20 03:22:24.662: E/StrictMode(378):  at com.android.inputmethod.latin.DictionaryFactory.createMainDictionaryFromManager(DictionaryFactory.java:87)
07-20 03:22:24.662: E/StrictMode(378):  at com.android.inputmethod.latin.Suggest$1.run(Suggest.java:108)
07-20 03:22:24.962: E/BluetoothAdapter(351): Bluetooth binder is null
07-20 03:22:31.430: E/BluetoothAdapter(291): Bluetooth binder is null
07-20 03:22:31.430: E/BluetoothAdapter(291): Bluetooth binder is null
07-20 03:22:31.710: E/SoundPool(291): error loading /system/media/audio/ui/Effect_Tick.ogg
07-20 03:22:31.720: E/SoundPool(291): error loading /system/media/audio/ui/Effect_Tick.ogg
07-20 03:22:31.730: E/SoundPool(291): error loading /system/media/audio/ui/Effect_Tick.ogg
07-20 03:22:31.830: E/SoundPool(291): error loading /system/media/audio/ui/Effect_Tick.ogg
07-20 03:22:31.840: E/SoundPool(291): error loading /system/media/audio/ui/Effect_Tick.ogg
07-20 03:22:31.970: E/SoundPool(291): error loading /system/media/audio/ui/KeypressStandard.ogg
07-20 03:22:32.021: E/SoundPool(291): error loading /system/media/audio/ui/KeypressSpacebar.ogg
07-20 03:22:32.220: E/SoundPool(291): error loading /system/media/audio/ui/KeypressDelete.ogg
07-20 03:22:32.230: E/ActivityManager(291): ANR in com.android.systemui
07-20 03:22:32.230: E/ActivityManager(291): Reason: Executing service com.android.systemui/.ImageWallpaper
07-20 03:22:32.230: E/ActivityManager(291): Load: 7.53 / 3.12 / 1.22
07-20 03:22:32.230: E/ActivityManager(291): CPU usage from 0ms to 49841ms later:
07-20 03:22:32.230: E/ActivityManager(291):   34% 36/surfaceflinger: 30% user + 4.5% kernel / faults: 5 minor
07-20 03:22:32.230: E/ActivityManager(291):   21% 291/system_server: 15% user + 6.1% kernel / faults: 5073 minor 7 major
07-20 03:22:32.230: E/ActivityManager(291):   7.1% 92/bootanimation: 6.2% user + 0.8% kernel
07-20 03:22:32.230: E/ActivityManager(291):   6.3% 408/com.android.launcher: 4.9% user + 1.3% kernel / faults: 2831 minor 3 major
07-20 03:22:32.230: E/ActivityManager(291):   3.7% 351/com.android.systemui: 2.9% user + 0.7% kernel / faults: 995 minor 2 major
07-20 03:22:32.230: E/ActivityManager(291):   3.1% 395/com.android.phone: 2.1% user + 0.9% kernel / faults: 1507 minor 4 major
07-20 03:22:32.230: E/ActivityManager(291):   1% 34/debuggerd: 0.6% user + 0.4% kernel / faults: 1547 minor
07-20 03:22:32.230: E/ActivityManager(291):   2.1% 47/adbd: 0.1% user + 2% kernel / faults: 31 minor
07-20 03:22:32.230: E/ActivityManager(291):   1% 378/com.android.inputmethod.latin: 0.6% user + 0.3% kernel / faults: 858 minor 3 major
07-20 03:22:32.230: E/ActivityManager(291):   0.2% 37/zygote: 0% user + 0.2% kernel / faults: 171 minor
07-20 03:22:32.230: E/ActivityManager(291):   0.2% 39/mediaserver: 0.1% user + 0% kernel / faults: 8 minor
07-20 03:22:32.230: E/ActivityManager(291):   0.1% 283/logcat: 0% user + 0.1% kernel
07-20 03:22:32.230: E/ActivityManager(291):   0% 35/rild: 0% user + 0% kernel / faults: 4 minor
07-20 03:22:32.230: E/ActivityManager(291):   0% 1//init: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):   0% 30/servicemanager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):  +0% 441/com.android.location.fused: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):  +0% 454/android.process.acore: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):  +0% 468/sh: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):  +0% 470/app_process: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):  +0% 482/com.android.defcontainer: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291): 99% TOTAL: 76% user + 22% kernel + 0.2% irq + 0.5% softirq
07-20 03:22:32.230: E/ActivityManager(291): CPU usage from 34288ms to 46303ms later:
07-20 03:22:32.230: E/ActivityManager(291):   39% 36/surfaceflinger: 35% user + 3.9% kernel / faults: 3 minor
07-20 03:22:32.230: E/ActivityManager(291):     33% 72/SurfaceFlinger: 32% user + 1.6% kernel
07-20 03:22:32.230: E/ActivityManager(291):     1.2% 87/VSyncThread: 0.5% user + 0.7% kernel
07-20 03:22:32.230: E/ActivityManager(291):     1.2% 89/EventThread: 0.2% user + 1% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.7% 90/Binder_1: 0% user + 0.6% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.6% 160/Binder_2: 0% user + 0.6% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.6% 290/Binder_3: 0.2% user + 0.3% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.5% 36/surfaceflinger: 0.2% user + 0.2% kernel
07-20 03:22:32.230: E/ActivityManager(291):    +0% 514/Binder_4: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):   18% 291/system_server: 10% user + 7.2% kernel / faults: 389 minor 1 major
07-20 03:22:32.230: E/ActivityManager(291):     6.5% 296/Signal Catcher: 2.7% user + 3.7% kernel
07-20 03:22:32.230: E/ActivityManager(291):     2.9% 305/er.ServerThread: 2.3% user + 0.5% kernel
07-20 03:22:32.230: E/ActivityManager(291):     2.8% 308/ActivityManager: 1.3% user + 1.4% kernel
07-20 03:22:32.230: E/ActivityManager(291):     1.4% 298/Compiler: 0.9% user + 0.5% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.5% 480/Binder_7: 0.5% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.5% 423/Binder_3: 0.5% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.4% 374/watchdog: 0% user + 0.4% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.4% 440/Binder_6: 0.3% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.3% 291/system_server: 0.2% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.3% 303/Binder_2: 0.1% user + 0.1% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.3% 424/Binder_4: 0.1% user + 0.1% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.3% 438/Binder_5: 0.3% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.2% 302/Binder_1: 0.1% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0.2% 322/er$SensorThread: 0.1% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 295/GC: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 297/JDWP: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 304/SensorService: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 306/UI: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 307/WindowManager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 311/PackageManager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 313/AccountManagerS: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 315/PackageMonitor: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 317/PowerManagerSer: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 319/AlarmManager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 327/CallbackHandler: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 329/NetdConnector: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 330/CallbackHandler: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 331/NetworkStats: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 332/NetworkPolicy: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 334/WifiStateMachin: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 337/WifiManager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 339/CaptivePortalTr: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 340/WifiWatchdogSta: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 341/NsdService: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 343/CallbackHandler: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 344/SyncHandlerThre: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 345/AudioService: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 347/backup: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 348/AppWidgetServic: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 383/LocationManager: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):     0% 389/NetworkTimeUpda: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):    +0% 509/Binder_8: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):    +0% 510/Binder_9: 0% user + 0% kernel
07-20 03:22:32.230: E/ActivityManager(291):   7.5% 92/bootanimation: 6.9% user + 0.5% kernel
07-20 03:22:32.230: E/ActivityManager(291):     7.8% 105/BootAnimation: 7.2% user + 0.5% kernel
07-20 03:22:32.230: E/ActivityManager(291):   1.9% 34/debugge
07-20 03:22:32.310: E/SoundPool(291): error loading /system/media/audio/ui/KeypressReturn.ogg
07-20 03:22:40.680: E/Trace(523): error opening trace file: No such file or directory (2)
07-20 03:22:46.160: E/Trace(541): error opening trace file: No such file or directory (2)
07-20 03:22:46.970: E/Trace(554): error opening trace file: No such file or directory (2)
07-20 03:22:47.570: E/SurfaceFlinger(36): ro.sf.lcd_density must be defined as a build property
07-20 03:22:49.980: E/BluetoothAdapter(541): Bluetooth binder is null
07-20 03:22:50.920: E/ThrottleService(291): problem during onPollAlarm: java.lang.IllegalStateException: problem parsing stats: java.io.FileNotFoundException: /proc/net/xt_qtaguid/iface_stat_all: open failed: ENOENT (No such file or directory)
07-20 03:22:59.220: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:00.080: E/Trace(579): error opening trace file: No such file or directory (2)
07-20 03:23:01.924: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:02.300: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:07.260: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:07.390: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:10.091: E/Trace(601): error opening trace file: No such file or directory (2)
07-20 03:23:17.000: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:23.010: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:23.173: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
07-20 03:23:25.910: E/Trace(629): error opening trace file: No such file or directory (2)
07-20 03:23:27.662: E/JavaBinder(291): !!! FAILED BINDER TRANSACTION !!!
4

0 回答 0