Android - Failure [INSTALL_FAILED_INTERNAL_ERROR] - android

I'm having some problems trying to install APKs in a specific device. I have lots of devices and it hadn't happened so far (all of them, Radxa Rock Pro).
When I run pm install myApp I get
root#radxaPro:/ # pm install /sdcard/myApp.apk
pkg: /sdcard/myApp.apk
Failure [INSTALL_FAILED_INTERNAL_ERROR]
Logcat output:
06-02 13:02:33.032 I/AndroidRuntime( 4469): JNI options: '-Xjniopts:warnonly'
06-02 13:02:33.042 D/dalvikvm( 4469): Trying to load lib libjavacore.so 0x0
06-02 13:02:33.042 D/dalvikvm( 4469): Added shared lib libjavacore.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): Trying to load lib libnativehelper.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): Added shared lib libnativehelper.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
06-02 13:02:33.082 D/dalvikvm( 4469): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
06-02 13:02:33.232 E/memtrack( 4469): Couldn't load memtrack module (No such file or directory)
06-02 13:02:33.232 E/android.os.Debug( 4469): failed to load memtrack module: -2
06-02 13:02:33.282 D/AndroidRuntime( 4469): Calling main entry com.android.commands.pm.Pm
06-02 13:02:33.292 W/ActivityManager( 474): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found
06-02 13:02:33.292 E/PackageManager( 474): Failed to bind to media container service
I think the most important line is Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found because a successful installation shows this (another device):
06-02 13:04:35.747: I/AndroidRuntime(1005): JNI options: '-Xjniopts:warnonly'
06-02 13:04:35.757: D/dalvikvm(1005): Trying to load lib libjavacore.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libjavacore.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Trying to load lib libnativehelper.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libnativehelper.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
06-02 13:04:35.797: D/dalvikvm(1005): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
06-02 13:04:35.927: E/memtrack(1005): Couldn't load memtrack module (No such file or directory)
06-02 13:04:35.927: E/android.os.Debug(1005): failed to load memtrack module: -2
06-02 13:04:35.977: D/AndroidRuntime(1005): Calling main entry com.android.commands.pm.Pm
06-02 13:04:35.987: I/ActivityManager(478): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1016 uid=10001 gids={50001, 1028, 1015, 1023, 2001, 1035}
The DefaultContainerService.apk is located in /system/priv-app/ but I have been able to check that it is not actually installed in that device. If I try to install it, I get the same error.
Does anyone have an idea? Is the Android system corrupt?
Thanks in advance.

Related

Android application is not launching due to emulator issue

I am trying to run my Android application but I'm getting this error:
05-26 17:06:30.362: D/AndroidRuntime(8981):
Calling main entry com.android.commands.pm.Pm
05-26 17:08:46.372: D/AndroidRuntime(9000): >>>>>>
AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
05-26 17:08:46.372: D/AndroidRuntime(9000): CheckJNI is OFF
05-26 17:08:46.372: D/dalvikvm(9000): Trying to load lib libjavacore.so 0x0
05-26 17:08:46.422: D/dalvikvm(9000): Added shared lib libjavacore.so 0x0
05-26 17:08:46.422: D/dalvikvm(9000):
Trying to load lib libnativehelper.so 0x0
05-26 17:08:46.422: D/dalvikvm(9000):
Added shared lib libnativehelper.so 0x0
05-26 17:08:46.422: D/dalvikvm(9000):
No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
05-26 17:08:46.442: D/dalvikvm(9000):
Note: class Landroid/app/ ActivityManagerNative ;
has 179 unimplemented (abstract) methods
05-26 17:08:46.522: E/memtrack(9000):
Couldn't load memtrack module (No such file or directory)
05-26 17:08:46.522: E/android.os.Debug(9000):
failed to load memtrack module: - 2
05-26 17:08:46.552: D/AndroidRuntime(9000):
Calling main entry com.android.commands.pm.Pm
What can be the issue?
i can suggest you something, kill adb ,restart eclips and run emullator again.
else go for new updates, go to help->check for updates. if found new updates install it.

Can't run the standard Hello World Qt Quick 2.0 project on Samsung Galaxy Tab 3 7" with Qt 5.2

I just bought a Samsung Galaxy Tab 3 7" with Android version 4.1.2. To do a simple test I wanted to run the Qt 5.2, Qt Quick 2.0, "Hello World" application. The program starts, but only a black screen is shown. I also tried the "QuickForecast" from Google Play store and it does not run as well.
The application output is:
Starting remote process.D/dalvikvm( 1917): GC_CONCURRENT freed 334K, 17% free
8624K/10375K, paused 19ms+12ms, total 59ms
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libgnustl_shared.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libgnustl_shared.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libgnustl_shared.so 0x41a304c8, skipping init
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Core.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Core.so 0x41a304c8
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Network.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Network.so 0x41a304c8
I/Qt ( 1917): Network start
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Qml.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Qml.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Qml.so 0x41a304c8, skipping init
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Gui.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Gui.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Gui.so 0x41a304c8, skipping init
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Quick.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Quick.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5Quick.so 0x41a304c8, skipping init
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5QuickParticles.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5QuickParticles.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5QuickParticles.so 0x41a304c8, skipping init
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/plugins/platforms/android/libqtforandroidGL.so 0x41a304c8
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/plugins/platforms/android/libqtforandroidGL.so 0x41a304c8
I/Qt ( 1917): qt start
W/dalvikvm( 1917): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtMessageDialogHelper'
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5QuickParticles.so 0x41a304c8
D/dalvikvm( 1917): Shared lib '/data/data/org.qtproject.example.AndroidHelloWorld/lib/libQt5QuickParticles.so' already loaded in same CL 0x41a304c8
D/dalvikvm( 1917): Trying to load lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libAndroidHelloWorld.so 0x41a304c8
D/Qt ( 1917): qml\qqmlengine.cpp:1451 (QQmlDebuggingEnabler::QQmlDebuggingEnabler(bool)): QML debugging is enabled. Only use this in a safe environment.
D/dalvikvm( 1917): Added shared lib /data/data/org.qtproject.example.AndroidHelloWorld/lib/libAndroidHelloWorld.so 0x41a304c8
D/dalvikvm( 1917): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidHelloWorld/lib/libAndroidHelloWorld.so 0x41a304c8, skipping init
W/Qt ( 1917): kernel\qcoreapplication.cpp:416 (QCoreApplicationPrivate::QCoreApplicationPrivate(int&, char**, uint)): WARNING: QApplication was not created in the main() thread.
D/dalvikvm( 1917): GC_CONCURRENT freed 495K, 19% free 8598K/10503K, paused 3ms+35ms, total 62ms
W/dalvikvm( 1917): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtNativeInputConnection'
W/dalvikvm( 1917): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtExtractedText'
D/libEGL ( 1917): loaded /system/lib/egl/libEGL_MRVL.so
D/libEGL ( 1917): loaded /system/lib/egl/libGLESv1_CM_MRVL.so
D/libEGL ( 1917): loaded /system/lib/egl/libGLESv2_MRVL.so
D/GC ( 1917): <tid=2041> OES20 ===> GC Version : GC Ver-988-JB-R4-RC2-GC19
D/GC ( 1917):
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
W/Qt ( 1917): ..\src\androidjnimain.cpp:687 (void updateWindow(JNIEnv*, jobject)): updateWindow: Dirty screen not implemented yet on OpenGL
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
E/libEGL ( 1917): eglMakeCurrent:538 error 3002 (EGL_BAD_ACCESS)
W/Qt ( 1917): eglconvenience\qeglplatformcontext.cpp:119 (virtual bool QEGLPlatformContext::makeCurrent(QPlatformSurface*)): QEGLPlatformContext::makeCurrent: eglError: 3002, this: 0x5d2b8d50
W/Qt ( 1917):
I found a bug report on the Qt website:
Found here
but the problem has not been solved yet and the application output is not identical (but similar) with mine.
Do anyone have a similar problem and been able to solve it? Do anyone have any suggestion on how this might be solved?
EDIT:
This bug fix is now to be resolved and will probably be fixed already in Qt 5.2.1.
Follow this link for status.

Android ActionBarActivity not working

There should be missing configuration I guess but couldn't find it.
Following my changes for displaying action bar on main activity.
1 - Extend ActionBarActivity for the root activity.
public class MainActivity extends ActionBarActivity implements OnItemSelectedListener {
2 - Updated minsdkversion to 11
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="18" />
3 - Add support library android-support-v7-appcombat.jar
4 - Change menu xml.
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:yourapp="http://schemas.android.com/apk/res-auto"
>
<item
android:id="#+id/action_aboutbox"
android:orderInCategory="100"
android:showAsAction="always"
android:title="#string/action_aboutbox"/>
<item
android:id="#+id/action_exit"
android:orderInCategory="100"
android:showAsAction="always"
android:title="#string/action_exit"/>
</menu>
Following is logcat log after running app.
10-17 01:38:18.174: D/AndroidRuntime(1814): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-17 01:38:18.174: D/AndroidRuntime(1814): CheckJNI is ON
10-17 01:38:18.253: D/dalvikvm(1814): Trying to load lib libjavacore.so 0x0
10-17 01:38:18.274: D/dalvikvm(1814): Added shared lib libjavacore.so 0x0
10-17 01:38:18.343: D/dalvikvm(1814): Trying to load lib libnativehelper.so 0x0
10-17 01:38:18.343: D/dalvikvm(1814): Added shared lib libnativehelper.so 0x0
10-17 01:38:18.504: E/cutils-trace(1814): Error opening trace file: No such file or directory (2)
10-17 01:38:19.464: D/AndroidRuntime(1814): Calling main entry com.android.commands.pm.Pm
10-17 01:38:19.504: D/AndroidRuntime(1814): Shutting down VM
10-17 01:38:19.504: D/dalvikvm(1814): Debugger has detached; object registry had 1 entries
10-17 01:38:20.974: D/AndroidRuntime(1825): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-17 01:38:20.974: D/AndroidRuntime(1825): CheckJNI is ON
10-17 01:38:21.044: D/dalvikvm(1825): Trying to load lib libjavacore.so 0x0
10-17 01:38:21.075: D/dalvikvm(1825): Added shared lib libjavacore.so 0x0
10-17 01:38:21.224: D/dalvikvm(1825): Trying to load lib libnativehelper.so 0x0
10-17 01:38:21.224: D/dalvikvm(1825): Added shared lib libnativehelper.so 0x0
10-17 01:38:21.364: E/cutils-trace(1825): Error opening trace file: No such file or directory (2)
10-17 01:38:22.224: D/AndroidRuntime(1825): Calling main entry com.android.commands.am.Am
10-17 01:38:22.244: D/dalvikvm(1825): Note: class Landroid/app/ActivityManagerNative; has 163 unimplemented (abstract) methods
10-17 01:38:22.284: I/ActivityManager(286): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.siteprice.googlepagerankchecker/.MainActivity} from pid 1825
10-17 01:38:22.314: W/WindowManager(286): Screenshot failure taking screenshot for (123x164) to layer 21005
10-17 01:38:22.384: D/AndroidRuntime(1825): Shutting down VM
10-17 01:38:22.384: D/jdwp(1825): Got wake-up signal, bailing out of select
10-17 01:38:22.384: D/dalvikvm(1825): Debugger has detached; object registry had 1 entries
10-17 01:38:24.334: I/Choreographer(1795): Skipped 46 frames! The application may be doing too much work on its main thread.
10-17 01:38:24.544: D/dalvikvm(1795): GC_FOR_ALLOC freed 234K, 11% free 2785K/3100K, paused 42ms, total 80ms
10-17 01:38:25.233: I/Choreographer(1795): Skipped 127 frames! The application may be doing too much work on its main thread.
10-17 01:38:25.594: I/ActivityManager(286): Displayed org.siteprice.googlepagerankchecker/.MainActivity: +3s246ms
Is there anything I should do?
Use
yourapp:showAsAction="always"

Android porting init issue

I have successfully ported android for sabre-sdp board,and it is booting till init process after that it is showing (init:untrackedpid xxxx).I have all the log from booting process to end and also ihave collected logcat logs also . please go through ,if you find any solution help me out.
Thanks in advance for your support
Logcat LOGS
------------------------------------------------------------------
root#android:/ # logcat
--------- beginning of /dev/log/main
D/ ( 2351): init_sensors
D/ ( 2351): find sensor name mma845x
D/ ( 2351): input device 'mma845x' opened, fd = 8
E/installd( 2348): Could not create directories; exiting.
I/DEBUG ( 2342): debuggerd: May 13 2013 18:03:14
D/ ( 2351): find sensor name mag3110
D/ ( 2351): input device 'mag3110' opened, fd = 10
D/MagDaemon( 2351): magnetic sensor calibrate daemon start
D/MagCalibrated( 2351): fl_calib = 1
D/MagDaemon( 2351): magnetic calibrate daemon set threshold 100.000000
E/keystore( 2349): chdir: /data/misc/keystore: No such file or directory
--------- beginning of /dev/log/system
I/Vold ( 2340): Vold 2.1 (the revenge) firing up
D/Vold ( 2340): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 2340): Volume extsd state changing -1 (Initializing) -> 0 (No-Media)
I/Netd ( 2341): Netd 1.0 starting
D/Vold ( 2340): Volume extsd state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 2340): Volume extsd state changing 2 (Pending) -> 1 (Idle-Unmounted)
E/DirectVolume( 2340): Invalid 'PARTN' value
E/DirectVolume( 2340): Invalid 'PARTN' value
D/MDnsDS ( 2341): MDnsSdListener::Hander starting up
D/MDnsDS ( 2341): MDnsSdListener starting to monitor
D/MDnsDS ( 2341): Going to poll with pollCount 1
I/mediaserver( 2346): ServiceManager: 0x41992ce0
I/AudioFlinger( 2346): Using default 3000 mSec as standby time.
I/CameraService( 2346): CameraService started (pid=2346)
I/FslCameraHAL( 2346): Face Back Camera is ov5640_mipi, orient is 0
I/FslCameraHAL( 2346): Face Front Camera is uvc,ov5642_camera,ov5640_camera, orient is 0
D/AndroidRuntime( 2344):
D/AndroidRuntime( 2344): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 2344): CheckJNI is ON
I/AndroidRuntime( 2344): JNI options: '-Xjniopts:warnonly'
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/core.jar (/data/dalvik-cache/system#framework#core.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/core.jar'
I/SurfaceFlinger( 2343): SurfaceFlinger is starting
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/core-junit.jar (/data/dalvik-cache/system#framework#core-junit.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/core-junit.jar'
I/SurfaceFlinger( 2343): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/bouncycastle.jar (/data/dalvik-cache/system#framework#bouncycastle.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/bouncycastle.jar'
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/ext.jar (/data/dalvik-cache/system#framework#ext.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/ext.jar'
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/framework.jar (/data/dalvik-cache/system#framework#framework.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/framework.jar'
D/dalvikvm( 2344): Unable to stat classpath element '/system/framework/telephony-common.jar'
D/dalvikvm( 2344): Unable to stat classpath element '/system/framework/mms-common.jar'
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/android.policy.jar (/data/dalvik-cache/system#framework#android.policy.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/android.policy.jar'
W/imx6.gralloc( 2343): 32bpp setting of Framebuffer catched!
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/services.jar (/data/dalvik-cache/system#framework#services.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/services.jar'
E/dalvikvm( 2344): Could not stat dex cache directory '/data/dalvik-cache': No such file or directory
I/dalvikvm( 2344): Unable to open or create cache for /system/framework/apache-xml.jar (/data/dalvik-cache/system#framework#apache-xml.jar#classes.dex)
D/dalvikvm( 2344): Unable to process classpath element '/system/framework/apache-xml.jar'
E/dalvikvm( 2344): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar'
E/dalvikvm( 2344): VM aborting
F/libc ( 2344): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 2344 (zygote)
Had the same issue. This happens when the data partition didnt get flash properly. Watch out for indications like:
dd: writing to ‘/dev/mmcblk0’: No space left on device
or
[65561.466071] EXT4-fs (mmcblk0p4): bad geometry: block count 1653768 exceeds size of device (1639176 blocks)
[65602.323558] EXT4-fs (mmcblk0p4): bad geometry: block count 1653768 exceeds size of device (1639176 blocks)
Getting a larger SDCard would be a better idea.

Why debug window is empty in Eclipse running an Android app?

Why is the debug window empty debugging an Android app that does not include a MAIN and LAUNCH activity, but only a receiver? Is it normal or there is something wrong?
When I launch the app in debug mode this is the LogCat:
10-24 13:02:52.998: D/AndroidRuntime(5782): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-24 13:02:52.998: D/AndroidRuntime(5782): CheckJNI is ON
10-24 13:02:53.108: D/dalvikvm(5782): Trying to load lib libjavacore.so 0x0
10-24 13:02:53.118: D/dalvikvm(5782): Added shared lib libjavacore.so 0x0
10-24 13:02:53.159: D/dalvikvm(5782): Trying to load lib libnativehelper.so 0x0
10-24 13:02:53.168: D/dalvikvm(5782): Added shared lib libnativehelper.so 0x0
10-24 13:02:54.324: D/AndroidRuntime(5782): Calling main entry com.android.commands.pm.Pm
10-24 13:02:54.398: D/AndroidRuntime(5782): Shutting down VM
10-24 13:02:54.418: D/dalvikvm(5782): GC_CONCURRENT freed 102K, 78% free 466K/2048K, paused 1ms+3ms, total 22ms
10-24 13:02:54.448: D/dalvikvm(5782): Debugger has detached; object registry had 1 entries
10-24 13:04:07.651: E/ThrottleService(159): 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)
10-24 13:05:07.188: E/MP3Extractor(39): Unable to resync. Signalling end of stream.
10-24 13:05:08.118: I/AudioService(159): AudioFocus abandonAudioFocus() from android.media.AudioManager#412af538
10-24 13:06:00.370: D/dalvikvm(220): GC_CONCURRENT freed 386K, 57% free 9099K/20743K, paused 74ms+10ms, total 195ms
This is the Console window
[2012-10-24 15:02:53 - SMSApp] ------------------------------
[2012-10-24 15:02:53 - SMSApp] Android Launch!
[2012-10-24 15:02:53 - SMSApp] adb is running normally.
[2012-10-24 15:02:53 - SMSApp] No Launcher activity found!
[2012-10-24 15:02:53 - SMSApp] The launch will only sync the application package on the device!
[2012-10-24 15:02:53 - SMSApp] Performing sync
[2012-10-24 15:02:53 - SMSApp] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'NFC-Smartphone-1'
[2012-10-24 15:02:55 - SMSApp] Application already deployed. No need to reinstall.
[2012-10-24 15:02:55 - SMSApp] \SMSApp\bin\SMSApp.apk installed on device
[2012-10-24 15:02:55 - SMSApp] Done!
As you can see the application was already installed on the emulator, but the same issue is present when the application is installed for the first time.
Let me know whether it is useful to see also the code.
I tried with a slightly different version of the same app just to force Eclipse to reinstall the app in the emulator (added a space). This is the LogCat of the reinstallation:
10-25 12:43:14.628: D/AndroidRuntime(701): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
10-25 12:43:14.628: D/AndroidRuntime(701): CheckJNI is ON
10-25 12:43:14.687: D/dalvikvm(701): Trying to load lib libjavacore.so 0x0
10-25 12:43:14.707: D/dalvikvm(701): Added shared lib libjavacore.so 0x0
10-25 12:43:14.747: D/dalvikvm(701): Trying to load lib libnativehelper.so 0x0
10-25 12:43:14.747: D/dalvikvm(701): Added shared lib libnativehelper.so 0x0
10-25 12:43:15.647: D/AndroidRuntime(701): Calling main entry com.android.commands.pm.Pm
10-25 12:43:15.707: W/ActivityManager(148): No content provider found for permission revoke: file:///data/local/tmp/SMSApp.apk
10-25 12:43:15.737: W/ActivityManager(148): No content provider found for permission revoke: file:///data/local/tmp/SMSApp.apk
10-25 12:43:15.917: I/PackageManager(148): Removing non-system package:com.storassa.android.smsapp
10-25 12:43:15.917: I/ActivityManager(148): Force stopping package com.storassa.android.smsapp uid=10044
10-25 12:43:15.967: I/dalvikvm(148): Jit: resizing JitTable from 4096 to 8192
10-25 12:43:16.088: I/PackageManager(148): Package com.storassa.android.smsapp codePath changed from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk; Retaining data and using new
10-25 12:43:16.098: I/PackageManager(148): Running dexopt on: com.storassa.android.smsapp
10-25 12:43:16.948: D/dalvikvm(715): DexOpt: load 124ms, verify+opt 526ms, 730780 bytes
10-25 12:43:16.977: I/ActivityManager(148): Force stopping package com.storassa.android.smsapp uid=10044
10-25 12:43:16.977: W/PackageManager(148): Code path for pkg : com.storassa.android.smsapp changing from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:16.977: W/PackageManager(148): Resource path for pkg : com.storassa.android.smsapp changing from /data/app/com.storassa.android.smsapp-2.apk to /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:17.067: D/PackageManager(148): New package installed in /data/app/com.storassa.android.smsapp-1.apk
10-25 12:43:17.337: D/dalvikvm(148): GC_CONCURRENT freed 664K, 8% free 11375K/12231K, paused 77ms+12ms, total 180ms
10-25 12:43:17.337: D/dalvikvm(148): WAIT_FOR_CONCURRENT_GC blocked 100ms
Another tips: no saved filters appears in LogCat.

Categories

Resources