Saturday, 15 September 2012

android - Eclipse testing my applications on a phone,via usb connection ,on OS X (Yosemite) -



android - Eclipse testing my applications on a phone,via usb connection ,on OS X (Yosemite) -

so, want ,is able run applications eclipse, straight on phone.so when run them, .apk gets installed , app runs on phone, in virtual device.

although, phone won't show in list of "running android devices".

i have tried this: http://developer.android.com/tools/device.html -did not work me ,or perhaps worked partially nail little bump @ end.when run adb devices command, this:

list of devices attached 323052d0eae6c0ed unauthorized

any ideas how solve highly appreciated!

note: trying on macbook runs os x yosemite.

it's device no longer authorized on adb whatever reason.

1. check if authorized:

<android_sdk_home>\platform-tools>adb devices list of devices attached 4df798d76f98cf6d unauthorized

2. revoke usb debugging on phone

if device shown unauthorized, go developer options on phone , click "revoke usb debugging authorization" (tested jellybean & samsung galaxyiii).

3. restart adb server:

then restarted adb server

adb kill-server adb start-server

4. reconnect device

the device inquire if agree connect computer id. need confirm it.

5. check device

it authorized!

adb devices <android_sdk_home>\platform-tools>adb devices list of devices attached 4df798d76f98cf6d device

after doing need install samsung kies show phone in list of "running android devices".

android eclipse android-debug

No comments:

Post a Comment