The Android application runs on the emulator, but not on the phone ("Unable to send DDM fragment XXXX: no handler defined")

I made a very simple application to start playing with Android development.

It works fine on the emulator, but when I try to install it on my HTC Hero (v1.5), the following error appears:

Excuse me! The Simple Dial application (process com.foo.simpledial) has stopped unexpectedly. Please try again. (Close button)

and in the Eclipse console , I get the following message:

[2010-06-14 23:10:52 - Simple Dial] Uploading Simple Dial.apk onto device 'HT9BSHF00222'
[2010-06-14 23:10:53 - Simple Dial] Installing Simple Dial.apk...
[2010-06-14 23:10:56 - Simple Dial] Success!
[2010-06-14 23:10:56 - Simple Dial] Starting activity com.alanvaghti.simpledial.DialActivity on device 

[2010-06-14 23:10:57 - Simple Dial] ActivityManager: Can't dispatch DDM chunk 46454154: no handler defined
[2010-06-14 23:10:57 - Simple Dial] ActivityManager: Can't dispatch DDM chunk 4d505251: no handler defined

[2010-06-14 23:10:57 - Simple Dial] ActivityManager: Starting: Intent { action=android.intent.action.MAIN categories={android.intent.category.LAUNCHER} comp={com.alanvaghti.simpledial/com.alanvaghti.simpledial.DialActivity} }

I put android:debuggable="true"inside the application tag in manifest.xml

Any ideas on what's going on? Thanks in advance!

+3
3

-sdk ?

<uses-sdk android:minSdkVersion="4" />
0

, . ( USB), . " " . "Google usb driver".  Charly

0

, , , , . Android 4 ( )

Layout - - -XLarge

, XML , 2,7 . , 2,7 . , , . , Layout. , main.xml, . , , . 1) ( xml ), FUNCTIONALITY . 2) Layout, XML , , .

Happy development ...

0
source

Source: https://habr.com/ru/post/1750051/


All Articles