Re: [android-developers] Install failing with Android SDK Manager

2012-12-31 Thread Dev Guy
Carlos thanks, that's what I did and got things working!


On Sun, Dec 30, 2012 at 6:24 AM, Carlos A. M. dos Santos <
unixma...@gmail.com> wrote:

> On Sun, Dec 30, 2012 at 3:53 AM, Dev Guy  wrote:
> > Hello I am getting the following error after I run the Android SDK
> Manager:
> >
> > Installing Google APIs, Android API 17, revision 1
> > Installed Google APIs, Android API 17, revision 1
> > Updated ADB to support the USB devices declared in the SDK add-ons.
> > Stopping ADB server failed (code -1).
> > Unable to run 'adb': Cannot run program
> > "/opt/android-sdk-linux/platform-tools/adb": java.io.IOException:
> error=2,
>
> > $ uname -a
> > Linux karma 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012
> > x86_64 x86_64 x86_64 GNU/Linux
>
> From http://developer.android.com/sdk/installing/index.html
>
> "If you are running a 64-bit distribution on your development machine,
> you need to install the ia32-libs package using apt-get::
>
> apt-get install ia32-libs"
>
> --
> "The flames are all long gone, but the pain lingers on"
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Install failing with Android SDK Manager

2012-12-29 Thread Dev Guy
Hello I am getting the following error after I run the Android SDK Manager:

Installing Google APIs, Android API 17, revision 1
Installed Google APIs, Android API 17, revision 1
Updated ADB to support the USB devices declared in the SDK add-ons.
Stopping ADB server failed (code -1).
Unable to run 'adb': Cannot run program
"/opt/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2,
No such file or directory.
Starting ADB server failed (code -1).
Done. 9 packages installed.
Done loading packages.


I am trying to install Android on a Linux x64 box, I have

$ uname -a
Linux karma 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

I have the following java installed:

$ java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)


Also I am not seeing the ADT plugin getting installed when I install the
ATD from eclipse following the instruction here:

http://developer.android.com/sdk/installing/installing-adt.html

I do see the Android preferences from eclipse but I do not see the ATD
toolbar button in eclipse.

-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AVD Manager can't create SD Card error

2012-08-19 Thread Dev Guy
SOLVED: missing ia32-libs on my Linux x64

sudo apt-get install ia32-libs

http://stackoverflow.com/questions/3878445/ubuntu-error-failed-to-create-the-sd-card


On Sun, Aug 19, 2012 at 6:36 PM, Dev Guy  wrote:
> I am creating a 32MB SD Card, this is an odd error! I don't see this
> on my other machine, I've reinstall eclipse, ATD, and the AVD eclipse
> plugin and I am still getting this annoying error?
>
> Are there any other log that might point me to why I can't seem to
> create and a SD Card under my own User home directory?
>
> On Sun, Aug 19, 2012 at 4:04 PM, Mark Murphy  wrote:
>> How big of a virtual SD card are you trying to create? Usually, I just
>> create a 32MB one.
>>
>> On Sun, Aug 19, 2012 at 3:50 PM, Dev Guy  wrote:
>>> Hello I am developing on Linux x64 using Eclipse Juno and I am getting
>>> the following error when I use the AVD Manager to create a device.
>>>
>>> [2012-08-19 15:16:43 - SDK Manager] Failed to create the SD card.
>>> [2012-08-19 15:16:43 - SDK Manager] Failed to create sdcard in the AVD 
>>> folder.
>>>
>>> I have verified the folder permission for AVD which is located under
>>> /home/yadav/.android/avd
>>>
>>>
>>> yadav@karma:$ uname -a
>>> Linux karma 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC
>>> 2012 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> I've reinstall the ADT and it has not helped, can someone please tell
>>> me to get things working?
>>>
>>> --
>>> Kind Regards,
>>> Rajinder Yadav
>>>
>>> SafetyNet Test Driven Development
>>> http://safetynet.devmentor.org
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> _The Busy Coder's Guide to Android Development_ Version 4.0 Available!
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Kind Regards,
> Rajinder Yadav
>
> SafetyNet Test Driven Development
> http://safetynet.devmentor.org



-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] AVD Manager can't create SD Card error

2012-08-19 Thread Dev Guy
I am creating a 32MB SD Card, this is an odd error! I don't see this
on my other machine, I've reinstall eclipse, ATD, and the AVD eclipse
plugin and I am still getting this annoying error?

Are there any other log that might point me to why I can't seem to
create and a SD Card under my own User home directory?

On Sun, Aug 19, 2012 at 4:04 PM, Mark Murphy  wrote:
> How big of a virtual SD card are you trying to create? Usually, I just
> create a 32MB one.
>
> On Sun, Aug 19, 2012 at 3:50 PM, Dev Guy  wrote:
>> Hello I am developing on Linux x64 using Eclipse Juno and I am getting
>> the following error when I use the AVD Manager to create a device.
>>
>> [2012-08-19 15:16:43 - SDK Manager] Failed to create the SD card.
>> [2012-08-19 15:16:43 - SDK Manager] Failed to create sdcard in the AVD 
>> folder.
>>
>> I have verified the folder permission for AVD which is located under
>> /home/yadav/.android/avd
>>
>>
>> yadav@karma:$ uname -a
>> Linux karma 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC
>> 2012 x86_64 x86_64 x86_64 GNU/Linux
>>
>> I've reinstall the ADT and it has not helped, can someone please tell
>> me to get things working?
>>
>> --
>> Kind Regards,
>> Rajinder Yadav
>>
>> SafetyNet Test Driven Development
>> http://safetynet.devmentor.org
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 4.0 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] AVD Manager can't create SD Card error

2012-08-19 Thread Dev Guy
Hello I am developing on Linux x64 using Eclipse Juno and I am getting
the following error when I use the AVD Manager to create a device.

[2012-08-19 15:16:43 - SDK Manager] Failed to create the SD card.
[2012-08-19 15:16:43 - SDK Manager] Failed to create sdcard in the AVD folder.

I have verified the folder permission for AVD which is located under
/home/yadav/.android/avd


yadav@karma:$ uname -a
Linux karma 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux

I've reinstall the ADT and it has not helped, can someone please tell
me to get things working?

-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Supported Java packages for Android

2012-07-05 Thread Dev Guy
On Thu, Jul 5, 2012 at 2:45 PM, Dev Guy  wrote:
> Hello,
>
> I am in the process of moving my C++ skills over to Java. Could
> someone point me to reference about what Java packages are supported
> by Android. This will help me focus on Java as it only applies to
> Android development.

I just realized by looking through the Android reference I can pretty
much figure out this answer. If there is anything else other
experienced Android developer can share to help me ramp up please do.

-- 
Kind Regards,
Rajinder Yadav

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Supported Java packages for Android

2012-07-05 Thread Dev Guy
Hello,

I am in the process of moving my C++ skills over to Java. Could
someone point me to reference about what Java packages are supported
by Android. This will help me focus on Java as it only applies to
Android development.

-- 
Kind Regards,
Rajinder Yadav

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Error running a blank project

2012-05-07 Thread Dev Guy
On Mon, May 7, 2012 at 7:45 PM, Mark Murphy  wrote:
> On Mon, May 7, 2012 at 2:18 PM, DevGuy  wrote:
>> Hello I am trying to get started a simple hello world app going. I
>> created a blank android (4.0.3) project and when I try to run it I get
>> the following error.
>>
>> [2012-05-07 13:43:04 - HelloAndroid] Error in an XML file: aborting
>> build.
>>
>> If I look at the "Problems" tab in eclipse, it says "Premature end of
>> file" in resource main.out.xml
>>
>> I have not hand edited this xml file, when I open it, it is blank, so
>> what could be wrong?
>
> You probably tried to run a project, while having main.xml as the
> active editor tab. Eclipse sometimes gets confused and tries running
> an XSLT script instead of running the Android project. Just delete
> main.xml.out and try again.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android 4.0 Programming Books: http://commonsware.com/books
>

Mark,

that was it! Thanks I finally got a hello world app working. Also
didn't realize it takes a long while for the AVD to initialize before
I can see my app run.

-- 
Kind Regards,
Rajinder Yadav

SafetyNet Test Driven Development
http://safetynet.devmentor.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en