Android :: Can't Debug With Nexus One / What I Might Do Wrong?
May 22, 2010
I have a HTC Hero and newly also a Nexus One. I used to debug with the HTC Hero which worked just fine. Now when I try to debug with my Nexus One I just can't make it work. I updated everything Android via Eclipse and have now the version which officially supports Nexus One as a debug device. Whenever I connect the Nexus One, turn on Debug Mode and want to run the application I don't see the device in the debug list.
Anyone got any ideas what I might do wrong? As said above, with the HTC Hero it works just fine.
View 6 Replies
Mar 15, 2010
I can't get Ubuntu 9.10 to recognize the Nexus One as a debug device. I tried following the instructions found here but they are not working: http://alan.lamielle.net/2010/01/22/nexus-one-usb-in-ubuntu-9-10
Anyone know of a link or know how to get the Nexus One to debug correctly in Ubuntu 9.10?
View 4 Replies
View Related
Oct 28, 2010
The desktop application emulator works fine. Settings > Applications > Development > USB debugging is checked. The "USB debugging connected" alert is displayed on the Nexus One when the USB cable is attached but I can't seem to get the debugger to run the code on it. Is there something else I need to do to get the debugger to work on the device?
View 2 Replies
View Related
Jan 23, 2014
My devices where certain apps won't refresh/sync when I'm on wifi after getting a new router. Is there any way to see a debug log of what the network connection is trying to do when apps are trying to refresh?
View 2 Replies
View Related
Aug 3, 2013
Since updating to 4.3 both my and my girlfriend's Nexus 4 clock keeps jumping back 8 hours. Then corrects itself. Then goes wrong again, a few times per hour.
We bought the phones in the UK where there is an 8 hour time difference.
When we look at clock it says UK time is actually Los Angeles and Los Angeles is UK. It swaps them, which makes no sense.
Turning auto time zone off makes no difference, it's getting it from AT&T directly.
View 3 Replies
View Related
Feb 28, 2014
so, in an attempt to root my phone, i somehow deleted my OS. I dont kno how i did it nd there are no restore points. Phone won't load at all, i tried the bootloader mode nd tried wiping the cache and data several times but changes nothing....the phone connects to the computer to charge but wont come up as a storage device or a cell phone.
View 1 Replies
View Related
Oct 18, 2010
I have developed an application which en-composes list views and posted that .apk file in my htc device, the design and alignment everything works fine,but the problem When i am testing in various devices such as Morotolo Droid,Nexus Devices the alignment of Listviews goes wrong, so i planned to use the Layout folder as layout-hdpi,layout-ldpi, and layout-mdpi, for that i changed my manifest file as
<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />
Is it right putting android:anyDensity="true",also i used dp instead of dip. I went through this url, but still am not able to get a clear idea in this
http://developer.android.com/guide/practices/screens_support.html. so friends pls tell me(help me) to get clear idea in this and tell what mistakes i have doing. This is my main page xml code frnds.
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/background_retinav2">
<LinearLayout android:layout_gravity="center" android:foregroundGravity="bottom" android:background="@color/white" android:id="@+id/rl_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal">
<ImageView android:paddingTop="3dp" android:id="@+id/starthideimage" android:layout_width="30dp" android:layout_height="35dp" android:src="@drawable/newback" />
<HorizontalScrollView android:paddingTop="8dp" android:id="@+id/gv"
android:layout_width="wrap_content" android:layout_marginTop="0dp"
android:layout_height="wrap_content" android:background="#ffffff"
android:scrollbars="none" android:layout_weight="1" android:foregroundGravity="bottom">
<LinearLayout android:id="@+id/san_tag" android:layout_width="wrap_content" android:layout_height="wrap_content">
</LinearLayout>
</HorizontalScrollView>
<ImageView android:paddingTop="3dp" android:id="@+id/Endhideimage" android:layout_width="30dp" android:layout_height="35dp" android:src="@drawable/newforward" />
</LinearLayout>
android:id="@android:id/tabs"
android:gravity="bottom"
android:layout_gravity="bottom"
android:listSelector="@color/gray"
android:layout_width="fill_parent"
android:layout_height="wrap_content" /> </TabHost>
View 1 Replies
View Related
Dec 13, 2013
So a while back, I used adb to put android 4.4 kitkat onto my Nexus 4 (unrooted) for the first time. Normally I would wait for OTA updates but not in this case. So, when I did that the google play store wasn't working. I was annoyed, and went to loads of forums and every time I posted a thread I would get no response. Google customer support's only advice was to factory reset. So I waited a few weeks until recently when the 4.4.2 update came out, so I tried installing it and there was an error. After even more posting to forums, and still no responses (strangely they were all active forums) I just now had to do a factory reset. However, I can't sign into google (it says that there was a problem communicating with Google servers and to try again later, and when I press next the message repeats infinitely until I press the home button.) and also my google play services are apparently incompatible with my device?
View 2 Replies
View Related
Mar 5, 2012
Changed my lock screen pin today, but apparently entered it wrong (twice?) so it wasn't what I thought it would be...
How do I go about unlocking it? I really don't wanna reset the device or install a new rom! My Galaxy Nexus is rooted, I have gmail pw, ADB access and pin code...
View 1 Replies
View Related
Aug 11, 2010
What is the best way to debug ANR. ideally, it would be nice to know what call / thread / file and line number it is stalled at when the ANR occurs, but every time I look at /anr/traces.txt, I can't seem to find anything that points to something I can start tracking down.
View 5 Replies
View Related
Nov 8, 2009
I have mostly been avoiding debugging when I can because of these two problems, so hopefully someone here has suggestions to avoid them:
1. It seems that I have to build the SDK (`make sdk`) and copy it off to a directory for Eclipse to use almost every time I want to debug. I haven't followed through the "sdk" directive, so I'm not clear on why this is necessary instead of just having Eclipse read from the source in my directory. Isn't there some way for it to do this? FYI: I have a (modified) full checkout of Donut, not just the SDK.
2. How can I debug without using Eclipse? I would really like to be able to use something like gdb/jdb.
View 2 Replies
View Related
Aug 6, 2009
My app is crashing, How do I debug it? I'm using a HTC Magic and eclips. I looked in the documentation, but it doesn't say how to go about doing it.
View 3 Replies
View Related
May 11, 2009
How to debug application using gdb .
View 2 Replies
View Related
Jan 13, 2010
I'm trying to debug a native shared library that my App uses through JNI. I can attach to a running app just fine with "gdbserver --attach pid" but i need to actually launch my app when i launch the gdbserver command.
There's a million blog hits on this topic but none of them seem to be clear as to how you launch your app. They all say to just type "gdbserver 10.0.2.2:1234 ./MyProgram" but what exactly is "MyProgram". Is that MyProgram.apk? Is it MyProgram.so? Is it some other file that gets created when the app is installed? If so, what's its path?
View 1 Replies
View Related
Mar 13, 2009
I've tried to debug the android applications on emulator and than on the device as well but all the time I get the message "Wait for debugger - waiting for the debugger to attach to the process". I really don't know how to set the environment and the application in order to run the debug.
View 2 Replies
View Related
Jun 9, 2010
Is there a writeini / readini functions for andriod/ecplise developent? Or what is the best way to 'remember' a setting, and then at a later time restore it?
View 5 Replies
View Related
Nov 9, 2009
I have a user that says my application gives him an error on the Samsung Galaxy (it works fine one the G1). How can I debug this issue? Is there an accurate emulator/simulator? Can someone try it (Bendometer is the app)?
View 2 Replies
View Related
Nov 17, 2010
I am using Windows 7 64bit and I am trying to get my computer to detect my HTC Desire, but it's not picking it up. I have everything available installed through the Android Updater and I have got my phone running through Ubuntu, so it is definitely a problem with Windows.
I am using Windows 7 64 bit. I have a HTC Desire running Stock 2.2 (Froyo) that works with USB Debugging on my Ubuntu machine. Windows does detect that my phone is plugged in. It shows as a mass storage device. I have all the available things installed via the Android Updater.
View 5 Replies
View Related
Mar 3, 2010
I recently downloaded the latest NetBeans IDE (for MACOSX) and imported/migrated a project over from the ECLIPSE environment.Everything looks, and works well... except that EMULATOR gets stuck "waiting for the debugger to attach." I tried "Attaching Debugger." and set the PORT value to every case I've ever read about (8200, 8700, 5555, etc.) but the connection is refused.I am of the opinion that this is not the preferred way to start a debugging session in NetBeans for Android.
View 2 Replies
View Related
Apr 6, 2010
Can I copy the debug.keystore in My home directory to another PC's home directory? Does it have to be Linux on Linux, and Windows and Windows? Can I copy Linux keystores to Windows, and vice-versa?
View 1 Replies
View Related
Aug 15, 2009
All right - I admit my defeat. Can anyone walk me trough successfully debugging with MyTouch? Here's what I tried: 1. Plugged in the phone - my XP Prfessional never asked me for anything - just simply told me that "Hardware is ready to use" 2. In the phone - mounted USB - no problem accessing phone's SD which is mounted as a drive 3. Disconnected phone and in developer setting enabled Settings- >Applications->Development->USB debugging.
View 4 Replies
View Related
Jun 11, 2010
I've been developing on the simulator, but now I have a real device.
adb can see the device (from adb devices), and I've installed Eclipse/ ADB.
I can't work out how to get debug to use the device instead of the simulator though.
View 2 Replies
View Related
Nov 5, 2009
what do the following mean in the Heap view of *DDMS*:
1) Data Object
2) Class Object
3) 1,2,4,8-byte *array* : which arrays are we talking about here??
4) non- Java object
View 3 Replies
View Related
Jun 5, 2010
I'm new to Android development, and am attempting to run a test application on my actual device. I followed the instructions at http://developer.android.com/guide/developing/device.html (and related links), but the Android Debug Bridge (adb) doesn't recognize my connected device.
Some quick background info, I'm running WinXP, developing with Eclipse, with a Motorola Droid running Android 2.1 as my physical device.
An overview of the steps I've taken: Installed the Android SDK, downloading all necessary packages. Enabled USB Debugging on my device. Connected Device via USB, installing the driver from the SDK folder.
I'll stop here (though I continued to setup my application to be debug-able in Eclipse), because I at this point I noticed a problem.
Running "sdkoolsadb devices" at this point (at least, by my understanding), should list my device as connected. However, running this yields only: List of devices attached
My device recognizes that it's connected to a computer in debug mode, and my computer recognizes the device. However, I can't seem to get the sdk to recognize it. I'll leave out the steps I used to setup Eclipse for debugging on a device, as it doesn't seem relevant to the problem. I'll include them if requested.
View 4 Replies
View Related
Jun 27, 2010
I have a HTC Desire which i would like to debug and run my Android application on. But when i in Eclipse gets the Window where i can choose between devices my HTC Desire is listed with only questionmarks (???).
I have tried this:
Enabled USB Debugging on my device and enabled debugging in my application Manifest.xml file.
In Terminal i have do this:
1. Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
2. SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
3. sudo service udev restart
View 1 Replies
View Related
Sep 10, 2010
I've got some trouble with the media backend (mostly Stagefrightplayer) in Android, and I'd like to understand why it throws the errors it does. The errors are usually device spesific, so debugging on an emulator wouldn't be sufficient.
Example:
CODE:.................
Example 2:
CODE:.............................
I've also gotten the player to bork completely and spit out a traces.txt.
Is there a way to debug what's happening, just like I debug Java code?
View 3 Replies
View Related
Nov 19, 2010
I want to debug on my device and I am using a Windows 7, 64 bit, but I can't find correct drivers to do so. The perspective in Eclipse is whether changing nor halts the IDE at any breakpoint.Can you send me any suggestions how to use debugging?
View 6 Replies
View Related
Apr 3, 2009
Resent, it seems that the thread to android-discuss is lost.
View 2 Replies
View Related
Sep 18, 2009
Is their any other way to debug the framework sources? .Instead of adding logs in the framework source and building again.
View 3 Replies
View Related
Nov 10, 2009
I installed and eclipse, android sdk and tried the first "hello, android" tutorial but nothing happened on the AVD There are no compilation error, I tried to set break points in the but it does not seem like the application started running at all...
View 2 Replies
View Related