Getting strange problem with ADB command

35 views
Skip to first unread message

War Lock

unread,
Dec 16, 2015, 3:47:58 AM12/16/15
to null

Hi All,

I am trying to test an android application and i am using emulator (Android SDK) for that. Recently i have installed new kali linux 2.0 on my system. The error that i am getting is that i am able to start my AVD but when i type ADB devices i see a blank line after 'list of devices'. Previously, i was able to perform all actions using ADB command.

I checked it by connecting my own phone to the system and then after hitting adb devices it is showing my device and i am able to run adb shell also. I have tried to search for a solution on google nd have tried almost everything since yesterday.

Please help me if any one of you has some idea about it.

Thanks.


Rajesh A.

unread,
Dec 16, 2015, 5:52:43 AM12/16/15
to null-...@googlegroups.com
You can verify the debugging enabled on the emulator or a restart of emulator.

--
______________________________________________________________________________
null - Spreading the right Information
null Mailing list charter: http://null.co.in/section/about/null_list_charter/
______________________________________________________________________________
Do you trust your hardware?
http://hardwear.io
---
You received this message because you are subscribed to the Google Groups "null" group.
To unsubscribe from this group and stop receiving emails from it, send an email to null-co-in+...@googlegroups.com.
Visit this group at https://groups.google.com/group/null-co-in.
For more options, visit https://groups.google.com/d/optout.



--
Thank You.
Regards.
Rajesh A.

War Lock

unread,
Dec 16, 2015, 11:40:59 PM12/16/15
to null-...@googlegroups.com
I have tried the following steps : 

1. adb kill-server , and then starting it again. But issue remained.
2. I closed the emulator and started again but nothing happened. 
3. i also tried shutting down the system and restarting again. 
4. Updated and Upgraded the system. 


Still the problem is same. 

I am able to locate actual device connected but adb is not able to locate it when there is an avd running. 


Neeraj Godkhindi

unread,
Dec 17, 2015, 12:15:28 AM12/17/15
to null-...@googlegroups.com

Hi

Your  emulator is not connected .

Regards
Neeraj

War Lock

unread,
Dec 17, 2015, 2:46:19 AM12/17/15
to null-...@googlegroups.com
please guide me on how to connect it. 


Rajesh A.

unread,
Dec 17, 2015, 3:07:25 AM12/17/15
to null-...@googlegroups.com

Rajesh A.

unread,
Dec 17, 2015, 3:15:03 AM12/17/15
to null-...@googlegroups.com
If you failed in all options 

I would suggest you to go parallel with AppUse -> https://appsec-labs.com/appuse/#av_section_5

War Lock

unread,
Dec 17, 2015, 3:52:31 AM12/17/15
to null-...@googlegroups.com
Hi Rajesh,

I have recently installed kali linux 2.0 64 bits on system. Earlier i was using kali 1.0 i never came across any such issue with emulator. 
So, I installed android-sdk by apt-get. After which i was getting command not found error with adb. SO, i installed android-tools-adb from terminal. after that i started the avd and typed adb devices to see it. but i am getting a blank line after list of devices. I attached an actual device to see if adb s working fine.. i was able to perform all commands on live device but not on emulator.

I hope this would help you regenerate the issue. 

I have already tried all the tips given on those links. 



War Lock

unread,
Dec 18, 2015, 6:06:14 AM12/18/15
to null-...@googlegroups.com
Hi, 

Can you guide me on how to run Appuse?

I have downloaded Appuse as suggested by you, but i am not able to run it on virtual box. It just gets stuck on a black screen and never gets installed. Kindly guide me on how to use this os. 

Thanks in advance.

Rajesh A.

unread,
Dec 18, 2015, 12:26:16 PM12/18/15
to null-...@googlegroups.com
Sorry for the delayed reply - I was not having public internet access.

If you are getting blank screen after booting looks like the VGA issue of Ubuntu ..

In general to solve it you need to pause it at grub and add any one of the parameters from these 4 -> 1. nomodset 2. "vga=796"  3. acpi=off 4.nolapic  at the end of kernel parameters  remove "quite" and "splash"

You can also try acpi = off and nolapic if  also shows up as a black screen.

War Lock

unread,
Dec 23, 2015, 1:43:24 AM12/23/15
to null-...@googlegroups.com
hi i was able to finally get it.
i just had to do this. 

adb connect 127.0.0.1:5555

then i tried adb devices then the device was successfully connected.
Reply all
Reply to author
Forward
0 new messages