Skip to content

AT&T Developer Program

AT&T Developer
  • Products
  • Resources
  • Blog
  • Sign In
  1. Forums
  2. AT&T Video Optimizer
  3. Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"

AT&T Video Optimizer|Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"


Please Sign in to reply to a thread or create a new forums post. Not yet a member? Join Now.
by Replied by udayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
Sbowing Error in Android Emulator "Error tcpdump not compiled for this device" Mar 04, 2015 05:34 AM
<P>Hi,</P><P>&nbsp;</P><P>I am&nbsp;Collecting Data Using Android Emulator Android version 4.1.2 API Level 16.</P><P>&nbsp;</P><P>Steps:</P><P>&nbsp;</P><P>1)&nbsp;Launched the AT&amp;T ARO Data Analyzer application</P><P>2)&nbsp;To start collecting data, select Start Collector on the Data Collector menu</P><P>3)&nbsp;Entered the trace folder name in the dialog box and then click Start.</P><P>4) next getting error like this "Error tcpdump not compiled for this device".</P><P>&nbsp;</P><P>can you please solve my question..</P><P>&nbsp;</P><P>thanks in advance!!</P><P>&nbsp;</P><P>Thanks &amp; Regards,</P><P>Uday Reddy.S</P><P>&nbsp;</P>
by Replied byDoug Sillars
3 Posts
183 Comments
Joined Oct 16, 2009
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 04, 2015 08:56 AM

Uday, 

 

I just attempted the same - and it ran for me.

 

Here are my emulator settings:

Screen Shot 2015-03-04 at 8.55.06 AM.png

 

If you are on a PC - is winpcap installed?

 

Doug

by Replied byudayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 04, 2015 09:30 AM
Hi dougs,
Thanks for your reply.
Its not showing any error in emulator..its working also for me.
Facing issue at recording level when we tap on start button after enter TraceAndroid folder name.
by Replied byDoug Sillars
3 Posts
183 Comments
Joined Oct 16, 2009
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 04, 2015 09:33 AM

Uday, 

 

So the issue is with your computer?  Where do you see:

 

4) next getting error like this "Error tcpdump not compiled for this device".

 

Is that inside the emulator? Or inside ARO?  If inside ARO - do you have winpcap on your windows machine installed?

 

Doug

by Replied byudayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 04, 2015 10:03 AM
Hi dougs,

Thanks for your reply..

I am getting error in ARO Analyzer.I have already installed the winpcap in my system.
If I work with connect USB & real device then not showing any error after click on start button but inside Tracefolder not generating any files..when open Trace through file menu then showing error(which i have posted earlier).


Thanks in advance!!

Thanks & Regards,
Uday Red
by Replied byudayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 04, 2015 10:29 PM

Hi dougs,

 

whenver you are free let me know..I'l share what I am following..

 

Thanks in advance!!

 

Thanks & regards,

 

Uday Reddy.S

by Replied byudayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 05, 2015 05:05 AM

 Hi dougs,

 

I have downloaded both ARO Data Collector,AROAnalyzer for my windows 7-32 bit operating system.

 

1) with help of ARO Data Collector collected  data from an application

2) Using the Data Analyzer  It taken the trace data collected from your app..now its working fine for me & showing diagnostics also.

 

I have one doubt here..

 

from Diagnostic & rest of tabs how can i analyze the App how much Battery consumption, how long it wil taking to responce.

 

can you please give me clear Idea..

 

Thanks in advance!!

 

Thanks & regards,

Uday Reddy.S

 

 

by Replied byDoug Sillars
3 Posts
183 Comments
Joined Oct 16, 2009
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 06, 2015 09:38 AM

Uday, 

 

So glad you got ARO working.

 

Now you have a trace and are looking to understand battery drain.

 

When I think about battery drain, the biggest culprits on a mobile device are:

1. screen

2. radios (Wi-Fi/cellular/GPS/Bluetooth)

 

ARO uses a model based on actual data I collected on a phone to collect the power used by your app. On the Best Practices tab, you'll see an entry "Energy Consumed"  This tells you the # of Joules your app used.  

 

Your phone's battery will have a Wh and V rating.

Wh*V*3600 = joules in the battery

 

So for a Samsung S4:

9.88 * 3.8*3600 = 135,158J, or 135 KJ

 

If your trace used 2,000J  that's 1.5% of the battery.

 

To improve that number:

 

Reduce the number of connections. the less the radio is on - the more power you'll save.  TCP Control bursts are caused by CONNECTION_CLOSE packets. The connections are closed several seconds later - but the radio timers are reset.  Close the connections right away.

 

look at the documentation in the ARO section of this site for more ideas. 

 

Doug

 

 

 

 

by Replied byudayreddy
2 Posts
9 Comments
Joined Feb 24, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 11, 2015 03:35 AM

Hi Dougs,

 

I have collected data of Application Using AT&T ARO  Data Collector.

 

  • Launched AT&T ARO 'Data Collector' and click 'Start Collector'.
  • Click 'Hide Collector', opened application in the Emulator, and begin testing.
  • When finished testing, go back to AT&T ARO and click 'Stop Collector'. Click 'OK' to complete collecting the trace.

Next 

 

Launched "AT&T ARO 'Data Analyzer'" click on Open Trace from my local computer (where I have saved path of TraceFiles).

 

Navigated to "Waterfall" tab  then showing my PC files Name,Applications (it is capturing PC applications)  & as well capuring emaultor also (we want to capture Emulator Application what we are running 

 

please find below URL to look at Screen

 

 

https://www.dropbox.com/s/b56322xj1o9v5rj/capuring%20local%20PC.png?dl=0

 

Thanks in Advance!!

 

by Replied byDoug Sillars
3 Posts
183 Comments
Joined Oct 16, 2009
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 11, 2015 09:02 AM

Uday, 

 

When testing on the emulator, you do not need to use the apk.

 

The emulator is by default rooted, and the "Start collector" on the ARO analyzer will record the traffic right on the emulator. See the docs for details:

http://developer.att.com/application-resource-optimizer/docs#testing-android-emulator

 

 

If you are using the collector APK on the emultaor, I bet it *is* collecting all of the traffic on the device.  I think it reads all of the data transmitted over the interface.  Since the emulator interface is also the PC interface - you are seeing PC traffic as well.

 

Try the above procedure, and see fi it works.

 

Doug

 

by Replied byshamiksaha
0 Posts
12 Comments
Joined Mar 11, 2015
'Re: Sbowing Error in Android Emulator "Error tcpdump not compiled for this device"' Mar 11, 2015 11:01 AM

So how did you solve this?

Please confirm that you want to flag this content as inappropriate.

???forums.modal.inappropriate.message???
Please confirm that you want to delete this content.

  • Current page1
  • 2
  • 3
  • ›
  • »
Click here to go to top of the page
  • APIS & TOOLS
    • AT&T Video Optimizer
  • APIS & TOOLS
    • Futurist Reports
    • Technical Library
  • SUPPORT
    • Contact Us
    • FAQs
    • Twitter
  • AT&T Developer Program on Github
  • AT&T Developer Program on Facebook
  • AT&T Developer Program on Twitter
AT&T Logo

Terms of Use   Privacy Policy   Your Privacy Choices California Consumer Privacy Act (CCPA) Opt-Out Icon
©2025 AT&T Intellectual Property. All rights reserved

AT&T, the AT&T logo and all other AT&T marks contained herein are trademark of AT&T Intellectual Property and/or AT&T affiliated companies.