I am developing a epub reader application, when I am loading it it shows a error that the reader cannot load native library, below I am attaching the log cat of the file.
11-05 15:41:01.980: I/Process(445): Sending signal. PID: 445 SIG: 9
11-05 15:41:02.090: I/ActivityManager(70): Process org.geometerplus.zlibrary.ui.android (pid 445) has died.
11-05 15:41:02.115: E/InputDispatcher(70): channel '406f9968 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Consumer closed input channel or an error occurred. events=0x8
11-05 15:41:02.115: E/InputDispatcher(70): channel '406f9968 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Channel is unrecoverably broken and will be disposed!
11-05 15:41:02.175: I/WindowManager(70): WIN DEATH: Window{406f9968 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:41:02.235: I/WindowManager(70): WIN DEATH: Window{406ffa08 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:41:02.425: I/WindowManager(70): WIN DEATH: Window{40705430 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:41:02.565: E/InputDispatcher(70): Received spurious receive callback for unknown input channel. fd=181, events=0x8
11-05 15:41:02.565: E/InputDispatcher(70): Received spurious receive callback for unknown input channel. fd=185, events=0x8
11-05 15:41:02.785: I/ActivityManager(70): Start proc org.geometerplus.zlibrary.ui.android:crash for activity org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity: pid=468 uid=10044 gids={3003, 1015}
11-05 15:41:06.005: I/ActivityManager(70): Displayed org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity: +3s304ms (total +18s82ms)
11-05 15:41:13.185: D/dalvikvm(328): GC_EXPLICIT freed 321K, 54% free 2540K/5511K, external 1625K/2137K, paused 107ms
11-05 15:41:15.705: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 15:41:21.855: D/dalvikvm(285): GC_EXPLICIT freed 9K, 55% free 2595K/5767K, external 1625K/2137K, paused 74ms
11-05 15:45:38.435: I/ActivityManager(70): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader } from pid 145
11-05 15:45:38.855: I/ActivityManager(70): Start proc org.geometerplus.zlibrary.ui.android for activity org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader: pid=477 uid=10044 gids={3003, 1015}
11-05 15:45:44.916: D/dalvikvm(70): GREF has increased to 401
11-05 15:45:45.376: D/dalvikvm(477): GC_EXPLICIT freed 435K, 51% free 3062K/6151K, external 1625K/2137K, paused 117ms
11-05 15:45:45.555: D/dalvikvm(477): GC_EXPLICIT freed 5K, 51% free 3057K/6151K, external 1625K/2137K, paused 109ms
11-05 15:45:45.685: D/dalvikvm(477): GC_EXPLICIT freed 13K, 51% free 3048K/6151K, external 1625K/2137K, paused 83ms
11-05 15:45:45.836: D/dalvikvm(477): GC_EXTERNAL_ALLOC freed 1K, 51% free 3057K/6151K, external 1625K/2137K, paused 114ms
11-05 15:45:46.345: I/ActivityManager(70): Displayed org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader: +7s531ms
11-05 15:45:48.975: W/dalvikvm(477): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/geometerplus/fbreader/formats/PluginCollection;
11-05 15:45:48.985: W/dalvikvm(477): threadid=9: thread exiting with uncaught exception (group=0x40015560)
11-05 15:45:49.046: W/System.err(477): java.lang.ExceptionInInitializerError
11-05 15:45:49.067: W/System.err(477): at org.geometerplus.fbreader.library.Book.getPlugin(Book.java:159)
11-05 15:45:49.067: W/System.err(477): at org.geometerplus.fbreader.library.Book.<init>(Book.java:135)
11-05 15:45:49.075: W/System.err(477): at org.geometerplus.fbreader.library.Book.getByFile(Book.java:96)
11-05 15:45:49.086: W/System.err(477): at org.geometerplus.fbreader.fbreader.FBReaderApp.openBookInternal(FBReaderApp.java:233)
11-05 15:45:49.115: W/System.err(477): at org.geometerplus.fbreader.fbreader.FBReaderApp$1.run(FBReaderApp.java:157)
11-05 15:45:49.115: W/System.err(477): at org.geometerplus.android.util.UIUtil$3$1.run(UIUtil.java:120)
11-05 15:45:49.125: W/System.err(477): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load NativeFormats-v2: findLibrary returned null
11-05 15:45:49.125: W/System.err(477): at java.lang.Runtime.loadLibrary(Runtime.java:429)
11-05 15:45:49.146: W/System.err(477): at java.lang.System.loadLibrary(System.java:554)
11-05 15:45:49.146: W/System.err(477): at org.geometerplus.fbreader.formats.PluginCollection.<clinit>(PluginCollection.java:33)
11-05 15:45:49.166: W/System.err(477): ... 6 more
11-05 15:45:49.177: I/ActivityManager(70): Starting: Intent { act=android.fbreader.action.CRASH dat=ExceptionInInitializerError: cmp=org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity } from pid 477
11-05 15:45:49.325: I/Process(477): Sending signal. PID: 477 SIG: 9
11-05 15:45:49.578: I/ActivityManager(70): Process org.geometerplus.zlibrary.ui.android (pid 477) has died.
11-05 15:45:49.586: E/InputDispatcher(70): channel '407cc278 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Consumer closed input channel or an error occurred. events=0x8
11-05 15:45:49.586: E/InputDispatcher(70): channel '407cc278 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Channel is unrecoverably broken and will be disposed!
11-05 15:45:49.805: W/ActivityManager(70): Activity pause timeout for HistoryRecord{406e37c0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader}
11-05 15:45:49.975: I/WindowManager(70): WIN DEATH: Window{407cc278 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:45:50.146: I/WindowManager(70): WIN DEATH: Window{407e92f0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:45:50.265: E/InputDispatcher(70): Received spurious receive callback for unknown input channel. fd=152, events=0x8
11-05 15:45:50.746: D/dalvikvm(468): GC_EXTERNAL_ALLOC freed 312K, 50% free 2954K/5895K, external 2032K/2137K, paused 229ms
11-05 15:45:51.055: W/InputManagerService(70): Got RemoteException sending setActive(false) notification to pid 477 uid 10044
11-05 15:45:53.208: I/ActivityManager(70): Displayed org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity: +2s884ms
11-05 15:45:57.405: W/IInputConnectionWrapper(145): showStatusIcon on inactive InputConnection
11-05 15:46:05.297: D/dalvikvm(456): GC_EXPLICIT freed 76K, 52% free 2633K/5379K, external 1625K/2137K, paused 143ms
11-05 15:46:10.276: D/dalvikvm(468): GC_EXPLICIT freed 13K, 50% free 2964K/5895K, external 2379K/2971K, paused 111ms
11-05 15:46:15.775: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 15:50:04.305: I/ActivityManager(70): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader } from pid 145
11-05 15:50:04.495: I/ActivityManager(70): Start proc org.geometerplus.zlibrary.ui.android for activity org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader: pid=491 uid=10044 gids={3003, 1015}
11-05 15:50:09.456: D/dalvikvm(491): GC_EXPLICIT freed 454K, 51% free 3062K/6151K, external 1625K/2137K, paused 139ms
11-05 15:50:09.765: D/dalvikvm(491): GC_EXPLICIT freed 7K, 51% free 3057K/6151K, external 1625K/2137K, paused 148ms
11-05 15:50:09.945: D/dalvikvm(491): GC_EXPLICIT freed 1K, 51% free 3057K/6151K, external 1625K/2137K, paused 146ms
11-05 15:50:10.435: D/dalvikvm(491): GC_EXTERNAL_ALLOC freed 11K, 51% free 3057K/6151K, external 1625K/2137K, paused 424ms
11-05 15:50:11.325: I/ActivityManager(70): Displayed org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader: +6s905ms
11-05 15:50:13.985: W/dalvikvm(491): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/geometerplus/fbreader/formats/PluginCollection;
11-05 15:50:13.997: W/dalvikvm(491): threadid=9: thread exiting with uncaught exception (group=0x40015560)
11-05 15:50:14.166: W/System.err(491): java.lang.ExceptionInInitializerError
11-05 15:50:14.166: W/System.err(491): at org.geometerplus.fbreader.library.Book.getPlugin(Book.java:159)
11-05 15:50:14.166: W/System.err(491): at org.geometerplus.fbreader.library.Book.<init>(Book.java:135)
11-05 15:50:14.166: W/System.err(491): at org.geometerplus.fbreader.library.Book.getByFile(Book.java:96)
11-05 15:50:14.175: W/System.err(491): at org.geometerplus.fbreader.fbreader.FBReaderApp.openBookInternal(FBReaderApp.java:233)
11-05 15:50:14.175: W/System.err(491): at org.geometerplus.fbreader.fbreader.FBReaderApp$1.run(FBReaderApp.java:157)
11-05 15:50:14.185: W/System.err(491): at org.geometerplus.android.util.UIUtil$3$1.run(UIUtil.java:120)
11-05 15:50:14.185: W/System.err(491): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load NativeFormats-v2: findLibrary returned null
11-05 15:50:14.185: W/System.err(491): at java.lang.Runtime.loadLibrary(Runtime.java:429)
11-05 15:50:14.235: W/System.err(491): at java.lang.System.loadLibrary(System.java:554)
11-05 15:50:14.235: W/System.err(491): at org.geometerplus.fbreader.formats.PluginCollection.<clinit>(PluginCollection.java:33)
11-05 15:50:14.235: W/System.err(491): ... 6 more
11-05 15:50:14.365: I/ActivityManager(70): Starting: Intent { act=android.fbreader.action.CRASH dat=ExceptionInInitializerError: cmp=org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity } from pid 491
11-05 15:50:14.456: I/Process(491): Sending signal. PID: 491 SIG: 9
11-05 15:50:14.621: I/ActivityManager(70): Process org.geometerplus.zlibrary.ui.android (pid 491) has died.
11-05 15:50:14.665: E/InputDispatcher(70): channel '4076a8e0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Consumer closed input channel or an error occurred. events=0x8
11-05 15:50:14.665: E/InputDispatcher(70): channel '4076a8e0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader (server)' ~ Channel is unrecoverably broken and will be disposed!
11-05 15:50:14.786: I/WindowManager(70): WIN DEATH: Window{4076a8e0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:50:14.936: W/ActivityManager(70): Activity pause timeout for HistoryRecord{40613df0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader}
11-05 15:50:15.376: I/WindowManager(70): WIN DEATH: Window{40611fa0 org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.FBReader paused=true}
11-05 15:50:15.697: E/InputDispatcher(70): Received spurious receive callback for unknown input channel. fd=152, events=0x8
11-05 15:50:16.796: W/InputManagerService(70): Got RemoteException sending setActive(false) notification to pid 491 uid 10044
11-05 15:50:19.055: I/ActivityManager(70): Displayed org.geometerplus.zlibrary.ui.android/org.geometerplus.android.fbreader.crash.MissingNativeLibraryActivity: +3s151ms
11-05 15:50:24.215: D/dalvikvm(145): GC_EXPLICIT freed 170K, 50% free 3020K/6023K, external 6250K/7660K, paused 141ms
11-05 15:50:29.247: D/dalvikvm(456): GC_EXPLICIT freed 3K, 52% free 2632K/5379K, external 1625K/2137K, paused 130ms
11-05 15:51:15.785: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 15:56:15.819: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:01:15.875: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:06:17.818: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:11:17.846: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:16:17.860: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:21:17.887: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:26:17.895: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:30:38.037: D/PerformBackupThread(70): starting agent for backup of BackupRequest{app=ApplicationInfo{405c2c30 com.android.providers.settings} full=false}
11-05 16:30:38.138: D/BackupManagerService(70): awaiting agent for ApplicationInfo{405c2c30 com.android.providers.settings}
11-05 16:30:38.145: D/BackupManagerService(70): agentConnected pkg=com.android.providers.settings agent=android.app.backup.BackupAgent$BackupServiceBinder#40701198
11-05 16:30:38.445: V/LocalTransport(70): finishBackup()
11-05 16:31:17.939: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:36:17.975: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:41:18.036: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:46:18.105: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:47:00.296: D/dalvikvm(127): GC_CONCURRENT freed 353K, 53% free 2745K/5767K, external 2179K/2672K, paused 24ms+8ms
11-05 16:51:18.136: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:56:18.147: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
11-05 16:56:52.975: I/dalvikvm(70): Jit: resizing JitTable from 2048 to 4096
11-05 16:58:48.395: D/dalvikvm(70): GC_CONCURRENT freed 972K, 51% free 4474K/9095K, external 3125K/3903K, paused 34ms+16ms
11-05 17:01:18.197: D/SntpClient(70): request time failed: java.net.SocketException: Address family not supported by protocol
Related
I've been trying to turn on an Accessibility Service using Android's. I run an emulator using Android Studio (Nexus S API 19, armabi-v7). I'm able to open the accessibility settings when the emulator is running. (By clicking on the circled submenu)
Setting Screen with Accessibility Sub-Menu highlighted
Yet when I run try to attach monkeyrunner by opening an interactive monkeyrunner terminal and running:
>> from android.com.monkeyrunner import MonkeyRunner, MonkeyDevice
>> d = MonkeyRunner.waitForConnection()
I'm unable to get navigate to the accessibility settings screen and get the error message
Result of selecting accessibility sub-menu from settings when MonkeyDevice is attached
as soon as I detach the monkeyDevice, I'm able to get to the accessibility settings screen again. Any idea what could cause it?
snippet from the logs when there's an error:
##Logs from Failure ## I/ActivityManager( 357): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings} from pid 519 ... I/ActivityManager( 357): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 751
...
D/SubSettings( 751): Launching fragment com.android.settings.accessibility.AccessibilitySettings ... E/AndroidRuntime( 751): FATAL EXCEPTION: main
E/AndroidRuntime( 751): Process: com.android.settings, PID: 751
E/AndroidRuntime( 751): java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException
E/AndroidRuntime( 751): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2774)
E/AndroidRuntime( 751): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2803)
E/AndroidRuntime( 751): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2238)
E/AndroidRuntime( 751): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 751): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 751): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 751): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 751): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 751): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 751): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 751): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 751): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 751): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 751): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 751): at com.android.settings.accessibility.AccessibilitySettings.loadInstalledServices(AccessibilitySettings.java:641)
E/AndroidRuntime( 751): at com.android.settings.accessibility.AccessibilitySettings.onResume(AccessibilitySettings.java:214)
E/AndroidRuntime( 751): at android.app.Fragment.performResume(Fragment.java:1743)
E/AndroidRuntime( 751): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:924)
E/AndroidRuntime( 751): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
E/AndroidRuntime( 751): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
E/AndroidRuntime( 751): at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1863)
E/AndroidRuntime( 751): at android.app.Activity.performResume(Activity.java:5320)
E/AndroidRuntime( 751): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2764)
E/AndroidRuntime( 751): ... 12 more
W/ActivityManager( 357): Force finishing activity com.android.settings/.SubSettings
W/ActivityManager( 357): Force finishing activity com.android.settings/.Settings ... W/ActivityManager( 357): Activity pause timeout for ActivityRecord{b3ea9e08 u0 com.android.settings/.SubSettings t2 f}
There seems to be a NullPointer exception, but I don't know what could cause that
##Log Snippet Without Failure I/ActivityManager( 357): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings} from pid 519
I/ActivityManager( 357): Start proc com.android.settings for activity com.android.settings/.Settings: pid=1095 uid=1000 gids={41000, 1028, 1015, 3002, 3001, 3003}
D/dalvikvm( 59): GC_EXPLICIT freed 40K, 5% free 2777K/2900K, paused 15ms+3ms, total 96ms
D/dalvikvm( 59): GC_EXPLICIT freed <1K, 5% free 2777K/2900K, paused 3ms+14ms, total 67ms
D/dalvikvm( 59): GC_EXPLICIT freed <1K, 5% free 2777K/2900K, paused 7ms+14ms, total 76ms
D/dalvikvm( 1095): GC_FOR_ALLOC freed 118K, 7% free 2987K/3188K, paused 35ms, total 37ms
I/dalvikvm-heap( 1095): Grow heap (frag case) to 3.602MB for 635812-byte allocation
D/dalvikvm( 1095): GC_FOR_ALLOC freed 3K, 6% free 3605K/3812K, paused 44ms, total 44ms
D/dalvikvm( 1095): GC_CONCURRENT freed <1K, 6% free 3605K/3812K, paused 4ms+2ms, total 53ms
E/BluetoothAdapter( 1095): Bluetooth binder is null
D/dalvikvm( 1095): GC_CONCURRENT freed 209K, 8% free 3793K/4088K, paused 2ms+16ms, total 65ms
D/ ( 1095): HostConnection::get() New Host Connection established 0xb82ef4c0, tid 1095
W/EGL_emulation( 1095): eglSurfaceAttrib not implemented
D/OpenGLRenderer( 1095): Enabling debug mode 0
I/ActivityManager( 357): Displayed com.android.settings/.Settings:
+2s599ms
D/dalvikvm( 1095): GC_CONCURRENT freed 124K, 5% free 4057K/4268K, paused 15ms+5ms, total 101ms
I/ActivityManager( 357): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 1095
D/SubSettings( 1095): Launching fragment com.android.settings.accessibility.AccessibilitySettings
W/EGL_emulation( 1095): eglSurfaceAttrib not implemented
D/dalvikvm( 1095): GC_CONCURRENT freed 223K, 7% free 4267K/4576K, paused 20ms+65ms, total 345ms
I/Choreographer( 1095): Skipped 120 frames! The application may be doing too much work on its main thread.
I/ActivityManager( 357): Displayed com.android.settings/.SubSettings:
+3s235ms
I am creating an app on Android, which involves an Activity and a service. One of the components of the service is meant to send a signal to the MainActivity, which will execute some specific code. The problem is, trying to send the intent makes the app crash.
Here is the code that sends the intent. Note that it resides in the inside of a doInBackground function of an AsyncTask object, which resides inside the said service:
#Override
protected String doInBackground(Socket... client) {
Intent received = new Intent();
received.setAction("com.mycompany.Messenger.MESSAGE_RECEIVED");
sendBroadcast(received);
}
Note that if I comment out sendBroadcast(received), the app does not crash.
Here is the handler of the Intent inside MainActivity (which has the name ChatBubbleActivity in my app):
public class MessageReceiver extends BroadcastReceiver {
#Override
public void onReceive(Context context, Intent intent) {
if(intent.getAction().equals(MESSAGE_RECEIVED)) {
String current_message = "Intent works!";
TextView textView = (TextView) findViewById(R.id.myText);
textView.setText(current_message);
}
}
}
And this is the declaration of the Receiver in manifest:
<receiver android:name=".ChatBubbleActivity$MessageReceiver">
<intent-filter>
<action android:name="com.mycompany.Messenger.MESSAGE_RECEIVED"/>
</intent-filter>
</receiver>
, inside the <activity> chunk.
What is it that I might be missing?
EDIT:New version of code based on answers, still crashing.
EDIT logcat:
02-04 16:17:32.444 487-489/? D/dalvikvm﹕ GC_CONCURRENT freed 1662K, 22% free 6885K/8728K, paused 2ms+2ms, total 42ms
02-04 16:17:32.876 1275-1275/? D/AndroidRuntime﹕ >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
02-04 16:17:32.912 1275-1275/? D/AndroidRuntime﹕ CheckJNI is OFF
02-04 16:17:32.960 1275-1275/? D/dalvikvm﹕ Trying to load lib libjavacore.so 0x0
02-04 16:17:32.964 1275-1275/? D/dalvikvm﹕ Added shared lib libjavacore.so 0x0
02-04 16:17:32.968 1275-1275/? D/dalvikvm﹕ Trying to load lib libnativehelper.so 0x0
02-04 16:17:32.972 1275-1275/? D/dalvikvm﹕ Added shared lib libnativehelper.so 0x0
02-04 16:17:32.972 1275-1275/? D/dalvikvm﹕ No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
02-04 16:17:33.020 1275-1275/? D/dalvikvm﹕ Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
02-04 16:17:33.128 1275-1275/? E/memtrack﹕ Couldn't load memtrack module (No such file or directory)
02-04 16:17:33.132 1275-1275/? E/android.os.Debug﹕ failed to load memtrack module: -2
02-04 16:17:33.264 1275-1275/? D/AndroidRuntime﹕ Calling main entry com.android.commands.am.Am
02-04 16:17:33.284 487-617/? I/ActivityManager﹕ START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.mycompany.messenger/com.mycompany.Messenger.ChatBubbleActivity} from pid 1275
02-04 16:17:33.692 1275-1275/? D/AndroidRuntime﹕ Shutting down VM
02-04 16:17:33.692 1275-1279/? D/dalvikvm﹕ GC_CONCURRENT freed 95K, 15% free 576K/676K, paused 1ms+0ms, total 1ms
02-04 16:17:33.884 487-538/? I/ActivityManager﹕ Start proc com.mycompany.messenger for activity com.mycompany.messenger/com.mycompany.Messenger.ChatBubbleActivity: pid=1286 uid=10059 gids={50059, 3003}
02-04 16:17:33.932 1286-1286/? D/dalvikvm﹕ Late-enabling CheckJNI
02-04 16:17:34.228 1286-1286/? D/dalvikvm﹕ GC_FOR_ALLOC freed 60K, 4% free 2873K/2992K, paused 6ms, total 7ms
02-04 16:17:34.236 1286-1286/? I/dalvikvm-heap﹕ Grow heap (frag case) to 3.338MB for 500412-byte allocation
02-04 16:17:34.248 1286-1295/? D/dalvikvm﹕ GC_FOR_ALLOC freed <1K, 4% free 3362K/3484K, paused 11ms, total 11ms
02-04 16:17:34.252 1286-1290/? D/dalvikvm﹕ GC_CONCURRENT freed 0K, 4% free 3362K/3484K, paused 1ms+0ms, total 5ms
02-04 16:17:34.696 1286-1286/? D/libEGL﹕ loaded /system/lib/egl/libEGL_genymotion.so
02-04 16:17:34.708 1286-1286/? D/﹕ HostConnection::get() New Host Connection established 0xb7944cb0, tid 1286
02-04 16:17:34.744 1286-1286/? D/libEGL﹕ loaded /system/lib/egl/libGLESv1_CM_genymotion.so
02-04 16:17:34.744 1286-1286/? D/libEGL﹕ loaded /system/lib/egl/libGLESv2_genymotion.so
02-04 16:17:34.816 1286-1286/? W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
02-04 16:17:34.820 1286-1286/? E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from GradienCache
02-04 16:17:34.824 1286-1286/? E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 8192
02-04 16:17:34.848 1286-1286/? E/OpenGLRenderer﹕ Getting MAX_TEXTURE_SIZE from Caches::initConstraints()
02-04 16:17:34.848 1286-1286/? E/OpenGLRenderer﹕ MAX_TEXTURE_SIZE: 8192
02-04 16:17:34.852 1286-1286/? D/OpenGLRenderer﹕ Enabling debug mode 0
02-04 16:17:34.932 1286-1300/? W/dalvikvm﹕ threadid=12: thread exiting with uncaught exception (group=0xa4d31b20)
02-04 16:17:34.932 1286-1300/? E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
Process: com.mycompany.messenger, PID: 1286
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
at android.app.ContextImpl.startActivity(ContextImpl.java:1050)
at android.app.ContextImpl.startActivity(ContextImpl.java:1037)
at android.content.ContextWrapper.startActivity(ContextWrapper.java:311)
at com.mycompany.Messenger.LocalService$DownloadWebpageTask2.doInBackground(LocalService.java:118)
at com.mycompany.Messenger.LocalService$DownloadWebpageTask2.doInBackground(LocalService.java:113)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
02-04 16:17:34.936 487-617/? W/ActivityManager﹕ Force finishing activity com.mycompany.messenger/com.mycompany.Messenger.ChatBubbleActivity
02-04 16:17:35.180 487-840/? W/InputMethodManagerService﹕ Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy#529ef2ac (uid=10059 pid=1286)
02-04 16:17:35.288 487-617/? I/WindowManager﹕ Screenshot max retries 4 of Token{52998cec ActivityRecord{5294f214 u0 com.mycompany.messenger/com.mycompany.Messenger.ChatBubbleActivity t4 f}} appWin=Window{52948c58 u0 Starting com.mycompany.messenger} drawState=4
02-04 16:17:35.288 487-617/? W/WindowManager﹕ Screenshot failure taking screenshot for (800x1280) to layer 21015
02-04 16:17:38.512 487-502/? I/Choreographer﹕ Skipped 188 frames! The application may be doing too much work on its main thread.
02-04 16:17:38.516 711-711/? I/Choreographer﹕ Skipped 185 frames! The application may be doing too much work on its main thread.
02-04 16:17:39.708 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:17:40.536 711-711/? W/EGL_genymotion﹕ eglSurfaceAttrib not implemented
02-04 16:17:41.260 487-502/? I/Choreographer﹕ Skipped 35 frames! The application may be doing too much work on its main thread.
02-04 16:17:49.560 1286-1300/? I/Process﹕ Sending signal. PID: 1286 SIG: 9
02-04 16:17:49.580 487-616/? W/InputMethodManagerService﹕ Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#52963b68 attribute=null, token = android.os.BinderProxy#5290713c
02-04 16:17:49.644 487-840/? I/ActivityManager﹕ Process com.mycompany.messenger (pid 1286) has died.
02-04 16:17:49.716 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:17:59.720 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:09.728 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:19.736 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:29.744 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:39.752 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:49.756 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:18:59.764 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:19:09.772 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:19:19.780 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:19:29.788 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:19:39.792 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
02-04 16:19:49.800 117-117/? D/local_opengl﹕ Select interrupted or nothing to read
Do you want to start an activity or send a broadcast? I don't understand your code.
You are starting an activity from a background thread, that's not allowed.
In your AsyncTask, the method protected String doInBackground(Socket... client) is the only one that doesn't run in the UI thread.
When ever you want to start your Broadcast Receiver you don't call it as an acitivty
Your Method
Intent received = new Intent(ChatBubbleActivity.MESSAGE_RECEIVED);
received.putExtra("current", "Intent is working!!");
startActivity(received);
What it should be
Intent intent = new Intent();
intent.setAction("com.tutorialspoint.CUSTOM_INTENT");
sendBroadcast(intent);
Have a look at these tutorials
Vogella
TutorialsPoint
I reference and imitates the Android Sample at android-sdks\samples\android-18\legacy\BluetoothLeGatt to developing an application.
I can scan the device.
But the app crash when I try to connect the bluetooth device.
This is the log that the app crash when I try to connect the bluetooth device.
D/BtGatt.btif( 2443): btif_gattc_scan
D/BtGatt.btif( 2443): btgattc_handle_event: Event 1003
D/BtGatt.GattService( 2443): unregisterClient() - clientIf=4
D/BtGatt.btif( 2443): btif_gattc_unregister_app
D/BtGatt.btif( 2443): btgattc_handle_event: Event 1001
D/BtGatt.btif( 2443): btif_gattc_upstreams_evt: Event 1
I/ActivityManager( 1766): START u0 {cmp=com.example.prevent_the_lost/.DeviceControl (has extras)} from pid 5526
W/WindowManager( 1766): Screenshot failure taking screenshot for (166x125) to layer 21015
I/bt-hci ( 2443): BLE HCI(id=62) event = 0x02)
I/bt-hci ( 2443): btu_ble_process_adv_pkt
D/BluetoothAdapter( 5526): stopLeScan()
I/bt-hci ( 2443): BLE HCI(id=62) event = 0x02)
I/bt-hci ( 2443): btu_ble_process_adv_pkt
D/dalvikvm( 5526): GC_CONCURRENT freed 165K, 5% free 4427K/4624K, paused 1ms+1ms, total 5ms
W/ActivityManager( 1766): Unable to start service Intent { cmp=com.example.prevent_the_lost/.BluetoothLeService } U=0: not found
I/ActivityManager( 1766): Displayed com.example.prevent_the_lost/.DeviceControl: +29ms
D/AndroidRuntime( 5526): Shutting down VM
W/dalvikvm( 5526): threadid=1: thread exiting with uncaught exception (group=0x94ee8648)
E/AndroidRuntime( 5526): FATAL EXCEPTION: main
E/AndroidRuntime( 5526): java.lang.NullPointerException
E/AndroidRuntime( 5526): at com.example.prevent_the_lost.DeviceControl.onOptionsItemSelected(DeviceControl.java:140)
E/AndroidRuntime( 5526): at android.app.Activity.onMenuItemSelected(Activity.java:2566)
E/AndroidRuntime( 5526): at com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:986)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:735)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.ActionMenuView.invokeItem(ActionMenuView.java:547)
E/AndroidRuntime( 5526): at com.android.internal.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:115)
E/AndroidRuntime( 5526): at android.view.View.performClick(View.java:4240)
E/AndroidRuntime( 5526): at android.view.View$PerformClick.run(View.java:17721)
E/AndroidRuntime( 5526): at android.os.Handler.handleCallback(Handler.java:730)
E/AndroidRuntime( 5526): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 5526): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5526): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime( 5526): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 5526): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5526): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime( 5526): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 5526): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1766): Force finishing activity com.example.prevent_the_lost/.DeviceControl
W/WindowManager( 1766): Screenshot failure taking screenshot for (166x125) to layer 21020
W/ActivityManager( 1766): Activity pause timeout for ActivityRecord{4aad960c u0com.example.prevent_the_lost/.DeviceControl}
I/Process ( 5526): Sending signal. PID: 5526 SIG: 9
W/InputDispatcher( 1766): channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 1766): channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 1766): channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)' ~ Consumer closed input channel or an error occurred. events=0xd
E/InputDispatcher( 1766): channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)' ~ Channel is unrecoverably brokenand will be disposed!
W/InputDispatcher( 1766): Attempted to unregister already unregistered input channel '4aaa49ec com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List (server)'
W/InputDispatcher( 1766): Attempted to unregister already unregistered input channel '4aa9c3e4 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl (server)'
I/ActivityManager( 1766): Process com.example.prevent_the_lost (pid 5526) has died.
I/WindowState( 1766): WIN DEATH: Window{4aaa49ec u0 com.example.prevent_the_lost/com.example.prevent_the_lost.Device_List}
I/WindowState( 1766): WIN DEATH: Window{4aa9c3e4 u0 com.example.prevent_the_lost/com.example.prevent_the_lost.DeviceControl}
I/ActivityManager( 1766): Start proc com.example.prevent_the_lost for activity com.example.prevent_the_lost/.Device_List: pid=5545 uid=10043 gids={50043, 3001,3002, 1028}
I/ActivityThread( 5545): Switching default density from 160 to 130
D/BluetoothManagerService( 1766): Message: 20
D/BluetoothManagerService( 1766): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy#4ab1fee8:true
W/InputMethodManagerService( 1766): Got RemoteException sending setActive(false) notification to pid 5526 uid 10043
I/ActivityManager( 1766): Displayed com.example.prevent_the_lost/.Device_List: +171ms
D/dalvikvm( 1766): GC_CONCURRENT freed 455K, 19% free 7301K/8980K, paused 1ms+1ms, total 12ms
I don't know what the error in this Log ??
Could somebody tell me the error and how to solve it ???
Thanks a lot!!!
I find the error is "Unable to start service Intent"
The solution is add the Service in Manifest -> Application.
starting from this mine previous (My Android app's singleton gets re-initialized while app is running) post, I've made several experiments to understand why my application dies after (about) 20 times that I move back and forward between 2 activities (via intent).
At first, I thought that it could be a heap memory problem (because the logcat was always showing "grow heap size.." till 60-70MB that app crashed, always without any kind of error, either OutOfMemory), but also now with 16-18MB always crashes at the same point. I've also removed actrionbarsherlock and sliding menu by J. Feinstein, created a class to manage bitmap and drawable cache, store downloaded bitmaps into the internal memory, call the famous "unbindDrawables" method and the garbageCollector in every activity in the onPause and onDestroy methods, yet my app always dies while navigating between activities.
Anyone can give me any hint? I really can get out of this problem, without any logged error it's really difficult for me to understand where is the bug.
Thank you very much in advance for your help.
P.S. if any piece of code is need just ask.
UPDATE 1: Logcat
07-29 09:45:41.588: I/dalvikvm-heap(7277): Grow heap (frag case) to 8.894MB for 251453-byte allocation
07-29 09:45:41.588: D/dalvikvm(7240): GC_CONCURRENT freed 474K, 8% free 7368K/8007K, paused 2ms+2ms
07-29 09:45:41.619: E/AlarmManagerService(211): android_server_AlarmManagerService_set to type=3, 833616.841000000
07-29 09:45:41.619: I/SysScopeService(7324): registerAlarm, interval:86400000
07-29 09:45:41.619: W/SysScopeService(7324): onCreate
07-29 09:45:41.619: W/SysScopeService(7324): onStart Intent { act=com.sec.intent.action.SYSSCOPE flg=0x4 (has extras) }
07-29 09:45:41.619: I/SysScopeService(7324): periodic:true
07-29 09:45:41.619: W/SysScopeService(7324): setState state=1
07-29 09:45:41.635: D/dalvikvm(7277): GC_FOR_ALLOC freed 255K, 10% free 8765K/9671K, paused 30ms
07-29 09:45:41.635: W/SysScopeService(7324): handleMessage
07-29 09:45:41.635: W/SysScopeService(7324): current state = SYSSCOPE_STATE_INIT, next state = SYDSCOPE_STATE_RUN
07-29 09:45:41.674: D/dalvikvm(7277): GC_FOR_ALLOC freed 240K, 7% free 9021K/9671K, paused 26ms
07-29 09:45:41.744: D/dalvikvm(7240): GC_CONCURRENT freed 486K, 8% free 7393K/8007K, paused 1ms+1ms
07-29 09:45:41.744: D/DeviceInfo(211): Trying to connect to SysScope Service
07-29 09:45:41.807: I/ActivityManager(211): Start proc app.processName for service hostingNameStr: pid=7350 uid=1000 gids={3003, 1015, 1023, 3001, 3002, 2001, 1006, 1007, 1001, 3007}
07-29 09:45:41.846: D/dalvikvm(7277): GC_CONCURRENT freed 376K, 5% free 9462K/9927K, paused 2ms+2ms
07-29 09:45:41.862: D/dalvikvm(211): GC_EXPLICIT freed 934K, 30% free 19850K/27975K, paused 3ms+21ms
07-29 09:45:41.869: D/dalvikvm(7240): GC_CONCURRENT freed 513K, 8% free 7380K/8007K, paused 2ms+2ms
07-29 09:45:41.893: D/dalvikvm(98): GC_EXPLICIT freed 39K, 5% free 6646K/6979K, paused 1ms+21ms
07-29 09:45:41.940: D/EnterpriseSysScope(7350): onCreate()
07-29 09:45:41.940: D/EnterpriseSysScope(7350): onBind()
07-29 09:45:41.940: D/DeviceInfo(211): SysScope Service connected
07-29 09:45:41.947: D/dalvikvm(98): GC_EXPLICIT freed <1K, 5% free 6646K/6979K, paused 3ms+1ms
07-29 09:45:41.971: D/dalvikvm(98): GC_EXPLICIT freed <1K, 5% free 6646K/6979K, paused 1ms+2ms
07-29 09:45:42.018: D/dalvikvm(7240): GC_CONCURRENT freed 494K, 8% free 7395K/8007K, paused 1ms+2ms
07-29 09:45:42.057: D/dalvikvm(7324): GC_CONCURRENT freed 368K, 7% free 6782K/7239K, paused 2ms+2ms
07-29 09:45:42.072: D/dalvikvm(7324): No JNI_OnLoad found in /system/lib/libcordon.so 0x412667c8, skipping init
07-29 09:45:42.072: W/SysScopeService(7324): setState state=2
07-29 09:45:42.072: W/SysScopeService(7324): handleMessage
07-29 09:45:42.072: W/SysScopeService(7324): current state = SYDSCOPE_STATE_RUN, next state = SYDSCOPE_STATE_DONE
07-29 09:45:42.112: D/dalvikvm(7240): GC_CONCURRENT freed 482K, 8% free 7417K/8007K, paused 3ms+1ms
07-29 09:45:42.174: I/DIOTEK(7240): ET9KRUDBInit : 2
07-29 09:45:42.182: D/dalvikvm(7277): GC_CONCURRENT freed 210K, 3% free 10205K/10503K, paused 2ms+3ms
07-29 09:45:42.330: D/SysScopeService(7324): CPU usage : 100
07-29 09:45:42.330: D/SysScopeService(7324): Sleep 10 secs
07-29 09:45:42.354: D/dalvikvm(7240): GC_CONCURRENT freed 574K, 9% free 7408K/8071K, paused 1ms+2ms
07-29 09:45:42.479: I/WindowManager(211): WIN DEATH: Window{41e6ed08 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Dashboard paused=false}
07-29 09:45:42.479: I/ActivityManager(211): Process com.example.fantacalcioTSL (pid 6053) has died.
07-29 09:45:42.487: D/dalvikvm(7277): GC_CONCURRENT freed 727K, 8% free 10710K/11527K, paused 2ms+2ms
07-29 09:45:42.502: W/InputDispatcher(211): channel ~ Consumer closed input channel or an error occurred. events=0x8
07-29 09:45:42.502: E/InputDispatcher(211): channel ~ Channel is unrecoverably broken and will be disposed!
07-29 09:45:42.502: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.510: I/power(211): *** release_dvfs_lock : lockType : 1
07-29 09:45:42.510: W/InputDispatcher(211): Attempted to unregister already unregistered input channel '41b42898 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Home (server)'
07-29 09:45:42.510: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.510: D/PowerManagerService(211): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
07-29 09:45:42.510: W/ActivityManager(211): mDVFSLock.release()
07-29 09:45:42.510: W/ActivityManager(211): Force removing ActivityRecord{4219ef40 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa}: app died, no saved state
07-29 09:45:42.510: I/WindowManager(211): WIN DEATH: Window{41b42898 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Home paused=false}
07-29 09:45:42.510: I/WindowManager(211): WIN DEATH: Window{41b13c68 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.518: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.518: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.518: I/WindowManager(211): WIN DEATH: Window{41599a78 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Login paused=false}
07-29 09:45:42.526: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.526: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.526: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.526: I/WindowManager(211): WIN DEATH: Window{41a40c98 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.526: I/WindowManager(211): WIN DEATH: Window{419fbf18 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.526: I/WindowManager(211): WIN DEATH: Window{42057a20 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Dashboard paused=false}
07-29 09:45:42.533: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.533: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.533: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.533: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.533: I/WindowManager(211): WIN DEATH: Window{41e80d98 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.533: I/WindowManager(211): WIN DEATH: Window{41f8acc0 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.533: I/WindowManager(211): WIN DEATH: Window{4191ae50 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.533: I/WindowManager(211): WIN DEATH: Window{416416b0 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.541: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.541: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.541: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.541: I/WindowManager(211): WIN DEATH: Window{416feac8 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.541: I/WindowManager(211): WIN DEATH: Window{41b40f40 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.541: I/WindowManager(211): WIN DEATH: Window{42061220 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Dashboard paused=false}
07-29 09:45:42.549: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.549: E/InputDispatcher(211): Received spurious receive callback for unknown input channel. fd=341, events=0x8
07-29 09:45:42.549: W/InputDispatcher(211): channel ~ Consumer closed input channel or an error occurred. events=0x8
07-29 09:45:42.549: E/InputDispatcher(211): channel ~ Channel is unrecoverably broken and will be disposed!
07-29 09:45:42.549: W/InputDispatcher(211): Attempted to unregister already unregistered input channel '421c9780 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa (server)'
07-29 09:45:42.549: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.549: E/InputDispatcher(211): Received spurious receive callback for unknown input channel. fd=348, events=0x8
07-29 09:45:42.549: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.549: I/WindowManager(211): WIN DEATH: Window{41f47db0 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.549: I/WindowManager(211): WINDOW DIED Window{41b42898 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.Home paused=false}
07-29 09:45:42.549: I/WindowManager(211): WINDOW DIED Window{421c9780 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.549: I/WindowManager(211): WIN DEATH: Window{4168a000 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.549: W/InputManagerService(211): Client died receiving input method InputBindResult{com.android.internal.view.IInputMethodSession$Stub$Proxy#42010608 com.sec.android.inputmethod/.SamsungKeypad #1082}
07-29 09:45:42.549: I/WindowManager(211): WIN DEATH: Window{42055c40 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.557: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.557: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.557: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.557: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.557: I/WindowManager(211): WIN DEATH: Window{41a2f648 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.557: I/WindowManager(211): WIN DEATH: Window{41fc5948 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.557: I/WindowManager(211): WIN DEATH: Window{41e9b098 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.565: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.565: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.565: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.565: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.565: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.565: I/WindowManager(211): WIN DEATH: Window{41ecb0b8 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.565: I/WindowManager(211): WIN DEATH: Window{41a04c50 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.565: I/WindowManager(211): WIN DEATH: Window{419fc468 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.565: I/WindowManager(211): WIN DEATH: Window{41fbc650 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.572: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.572: I/WindowManager(211): WIN DEATH: Window{41feb2a0 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.580: W/InputDispatcher(211): channel ~ Consumer closed input channel or an error occurred. events=0x8
07-29 09:45:42.580: E/InputDispatcher(211): channel ~ Channel is unrecoverably broken and will be disposed!
07-29 09:45:42.596: W/WindowManager(211): Failed looking up window
07-29 09:45:42.596: W/WindowManager(211): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy#416d51c0 does not exist
07-29 09:45:42.596: W/WindowManager(211): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7722)
07-29 09:45:42.596: W/WindowManager(211): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7713)
07-29 09:45:42.596: W/WindowManager(211): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1530)
07-29 09:45:42.596: W/WindowManager(211): at android.os.BinderProxy.sendDeathNotice(Binder.java:417)
07-29 09:45:42.596: W/WindowManager(211): at dalvik.system.NativeStart.run(Native Method)
07-29 09:45:42.596: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.596: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.596: I/WindowManager(211): WIN DEATH: null
07-29 09:45:42.596: I/WindowManager(211): WIN DEATH: Window{41f4b478 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.596: I/WindowManager(211): WIN DEATH: Window{41b22590 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori paused=false}
07-29 09:45:42.604: W/InputDispatcher(211): Attempted to unregister already unregistered input channel '4146cbf8 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa (server)'
07-29 09:45:42.604: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.604: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.604: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.604: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.604: I/WindowManager(211): WIN DEATH: Window{4146cbf8 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.604: W/ActivityManager(211): Force removing ActivityRecord{41fc6668 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.AcquistoGiocatori}: app died, no saved state
07-29 09:45:42.604: D/DEFERED_APP_VISIBILITY(211): tweaking closing app
07-29 09:45:42.604: D/DEFERED_APP_VISIBILITY(211): tweaking closing app
07-29 09:45:42.604: V/WindowManager(211): rotationForOrientationLw(orient=-1, last=3); user=3 mLidOpen=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=1 sensorRotation=-1
07-29 09:45:42.612: E/InputDispatcher(211): Received spurious receive callback for unknown input channel. fd=404, events=0x8
07-29 09:45:42.612: I/power(211): *** acquire_dvfs_lock : lockType : 1 freq : 1008000
07-29 09:45:42.612: I/WindowManager(211): WINDOW DIED Window{4146cbf8 com.example.fantacalcioTSL/com.fantacalcioTSL.activities.GestioneRosa paused=false}
07-29 09:45:42.612: D/PowerManagerService(211): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1008000 uid : 1000 pid : 211 tag : ActivityManager
07-29 09:45:42.612: W/ActivityManager(211): mDVFSLock.acquire()
07-29 09:45:42.635: D/dalvikvm(7363): Late-enabling CheckJNI
07-29 09:45:42.635: I/ActivityManager(211): Start proc app.processName for activity hostingNameStr: pid=7363 uid=10128 gids={3003}
07-29 09:45:42.666: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.674: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.682: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.697: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.705: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.705: V/WindowManager(211): rotationForOrientationLw(orient=1, last=3); user=3 mLidOpen=-1 mDockMode=0 mHdmiPlugged=false mAccelerometerDefault=1 sensorRotation=-1
07-29 09:45:42.744: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.752: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.862: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.869: I/Application(7363): onCreate
07-29 09:45:42.869: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.869: D/dalvikvm(7363): GC_CONCURRENT freed 147K, 4% free 6975K/7239K, paused 3ms+2ms
07-29 09:45:42.869: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.877: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.893: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.908: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.924: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.940: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.955: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.971: D/dalvikvm(7363): GC_FOR_ALLOC freed 179K, 7% free 7123K/7623K, paused 17ms
07-29 09:45:42.971: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:42.987: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.002: D/dalvikvm(7277): GC_CONCURRENT freed 315K, 4% free 11763K/12167K, paused 2ms+4ms
07-29 09:45:43.002: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.018: D/dalvikvm(7363): GC_FOR_ALLOC freed 108K, 6% free 7177K/7623K, paused 17ms
07-29 09:45:43.018: I/dalvikvm-heap(7363): Grow heap (frag case) to 7.331MB for 248290-byte allocation
07-29 09:45:43.018: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.041: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.041: D/dalvikvm(7363): GC_FOR_ALLOC freed 161K, 8% free 7258K/7879K, paused 19ms
07-29 09:45:43.057: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.072: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.072: D/dalvikvm(7363): GC_FOR_ALLOC freed 242K, 9% free 7227K/7879K, paused 17ms
07-29 09:45:43.088: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.088: D/KeyguardViewMediator(211): setHidden false
07-29 09:45:43.135: D/gp.PicasaPhotoCP(7277): set fsid first time:-1
07-29 09:45:43.135: D/dalvikvm(7363): GC_FOR_ALLOC freed 296K, 8% free 7293K/7879K, paused 19ms
07-29 09:45:43.182: D/dalvikvm(7277): Trying to load lib /data/data/com.google.android.apps.plus/lib/libwebp_android.so 0x41265dd0
07-29 09:45:43.190: D/dalvikvm(7277): Added shared lib /data/data/com.google.android.apps.plus/lib/libwebp_android.so 0x41265dd0
07-29 09:45:43.190: D/dalvikvm(7277): No JNI_OnLoad found in /data/data/com.google.android.apps.plus/lib/libwebp_android.so 0x41265dd0, skipping init
07-29 09:45:43.190: D/dalvikvm(7277): Trying to load lib /data/data/com.google.android.apps.plus/lib/libplus_jni_v8.so 0x41265dd0
07-29 09:45:43.190: D/dalvikvm(7363): GC_FOR_ALLOC freed 165K, 7% free 7376K/7879K, paused 17ms
07-29 09:45:43.205: D/dalvikvm(7277): Added shared lib /data/data/com.google.android.apps.plus/lib/libplus_jni_v8.so 0x41265dd0
07-29 09:45:43.205: D/dalvikvm(7277): No JNI_OnLoad found in /data/data/com.google.android.apps.plus/lib/libplus_jni_v8.so 0x41265dd0, skipping init
07-29 09:45:43.205: I/NativeLibrarySupport(7277): Native WEBP decoder, version=0.3.0
07-29 09:45:43.205: I/NativeLibrarySupport(7277): Native networking disabled
07-29 09:45:43.237: D/dalvikvm(7363): GC_FOR_ALLOC freed 148K, 6% free 7450K/7879K, paused 15ms
07-29 09:45:43.237: I/dalvikvm-heap(7363): Grow heap (frag case) to 7.570MB for 219686-byte allocation
07-29 09:45:43.252: D/dalvikvm(7363): GC_FOR_ALLOC freed 222K, 9% free 7442K/8135K, paused 14ms
07-29 09:45:43.276: D/dalvikvm(7277): GC_FOR_ALLOC freed 847K, 9% free 11616K/12679K, paused 53ms
07-29 09:45:43.276: I/dalvikvm-heap(7277): Grow heap (frag case) to 12.541MB for 1165488-byte allocation
07-29 09:45:43.307: D/dalvikvm(7363): GC_CONCURRENT freed 260K, 7% free 7588K/8135K, paused 1ms+1ms
07-29 09:45:43.322: D/dalvikvm(7277): GC_FOR_ALLOC freed 2K, 8% free 12752K/13831K, paused 48ms
07-29 09:45:43.369: D/dalvikvm(7277): GC_FOR_ALLOC freed 0K, 8% free 12752K/13831K, paused 45ms
07-29 09:45:43.377: I/dalvikvm-heap(7277): Grow heap (frag case) to 14.418MB for 1971216-byte allocation
07-29 09:45:43.424: D/dalvikvm(7277): GC_FOR_ALLOC freed 0K, 8% free 14677K/15815K, paused 47ms
07-29 09:45:43.432: D/dalvikvm(7363): GC_CONCURRENT freed 433K, 8% free 7611K/8199K, paused 2ms+1ms
07-29 09:45:43.471: D/dalvikvm(7277): GC_FOR_ALLOC freed 0K, 5% free 16096K/16839K, paused 48ms
07-29 09:45:43.487: D/STATUSBAR-NotificationService(211): cancelNotification - pkg:com.google.android.apps.plus, id:2131296365, tag:InstantShare
07-29 09:45:43.487: D/STATUSBAR-NotificationService(211): cancelNotification - pkg:com.google.android.apps.plus, id:2131296365, tag:InstantShare
07-29 09:45:43.549: I/ActivityManager(211): Start proc app.processName for service hostingNameStr: pid=7379 uid=10020 gids={3003, 1015, 1023}
07-29 09:45:43.619: D/dalvikvm(7363): GC_CONCURRENT freed 339K, 6% free 7769K/8263K, paused 2ms+2ms
07-29 09:45:43.682: D/dalvikvm(7363): GC_FOR_ALLOC freed 227K, 8% free 7783K/8391K, paused 29ms
07-29 09:45:43.682: I/dalvikvm-heap(7363): Grow heap (frag case) to 7.765MB for 82392-byte allocation
07-29 09:45:43.690: D/dalvikvm(7379): GC_CONCURRENT freed 151K, 4% free 6999K/7239K, paused 2ms+2ms
07-29 09:45:43.721: D/dalvikvm(7363): GC_FOR_ALLOC freed <1K, 8% free 7864K/8519K, paused 22ms
07-29 09:45:43.799: I/ActivityThread(7379): Pub com.google.android.maps.OfflineIndexProvider: com.google.googlenav.provider.OfflineIndexProvider
07-29 09:45:43.815: I/ActivityThread(7379): Pub com.google.android.maps.SearchHistoryProvider: com.google.googlenav.provider.SearchHistoryProvider
07-29 09:45:43.815: I/ActivityThread(7379): Pub com.google.android.maps.SuggestionProvider: com.google.googlenav.suggest.android.SuggestContentProvider
07-29 09:45:43.830: D/dalvikvm(7363): GC_CONCURRENT freed 382K, 8% free 7889K/8519K, paused 1ms+2ms
07-29 09:45:43.846: I/ActivityThread(7379): Pub com.google.android.maps.LayerInfoProvider: com.google.googlenav.layer.LayerInfoProvider
07-29 09:45:43.877: I/ActivityThread(7379): Pub com.google.android.maps.TrafficAppWidgetProvider: com.google.googlenav.appwidget.traffic.TrafficAppWidgetProvider
07-29 09:45:43.877: I/ActivityThread(7379): Pub com.google.android.maps.LocalActivePlacesProvider: com.google.googlenav.provider.LocalActivePlacesProvider
07-29 09:45:43.877: I/ActivityThread(7379): Pub com.google.android.maps.StarredItemProvider: com.google.googlenav.provider.StarredItemProvider
07-29 09:45:43.901: D/dalvikvm(7379): GC_CONCURRENT freed 217K, 5% free 7262K/7623K, paused 2ms+3ms
07-29 09:45:43.916: I/ActivityManager(211): Start proc app.processName for content provider hostingNameStr: pid=7391 uid=10007 gids={3003, 1015, 1023, 1007, 1006, 2001, 3006}
07-29 09:45:43.979: I/ActivityThread(7391): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
07-29 09:45:44.041: D/dalvikvm(7363): GC_CONCURRENT freed 287K, 6% free 8027K/8519K, paused 1ms+2ms
07-29 09:45:44.065: I/ActivityThread(7391): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
07-29 09:45:44.080: I/USER(7363): user inizializzato (INIT)
07-29 09:45:44.127: I/ActivityThread(7391): Pub com.google.contacts.gal.provider: com.google.android.syncadapters.contacts.GalProvider
07-29 09:45:44.151: I/ActivityThread(7391): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
07-29 09:45:44.158: I/GservicesProvider(7391): Gservices pushing to system: true; secure: true
07-29 09:45:44.158: I/ActivityThread(7391): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
I've made a simple Android app that's trying to open a URL (any URL with input will do) on a click of a button.
The code I use is this :
btnTest = (Button)findViewById(R.id.btnTest);
btnTest.setOnClickListener(new View.OnClickListener() {
#Override
public void onClick(View v) {
HelloActivity.this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")));
}
});
The problem is that in Android Emulator running Platform 4.0.3, the emulator is crashed everytime I try to input text using soft keyboard into the web. This problem doesn't occur in Emulator running Platform 2.3.3. I've tried many sites and it behaves the same.
Btw, this is the logcat :
02-22 09:35:51.434: I/ActivityManager(81): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.eatmicco.Training/.HelloActivity} from pid 212
02-22 09:35:51.444: D/PermissionCache(36): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (623 us)
02-22 09:35:51.704: D/dalvikvm(81): GC_FOR_ALLOC freed 149K, 7% free 11999K/12871K, paused 79ms
02-22 09:35:51.714: I/dalvikvm-heap(81): Grow heap (frag case) to 11.914MB for 129616-byte allocation
02-22 09:35:51.844: D/dalvikvm(81): GC_FOR_ALLOC freed 745K, 13% free 11380K/12999K, paused 68ms
02-22 09:35:51.913: D/dalvikvm(478): Not late-enabling CheckJNI (already on)
02-22 09:35:51.944: I/ActivityManager(81): Start proc com.eatmicco.Training for activity com.eatmicco.Training/.HelloActivity: pid=478 uid=10048 gids={1015}
02-22 09:35:51.954: D/(81): HostConnection::get() New Host Connection established 0xbdd28, tid 123
02-22 09:35:52.094: W/NetworkManagementSocketTagger(81): setKernelCountSet(10048, 1) failed with errno -2
02-22 09:35:52.124: D/OpenGLRenderer(212): Flushing caches (mode 1)
02-22 09:35:52.334: V/PhoneStatusBar(151): setLightsOn(true)
02-22 09:35:52.533: W/InputManagerService(81): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy#415554e8 (uid=10013 pid=212)
02-22 09:35:52.533: D/(478): HostConnection::get() New Host Connection established 0x15c708, tid 478
02-22 09:35:52.593: D/OpenGLRenderer(212): Flushing caches (mode 0)
02-22 09:35:52.704: I/Process(81): Sending signal. PID: 478 SIG: 3
02-22 09:35:52.704: I/dalvikvm(478): threadid=3: reacting to signal 3
02-22 09:35:52.714: I/dalvikvm(478): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:53.004: I/ActivityManager(81): Displayed com.eatmicco.Training/.HelloActivity: +1s114ms
02-22 09:35:53.154: W/NetworkManagementSocketTagger(81): setKernelCountSet(10013, 0) failed with errno -2
02-22 09:35:54.204: I/ActivityManager(81): START {act=android.intent.action.VIEW dat=http://www.google.com cmp=com.android.browser/.BrowserActivity} from pid 478
02-22 09:35:54.573: I/ActivityManager(81): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=491 uid=10002 gids={3003, 1015}
02-22 09:35:54.673: W/NetworkManagementSocketTagger(81): setKernelCountSet(10002, 1) failed with errno -2
02-22 09:35:54.933: I/ActivityThread(491): Pub com.android.browser;browser: com.android.browser.provider.BrowserProvider2
02-22 09:35:54.984: I/ActivityThread(491): Pub com.android.browser.home: com.android.browser.homepages.HomeProvider
02-22 09:35:54.984: I/ActivityThread(491): Pub com.android.browser.snapshots: com.android.browser.provider.SnapshotProvider
02-22 09:35:55.193: I/Process(81): Sending signal. PID: 491 SIG: 3
02-22 09:35:55.193: I/dalvikvm(491): threadid=3: reacting to signal 3
02-22 09:35:55.303: I/dalvikvm(491): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:55.553: D/dalvikvm(491): GC_CONCURRENT freed 257K, 4% free 9281K/9607K, paused 8ms+4ms
02-22 09:35:55.603: E/ActivityThread(491): Failed to find provider info for com.google.settings
02-22 09:35:55.603: E/ActivityThread(491): Failed to find provider info for com.google.settings
02-22 09:35:55.693: I/Process(81): Sending signal. PID: 491 SIG: 3
02-22 09:35:55.693: I/dalvikvm(491): threadid=3: reacting to signal 3
02-22 09:35:55.813: I/dalvikvm(491): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:55.893: D/dalvikvm(491): GC_FOR_ALLOC freed 191K, 4% free 9475K/9799K, paused 34ms
02-22 09:35:55.943: D/dalvikvm(491): GC_FOR_ALLOC freed 5K, 4% free 9647K/9991K, paused 31ms
02-22 09:35:55.993: D/dalvikvm(491): GC_FOR_ALLOC freed <1K, 4% free 9818K/10183K, paused 42ms
02-22 09:35:56.023: D/dalvikvm(491): GC_FOR_ALLOC freed <1K, 4% free 9989K/10375K, paused 35ms
02-22 09:35:56.073: D/dalvikvm(491): GC_FOR_ALLOC freed 1K, 4% free 10162K/10567K, paused 32ms
02-22 09:35:56.114: D/dalvikvm(491): GC_FOR_ALLOC freed <1K, 3% free 10504K/10759K, paused 33ms
02-22 09:35:56.163: E/libEGL(491): call to OpenGL ES API with no current context (logged once per thread)
02-22 09:35:56.183: D/ShaderProgram(491): couldn't load the vertex shader!
02-22 09:35:56.183: E/libEGL(491): call to OpenGL ES API with no current context (logged once per thread)
02-22 09:35:56.183: D/ShaderProgram(491): couldn't load the vertex shader!
02-22 09:35:56.183: E/libEGL(491): call to OpenGL ES API with no current context (logged once per thread)
02-22 09:35:56.183: D/ShaderProgram(491): couldn't load the vertex shader!
02-22 09:35:56.183: E/libEGL(491): call to OpenGL ES API with no current context (logged once per thread)
02-22 09:35:56.183: D/ShaderProgram(491): couldn't load the vertex shader!
02-22 09:35:56.183: E/libEGL(491): call to OpenGL ES API with no current context (logged once per thread)
02-22 09:35:56.183: D/ShaderProgram(491): couldn't load the vertex shader!
02-22 09:35:56.193: I/Process(81): Sending signal. PID: 491 SIG: 3
02-22 09:35:56.193: I/dalvikvm(491): threadid=3: reacting to signal 3
02-22 09:35:56.233: I/dalvikvm(491): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:56.383: D/dalvikvm(491): GC_FOR_ALLOC freed 20K, 3% free 10896K/11143K, paused 57ms
02-22 09:35:56.393: D/WebViewTimersControl(491): onBrowserActivityResume
02-22 09:35:56.393: D/WebViewTimersControl(491): Resuming webview timers, view=com.android.browser.BrowserWebView#41313558
02-22 09:35:56.403: W/BaseUi(491): mMainView is already attached to wrapper in attachTabToContentView!
02-22 09:35:56.413: W/BaseUi(491): mContainer is already attached to content in attachTabToContentView!
02-22 09:35:56.433: V/NFC(491): this device does not have NFC support
02-22 09:35:56.543: D/libEGL(491): loaded /system/lib/egl/libGLES_android.so
02-22 09:35:56.593: D/libEGL(491): loaded /system/lib/egl/libEGL_emulation.so
02-22 09:35:56.593: D/(491): HostConnection::get() New Host Connection established 0x1ec618, tid 491
02-22 09:35:56.643: D/libEGL(491): loaded /system/lib/egl/libGLESv1_CM_emulation.so
02-22 09:35:56.643: D/libEGL(491): loaded /system/lib/egl/libGLESv2_emulation.so
02-22 09:35:56.703: I/Process(81): Sending signal. PID: 491 SIG: 3
02-22 09:35:56.703: I/dalvikvm(491): threadid=3: reacting to signal 3
02-22 09:35:56.793: W/EGL_emulation(491): eglSurfaceAttrib not implemented
02-22 09:35:56.823: D/OpenGLRenderer(491): Enabling debug mode 0
02-22 09:35:56.823: I/dalvikvm(491): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:57.214: I/Process(81): Sending signal. PID: 491 SIG: 3
02-22 09:35:57.214: I/dalvikvm(491): threadid=3: reacting to signal 3
02-22 09:35:57.273: I/dalvikvm(491): Wrote stack traces to '/data/anr/traces.txt'
02-22 09:35:57.313: I/ActivityManager(81): Displayed com.android.browser/.BrowserActivity: +2s785ms
02-22 09:35:57.733: E/chromium(491): external/chromium/net/disk_cache/backend_impl.cc:1107: [0222/093557:ERROR:backend_impl.cc(1107)] Critical error found -8
02-22 09:35:57.893: D/dalvikvm(491): GC_CONCURRENT freed 65K, 3% free 11348K/11591K, paused 3ms+21ms
02-22 09:35:57.963: D/dalvikvm(491): GC_FOR_ALLOC freed 10K, 3% free 11337K/11591K, paused 60ms
02-22 09:35:57.963: I/dalvikvm-heap(491): Grow heap (frag case) to 11.765MB for 656656-byte allocation
02-22 09:35:57.993: W/chromium(491): external/chromium/net/disk_cache/storage_block-inl.h:119: [0222/093558:WARNING:storage_block-inl.h(119)] Failed data load.
02-22 09:35:57.993: W/chromium(491): external/chromium/net/disk_cache/storage_block-inl.h:119: [0222/093558:WARNING:storage_block-inl.h(119)] Failed data load.
02-22 09:35:58.003: W/chromium(491): external/chromium/net/disk_cache/storage_block-inl.h:119: [0222/093558:WARNING:storage_block-inl.h(119)] Failed data load.
02-22 09:35:58.033: W/chromium(491): external/chromium/net/disk_cache/storage_block-inl.h:119: [0222/093558:WARNING:storage_block-inl.h(119)] Failed data load.
02-22 09:35:58.053: E/chromium(491): external/chromium/net/disk_cache/entry_impl.cc:904: [0222/093558:ERROR:entry_impl.cc(904)] Failed to save user data
02-22 09:35:58.053: E/chromium(491): external/chromium/net/disk_cache/entry_impl.cc:904: [0222/093558:ERROR:entry_impl.cc(904)] Failed to save user data
02-22 09:35:58.143: D/dalvikvm(491): GC_FOR_ALLOC freed 0K, 3% free 11979K/12295K, paused 121ms
02-22 09:35:58.263: W/Tab(491): Failed to save back/forward list for http://www.google.com
02-22 09:35:58.883: W/NetworkManagementSocketTagger(81): setKernelCountSet(10048, 0) failed with errno -2
02-22 09:36:03.363: D/dalvikvm(165): GC_CONCURRENT freed 118K, 3% free 9760K/9991K, paused 4ms+5ms
02-22 09:36:04.403: D/(165): HostConnection::get() New Host Connection established 0x1e7f50, tid 165
02-22 09:36:04.773: D/dalvikvm(165): GC_FOR_ALLOC freed 143K, 3% free 9844K/10119K, paused 224ms
02-22 09:36:04.803: I/dalvikvm-heap(165): Grow heap (frag case) to 10.241MB for 591376-byte allocation
02-22 09:36:04.913: D/dalvikvm(165): GC_FOR_ALLOC freed 9K, 4% free 10412K/10759K, paused 99ms
02-22 09:36:05.053: D/dalvikvm(165): GC_CONCURRENT freed <1K, 4% free 10413K/10759K, paused 3ms+4ms
02-22 09:36:05.623: D/dalvikvm(151): GC_CONCURRENT freed 174K, 29% free 9975K/13959K, paused 4ms+16ms
02-22 09:36:05.803: D/dalvikvm(81): GC_CONCURRENT freed 278K, 12% free 11569K/12999K, paused 5ms+28ms
: E/(): Device disconnected
Can anyone tell me what's wrong here?
Thanks