adb cannot find my dev phone

by Antonio Si » Sun, 15 Nov 2009 05:48:30 GMT


Sponsored Links
 Hi,

I just got my android dev phone, but when I invoke "adb devices", it only shows:

List of devices attached
????????????    no permissions

What does it mean? What is the problem and how should I fix it?

Would appreciate any input.

Thanks.

Antonio.

--



adb cannot find my dev phone

by Lee Jarvis » Sun, 15 Nov 2009 07:24:13 GMT


 Read the documentation: 
 http://developer.android.com/guide/developing/device.html 

If it's a permissions issue try running `abd kill-server` followed by
`adb devices` as root, if your device shows you can either leave it
be, and switch back to a regular user and commence with debugging etc,
or set up permissions which is discussed within the documentation.

Regards,
Lee




--


Sponsored Links


Other Threads

1. android.process.acore error has stopped unexpectedly

I have ported android to an ARM v7 development board and I get the
above
message whenever I access the desktop applications like dialer,
contacts etc through the keybaord.
The logcat for the dialer is as below. I have taken care of
permissions but still get this, can anyone tell me why this happens?

# D/dalvikvm(  863): GC freed 464 objects / 34136 bytes in 96ms
W/KeyCharacterMap(  863): No keyboard for id 0
W/KeyCharacterMap(  863): Using default keymap: /system/usr/keychars/
qwerty.kcm.bin
D/dalvikvm(  677): GC freed 9028 objects / 501760 bytes in 245ms
I/ActivityManager(  677): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x10200000 comp=
{com.android.contacts/com.android.contacts.DialtactsActivity} }
W/ResourceType(  863): Failure getting entry for 0x7f030005 (t=2 e=5)
in package 0: 0xffffffb5
D/AndroidRuntime(  863): Shutting down VM
W/dalvikvm(  863): threadid=3: thread exiting with uncaught exception
(group=0x4000fe70)
E/AndroidRuntime(  863): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  863): java.lang.RuntimeException: Unable to start
activity ComponentInfo{com.android.contacts/
com.android.contacts.DialtactsActivity}: android.content.res.Resources
$NotFoundException: Resource ID #0x7f030005
E/AndroidRuntime(  863):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2268)
E/AndroidRuntime(  863):        at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2284)
E/AndroidRuntime(  863):        at android.app.ActivityThread.access
$1800(ActivityThread.java:112)
E/AndroidRuntime(  863):        at android.app.ActivityThread
$H.handleMessage(ActivityThread.java:1692)
E/AndroidRuntime(  863):        at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime(  863):        at android.os.Looper.loop(Looper.java:
123)
E/AndroidRuntime(  863):        at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime(  863):        at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  863):        at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime(  863):        at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime(  863):        at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime(  863):        at dalvik.system.NativeStart.main
(Native Method)
E/AndroidRuntime(  863): Caused by: android.content.res.Resources
$NotFoundException: Resource ID #0x7f030005
E/AndroidRuntime(  863):        at
android.content.res.Resources.getValue(Resources.java:846)
E/AndroidRuntime(  863):        at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1796)
E/AndroidRuntime(  863):        at
android.content.res.Resources.getLayout(Resources.java:685)
E/AndroidRuntime(  863):        at android.view.LayoutInflater.inflate
(LayoutInflater.java:318)
E/AndroidRuntime(  863):        at android.view.LayoutInflater.inflate
(LayoutInflater.java:276)
E/AndroidRuntime(  863):        at
com.android.internal.policy.impl.PhoneWindow.setContentView
(PhoneWindow.java:309)
E/AndroidRuntime(  863):        at android.app.Activity.setContentView
(Activity.java:1626)
E/AndroidRuntime(  863):        at
com.android.contacts.DialtactsActivity.onCreate
(DialtactsActivity.java:
73)
E/AndroidRuntime(  863):        at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
E/AndroidRuntime(  863):        at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2231)
E/AndroidRuntime(  863):        ... 11 more
I/Process (  677): Sending signal. PID: 863 SIG: 3
I/dalvikvm(  863): threadid=7: reacting to signal 3
I/dalvikvm(  863): Wrote stack trace to '/data/anr/traces.txt'
E/ActivityThread(  677): Failed to find provider info for
android.server.checkin
E/Checkin (  677): Error reporting crash:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/crashes
--~--~---------~--~----~------------~-------~--~----~

2. the user data image is used by another emulator. aborting

Hi all when im running my emulator i getting this error " the user
data image is used by another emulator. aborting " and emulator not
opening any time .What is the problem? pls help it is urgent .


Thanks& Regarding

siva.
--~--~---------~--~----~------------~-------~--~----~

3. Any way to find out the current running activity from a service?

4. Creating Custom Timezone Entry.

5. Failed to compile the portable version of mterp in dalvik/vm

6. Adding objects to a canvas

7. How can i start my own activity for new notification?