G1 detected as 'offline' by Eclipse plugin

by GiladH » Tue, 02 Dec 2008 04:34:38 GMT


Sponsored Links
 Guys,

I can debug my app just fine with the emulator.

However, when I connect my G1 device to desktop via USB and attempt
to run/debug my app on it (after following "Developing on Device
Hardware" steps in android docs) I fail.

The error msg I get: "Failed to upload MyAppName.apk on device
'HT841LC09904': Unable to open sync connection!"

Running "adb devices" displays the G1 device is as 'offline'.

The G1 relevant configuration values are:
     - Wireless controls>Airplain mode==true
     - SDCard >Use for USB storage==false
     - Application>Unknown Resources==true
     - Development>USB Debugging==true

Also - application section of manifest app contains:
android:debuggable="true"

Any helpful idea will be welcomed.

GiladH
--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by joshv » Tue, 02 Dec 2008 04:58:14 GMT


 Make sure "stay awake" in the Application | Development menu settings
is enabled - if I don't have that enabled, adb will regularly crash
when the phone goes to sleep.  Sometimes unplugging the phone's USB
cord and plugging it back in will help, but sometimes I've found that
periodically the windows drivers will just stop working, and adb can't
see the phone no matter what I do - I basically have to reboot to
restore connectivity.  Are you sure the drivers installed properly to
begin with?

-josh



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


G1 detected as 'offline' by Eclipse plugin

by GiladH » Tue, 02 Dec 2008 17:30:56 GMT


 Hi,
Setting "stay awake" makes no differentce. So does rebooting desktop &
device...
I am using the driver supplied by Google.

GiladH







--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by GiladH » Wed, 03 Dec 2008 00:15:29 GMT


 Problem resolved.
Probably due to improper USB driver installation.





--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by Hypercreature » Wed, 28 Jan 2009 10:42:03 GMT


 Hey GiladH,
I'm having the same problem. How did you fix it? A restart or
something? Thanks.





--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by GiladH » Sun, 15 Feb 2009 01:22:15 GMT


 Hi,

If you're ALWAYS having this problem - your best bet it so go to the
driver manager and look for yellow (i.e. incompletely installed) USB
drivers

If you're having this problem every now & again - just boot your PC
when it happens. couldn't figure out anything smarter than that..

GiladH







--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by Al Sutton » Sun, 15 Feb 2009 02:12:55 GMT


 If you're running Vista you may just be stuffed.

I have two machines, an XP one and a Vista one. The Vista one always 
lists the G1 as being offline and reports no problems with the driver 
installation (no yellow triangle, no error message, just a "This device 
is working properly." in the Device Status box).

Take the same G1, same cable, and plug it into the XP box, and use the 
same SDK revision, and everything just works.

Al.
 http://andappstore.com/ 








-- 
======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by Cian Masterson » Fri, 06 Mar 2009 05:19:39 GMT


  had the exact same problem on my Ubuntu laptop and after swearing at
it for 2 hours I discovered the problem was caused by a USB hub. When
I connected the G1 directly to the laptop the problem went away.

If you see this problem I would try removing any USB hubs from the
equation first. If you are using a desktop try using the USB
connectors at the back of the machine, as the ones at the front can
sometimes be on a hub.

Slan,
Cian

On Feb 14, 6:12pm, Al Sutton <a...@funkyandroid.com> wrote:

--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by Al Sutton » Fri, 06 Mar 2009 15:23:41 GMT


 he cable was plugged directly into a USB port on the motherboard.

Trust me, ABD + G1 + Vista is not a good combination.

Al.

Cian Masterson wrote:


--

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the
company number 6741909. The registered head office is Kemp House,
152-160 City Road, London, EC1V 2NX, UK.

The views expressed in this email are those of the author and not
necessarily those of Funky Android Limited, it's associates, or it's
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~



G1 detected as 'offline' by Eclipse plugin

by Hypercreature » Tue, 28 Apr 2009 11:36:19 GMT


 ctually this was the solution. Thanks a lot Cian. I really appreciate
it.

On Mar 5, 10:57am, Cian Masterson <cian.master...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Transparent background overlay of SurfaceView broken on 1.5

I believe I have found a graphics bug introduced in the 1.5 platform.
I'm looking for some confirmation (or a description of what I'm doing
wrong) before reporting it as a real bug.

I have a SurfaceView that fills the screen and on top of that I have a
LinearLayout that wraps some other components that overlay the
surface. These other components are not visible most of the time, and
the LinearLayout has a transparent background so that the SurfaceView
is unobstructed until the other components are made visible. Under 1.0
and 1.1 this all worked with a background of #00000000 for the
LinearLayout. Now under 1.5 there is a black rectangle obstructing my
surface unless I give the LinearLayout background some color. I can
still keep the transparency so it is still invisible as it should be
but it is strange that it can't be black and invisible anymore. My
layout is below. The background of #00000001 works, but changing it to
#00000000 results in a black rectangle.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:keepScreenOn="true"
    android:background="#000">
    <SurfaceView
        android:id="@+id/surface"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"/>
    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="#00000001"
        android:paddingRight="85dp"
        android:layout_centerInParent="true"
        android:orientation="vertical"
        android:gravity="center_horizontal">
        <TextView
            android:id="@+id/game_large"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingBottom="8dp"
            android:background="#00000000"
            android:textColor="#FFFFFFFF"
            android:shadowColor="#FF000000"
            android:shadowRadius="6"
            android:textSize="36sp"
            android:textStyle="bold"
            android:visibility="invisible"
            android:text="@string/paused"/>
        <TextView
            android:id="@+id/game_small"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:background="#00000000"
            android:textColor="#FFFFFFFF"
            android:shadowColor="#FF000000"
            android:shadowRadius="3"
            android:textSize="18sp"
            android:textStyle="bold"
            android:visibility="invisible"
            android:text="@string/paused_detail"/>
    </LinearLayout>
</RelativeLayout>

--~--~---------~--~----~------------~-------~--~----~

2. How to create update.zip file.

Hi,

In my project i m getting boot.img, system.img, recovery.img and
userdata.img.

Now i want to create an update.zip file so that i can flash it on
device in recovery mode.

I tried creating it simply using winrar.

But i m getting some signature verification errors.

So whats the standard way to create update.zip file.

TIA

--shashank
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Attempting to pass data via NotificationManager - Seeking Help/Advice

4. How to calculate the widget width and height on different Home Application?

5. How do I make a ListView scrollbar expand whilst scrolling?

6. android.os.SystemProperties???

7. How to get current time?