Jump to content

Android 2.1 (FLB v1.5) - App Development


Recommended Posts

Guest bugthing
Posted

Hello All,

I had the 1.5 Custom Rom (vanilla) on my Pulse and it was working well with Eclipse for development of apps.

I have since upgraded using the Ultimate Guide and more excellent work by the top peps on this forum to 2.1 .. much better but I am left with 1 problem.

I can not use Eclipse to debug any app on my Pulse! :P

Not sure what the problem is .. but likely related to the fact that when I do

 adb devices
I get
List of devices attached 

????????????	device

So I was wondering has anyone managed to use Eclipse to debug an app on their Pulse running Android 2.1?

.. if so, which Rom are you using?

... was there anything to had to alter to get it work?

Thanks for any help you can offer.

-B

Posted (edited)

I always got that, adb still worked for me.

Make sure you have debugging turned on in settings?

Edited by Josh04
Posted (edited)

You need to make sure you have the right drivers installed for the 2.1 ROMs, which is a bit hit and miss in my experience (also varies depending on which USB port I am plugged into...) Check the threads for proper driver information.

If you mean logging, you may need to manually enable it in the kernel, I can't remember if it was switched on by default in the later FLB mod versions.

Try using the adb shell:

echo 1 > /sys/kernel/logger/log_main/enable

echo 2 >/sys/kernel/logger/log_main/priority

Edited by Stevos
Guest bugthing
Posted

Hi,

Thanks for the replies.

I can use adb to connect to the phone via:

 adb sh

That works fine :P

When using Eclipse I can't seem to debug any applications using my phone, if fails with a 'Can't Install .apk' .. or something similar.

I guess I'll keep trying.

I was just wondering if anyone else was managing to use Eclipse to debug applications they have in development???

thanks again,

-B

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.