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. Having Trouble Creating SQLite Database

I am using a only moderately altered version of the database code from
the Notepad examples, but it doesn't appear that the db.execSQL
(CREATE_DATABASE); is ever being called, and then upon attempting to
do a create to add to the table, I get a "no such table" error.

Code to add to the table
public void addToGames(){
        GamesDataAdapter dbHelper = new GamesDataAdapter(this);
        dbHelper.open();
        dbHelper.createAsset(title, madeBy);
}

Then all of the adapter is unchanged except for the names changed to
be more relevant to my code, and I am fairly certain that I have
changed them in every position that they would need to be changed so I
don't believe that is my problem.

The Error looks as follows:
Error inserting value1=blah value2=blahblah
android.database.sqlite.SQLiteException: no such table: games: , while
compiling INSERT INTO games(value1,value2) VALUES(?, ?);

Any idea why I might be having trouble with creating the database and/
or the table?
--~--~---------~--~----~------------~-------~--~----~

2. Porting to x86 platform

I've been trying to build android based on the instructions on
http://source.android.com/download

The tree downloaded by those instructions does not compile on x86 - it
bombs out.. starts with a 'line too long' error from bash then
complains about missing files half way though.  I'd be happy to get
anything working right now, even a simulation.  That's the first
hurdle.

I know someone has ported it to the eepc 701, but I tried to exract
the binaries from that one & adding my known working kernel and they
don't work at all - exception in init whilst booting - so there's some
kind of eeepc specific stuff it's expecting.   It also uses an initrd,
which I'd rather avoid.

I have a  2.6.30 kernel that I know works, with the android patches
in.  The device is EFI based and has no legacy support (so no real
mode booting, no vesa, no VGA, etc.).  Booting I've sorted out and
have managed to patch elilo to run on the platform.  Screen is 800x480
touch screen, and there's no keyboard although I can plug a USB one in
for testing.

What I'm looking for is a way to create a filesystem tree the I can
tar up and unpack onto a fresly prepared USB stick.   Surely there's a
prebuilt one?  Once it's booted it is just a standard x86 linux system
with a framebuffer.  There's no even any sound to worry about (not
supported by ALSA), and all it needs to do is display stuff and
respond to the touch screen...

Tony

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

3. Please Help! I Can't get the ADT Plugin to Install

4. Getting Service interface across processes

5. return value after addJavascriptInterface(obj, "obj")

6. Title of dialog

7. jymsg implementation on android