[android-beginners] Re: m5 not working

2008-04-04 Thread Xavier Ducrohet

Hi,

Look at http://code.google.com/android/intro/upgrading.html
See item 5 Update your project properties. Make sure you did that.

Xav

On Fri, Apr 4, 2008 at 12:07 PM, wamoc [EMAIL PROTECTED] wrote:

  I am running Ubuntu Gutsy and eclipse 3.2 It isn't a problem with my
  xml files (I did update the files for new syntax with no effect). Do
  you have any idea why m5 wont build the R.java file? I have tried
  cleaning the project to get it to build, but nothing works to get
  R.java except for going back to m3. A project that I am working on we
  need some of the features in m5, but can't get it to work.


  On Apr 4, 12:03 pm, Megha Joshi [EMAIL PROTECTED] wrote:
   Do your xml files follow the new syntax rules for m5. You might want to
   paste your resource files and your resource folder names here.
   I would also need your operating system version and eclipse version.
  
   Thanks,
   Megha
  

  On Fri, Apr 4, 2008 at 10:30 AM, wamoc [EMAIL PROTECTED] wrote:
  
Yes I did try that. I actually completely uninstalled eclipse and
installed only the new ADT plugin and tried that way. I was still
unsuccessful with that.
  
On Apr 3, 5:45 pm, Megha Joshi [EMAIL PROTECTED] wrote:
  Hi,
  
  Did you uninstall the previous version of the eclipse ADT plugin and
 install the latest one?
  
  -Megha
  
 On Thu, Apr 3, 2008 at 2:38 PM, wamoc [EMAIL PROTECTED]
wrote:
  
  I tried to upgrade the sdk from m3 to m5 and am having some problems.
  I followed all the instructions to update and when I am having 
 eclipse
  run the m5 version, R.java wont be created. If I switch it back to 
 m3,
  R.java is created.  When I switch it to m5 again, the R.java
  disappears. Does anyone have any idea of how to fix this?
  


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: m5 not working

2008-04-07 Thread Xavier Ducrohet

Hi,

I've never seen this behavior. If there was any errors in your
project, the R.java file would not be updated but it certainly would
not disappear during the build.
Is there anything the android console view or in the Problems view?

Xav

On Sun, Apr 6, 2008 at 12:35 PM, wamoc [EMAIL PROTECTED] wrote:

  Ok, on the windows machine I didn't try anything with CVS, just to get
  m5 to work.  I downloaded eclipse and put the program files in C:/
  program files/eclipse.  I downloaded m5 and put the folder in C:/.  In
  eclipse I installed the plugins with the directions on the android
  site. I then restarted eclipse and went to properties and told it the
  location of the m5 version of the sdk.  I created a new android
  project (to test things) and R.java was created no problems.  I then
  modified a file (main.xml) and when eclipse rebuilt the project,
  R.java disappeared. I tried cleaning the project, going to android
  tools and fixing project properties, basically anything that people
  recommended to get m5 to work on a project. Nothing would fix it.
  This is the exact same problem that my Ubuntu machine is having, it
  can create an initial R.java, but when it needs updating, it will no
  longer create it. I have tried the same steps on both of cleaning and
  whatnot to try to fix it. I am out of ideas on what to do. I know it
  is not just my computer/os, because 2 computers with different
  operating systems both having the same problems seems odd. It seems to
  me that the m5 release is pretty broken.



  On Apr 6, 12:42 pm, Dan U. [EMAIL PROTECTED] wrote:
   Wow. That sucks.
  
   My first inclination is that CVS is related. When you tried this on
   Windows, were you opening the project from a copy you got out of CVS?
  
   If it's not CVS, could you explain the exact steps you took to install
   everything on the Windows machine?
  
   On Apr 6, 10:08 am, wamoc [EMAIL PROTECTED] wrote:
  
Ok, I installed eclipse, the plugins and the sdk on my windows
machine, and the same problem is happening. Everything with this
computer is a completely clean install for android and eclipse things.
Any idea why this is happening?
The first machine tried on was a laptop running Ubuntu Gutsy, eclipse
3.2 (did try upgrading to 3.3) originally running m3 but updated to
run m5
Second machine tried on was a pc running Windows XP Pro, eclipse 3.3
running m5 (completely clean install, nothing for eclipse or android
was ever on this comp).
  
On Apr 6, 12:27 am, wamoc [EMAIL PROTECTED] wrote:
  
 Ok, I tried installing Eclipse Europa, and that didn't fix it.
 Tomorrow I will try to do this on my windows machine (shudder) and
 hope it works.
  
 On Apr 5, 10:19 pm, Dan U. [EMAIL PROTECTED] wrote:
  
  I think your development environment must be messed up. If I do a
  clean, R.java goes away, then regenerates immediately. Your eclipse
  version is ok according to the docs, but maybe you should try getting
  3.3. It seems Ubuntu has been giving people problems, so it might be
  related.
  
  On Apr 5, 8:31 pm, wamoc [EMAIL PROTECTED] wrote:
  
   Ok, I tried copying everything over to a new project and it made an
   initial R.java.  When I did a clean of the project, the R.java
   disappeared again. Why can't m5 seem to do anything with R.java 
 except
   create an initial one?
  
   On Apr 5, 5:17 pm, Dan U. [EMAIL PROTECTED] wrote:
  
I recall some other people having this problem and importing to 
 a new
project was a solution. Like you said, having it in cvs makes 
 copying
to a new project painful.
  
Probably some config file somewhere doesn't get updated. I 
 haven't
seen a list of all the changes to various files between m3 and 
 m5. If
you can find one, you would know what files to look at. You 
 could also
consider creating two default projects, one in m3 and one in m5, 
 then
running a diff on them.
  
On Apr 5, 2:26 pm, wamoc [EMAIL PROTECTED] wrote:
  
 Ok, I have figured out one thing, It wont generate the R.java 
 for
 existing projects, but it will for new ones. The project I am 
 working
 on is in a cvs repository, so I can't just try copying the 
 source over
 to a new project.
  
 On Apr 5, 3:14 pm, wamoc [EMAIL PROTECTED] wrote:
  
  I just tried that and it still wont generate R.java. I 
 double checked
  the paths in Eclipse to make sure they were looking to the 
 right
  areas, and they are. Later today I will try this on a 
 different
  computer and hope that that works. If any body else has any 
 ideas, I
  would greatly appreciate hearing them because I do most of 
 my work on
  this computer.
  
  On Apr 4, 1:42 pm, Xavier Ducrohet [EMAIL PROTECTED] 
 wrote:
  
   Hi,
  
   Look athttp://code.google.com

[android-beginners] Re: Can Android app's contain only intent receivers?

2008-04-11 Thread Xavier Ducrohet

On Fri, Apr 11, 2008 at 11:02 AM, jcmb [EMAIL PROTECTED] wrote:

  I am trying to install an app that only contains an SMS intent
  receiver, but I cannot get it to fire when I send the device a test
  message. If I try to run an intent receiver in Eclipse, it
  gives me an error The Manifest defines no activity! Launch aborted!

This is a known limitation of the current plugin. The next version
will let you work with projects that have no activities.

Xav

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Moving files from one machine to another and getting eclipse to read it

2008-04-16 Thread Xavier Ducrohet

Hi,

did you just copy the project folder into a new Eclipse workspace folder?
If so, this is not enough for Eclipse to consider the project to be
part of the workspace.
Just use File  Import... and then select General  Existing projects
into workspace

Xav

On Wed, Apr 16, 2008 at 4:30 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

  Hi,

  I copy the entire file structure for a project over to different
  computer and eclipse will  not show the project or let me create from
  existing source because the project already exists, but is not
  displayed. I have tried refreshing every way I know, but it still will
  not show up. Any help is appreciated.

  


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: debug port

2008-05-19 Thread Xavier Ducrohet
The 8100 port is on the emulator and is not directly accessible.

The ports starting at 8600 are setup by ddms.
There is one port setup for each running application. Connecting a debugger
to this port actually connects to ddms, which then forward packets between
the debugger and the applications through adb.

If you use eclipse with ADT, you do not have to worry about the debugger
ports as ADT will automatically get them from the ddms plugin and connect
the debugger automatically to the proper port.

Xav


On Mon, May 19, 2008 at 8:30 AM, Bushnaq, Ahmad [EMAIL PROTECTED]
wrote:

  What determines the debug port the application is listening on? Right now
 I'm looking at my logs and LogCat view says the application is waiting on
 port 8100, while the android log says it is trying to connect on port 8606!
 I looked in the debug configuration and see nothing there about setting the
 port...

 Ahmad

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Debugging a service

2008-07-02 Thread Xavier Ducrohet
Hi,

you can definitively debug a service. The issue is connecting a debugger to
it

If you are using Eclipse/ADT, the first possibility is to launch another
part of your application (an activity) in debug mode to have ADT connect a
debugger to your app directly.
Then, once you see your app in the DDMS Devices view with a green bug icon
next to it (means a debugger is connected), you can trigger your service and
you will stop in your break points.

If you can't start an activity of your application, or if you don't use ADT,
you can force the VM to stop and wait for a debugger in your service code.
Simply put a call to
 android.os.Debug.waitforDebugger();
before your break point.

Upon reaching this line, the VM will pause. You will see a red bug icon in
the DDMS devices view (standalone or eclipse perspective).
From then you need to connect a debugger. Look at the 5th column in the
Devices view, this will indicate the debugger port for this application.
Connect a remote debugger to localhost and the shown port, and the bug icon
should turn green, and the VM should resume execution (and you should stop
in your break point)

Xav


On Wed, Jul 2, 2008 at 6:15 AM, www.netthreads.co.uk 
[EMAIL PROTECTED] wrote:


 Hi,

 I have been playing around with the api samples bundled with the SDK.
 I was trying to set a breakpoint on the AlarmService_Service.java
 'service' example but it never gets fired even though I can see the
 service is executing.

 Am I correct in saying you can't debug a background service?

 Al.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android Emulator problem

2008-08-19 Thread Xavier Ducrohet
You don't need to launch the emulator every time you want to debug. Just
keep it running, and Eclipse will replace your application with the new
version whenever you launch a run/debug session from Eclipse.

To answer your ealier question, there is, starting with this version, a new
layout editor that will allow you to have a preview of your layout XML
files.
Simply open an XML located in your projectres/layout[-qualifier]/ folders

 If the new editor does not open and you see the default XML editor:
- make sure you installed the Android Editors plugin.
- right click on the XML file and choose Open With  Android Layout Editor
(files created before the installation of the new plugin may not be setup to
use the new editor, but files created after should default to the layout
editor).

Xav

On Tue, Aug 19, 2008 at 12:04 PM, maximz2005 [EMAIL PROTECTED] wrote:


 Sorry for triple post,

 But It WORKS!

 Thank you!

 So do I need to do this everytime???

 Thank you so much,
 -Maximz2005

 On Aug 19, 9:17 am, Justin (Google Employee) [EMAIL PROTECTED]
 wrote:
  In my own usage, occasionally the Eclipse plug-in loses a new
  emulator. I think this happens if the emulator takes longer than
  expected to start. In these cases attempting to run the program from
  Eclipse once the emulator finishes loading will work around this
  issue.
 
  Cheers,
  Justin
  Android Team @ Google
 
  On Aug 19, 7:23 am, David Barnes [EMAIL PROTECTED] wrote:
 
   I am not sure if this is the same problem, but when I tried making a
   Hello World application I had the same problem as you. The emulator
   loaded and everything, but my application didn't launch when I hit run
   or debug. The solution for me was to make sure that the package name
   contained at least one period.
 
   On Tue, Aug 19, 2008 at 2:29 AM, maximz2005 [EMAIL PROTECTED]
 wrote:
 
Hi,
 
I'm having trouble with the Android Emulator. Whenever I use the run
or debug commands out of Eclipse, it shows the phone, but it only
shows Android and the logo on the screen. Nothing makes it show my
app.
I've tried tweaking emulator settings, but no luck.
 
What can I do to solve this problem?
 
Thanks,
-Maximz2005

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Problem installing apk files into emulator

2008-08-22 Thread Xavier Ducrohet
can you provide us with the output of logcat during the install?

thanks
Xav

On Fri, Aug 22, 2008 at 9:13 AM, MSW [EMAIL PROTECTED] wrote:


 (Using the latest SDK).

 Downloaded two different applications, and trying to install them in
 the emulator.

 (My server and emulator are running)
 When I issue the command: adb install application.apk

 I get this error:
 pkg: /data/local/tmp/MemoGame.apk
 Failure: [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

 Anyone have any idea what this means?  I currently have the Hello
 Android application I created (in Eclipse running on the emulator,
 deployed from Eclipse).  I am trying to install these applications
 from the command line.

 I am a newbie, and have searched for this error everywhere, but can't
 find any references to it.  Thanks in advance for any help.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Problem installing apk files into emulator

2008-08-27 Thread Xavier Ducrohet
On Wed, Aug 27, 2008 at 8:11 AM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 W/PackageParser(   48): /data/app/vmdl21575.tmp (at Binary XML file
 line #5): activity does not specify android:name


This looks like your problem.

Xav

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: No repository found at https://dl-ssl.google.com/android/eclipse/

2008-08-30 Thread Xavier Ducrohet

On Sat, Aug 30, 2008 at 1:03 PM, Sir Lantis
[EMAIL PROTECTED] wrote:

 Well, just visiting the site shows the problem:
 https://dl-ssl.google.com/android/eclipse/

 Google - Error: Not Found
 The requested URL /android/eclipse/ was not found on this server.

 Of course that's not a valid repository format.

Actually it just means that there's no default html file (index.html
for instance).
There is, however a site.xml file which is all Eclipse cares about.

Xav

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: R cannot be resolved

2008-09-23 Thread Xavier Ducrohet

If you had to add the android.jar manually, then you did not create
the project properly.

Always use the Android New Project wizard to create android project.

You should be able to convert your standard java project into an
android project by doing:
- right click your project in the package explorer
- choose android tools  Convert your project to android.

Xav

On Tue, Sep 23, 2008 at 10:27 AM, agrawalswap
[EMAIL PROTECTED] wrote:

 Hi,

 I just d/l the Android sdk and ADT.
 I created a new android project in eclipse as per documentation and
 selected one of the sample project.

 I also added the Android.jar as external jar file.

 But I still get 'R cannot be resolved' error during my build.

 Any pointers as to how I can fix this?


 Thanks
 Swapnil Agrawal

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Emulator starts but HelloAndroid doesn't run

2008-09-23 Thread Xavier Ducrohet

You are using the Eclipse plugin version 0.8.0 that was released to be
used by the new SDK 1.0.

The problem is that the name of the HOME process changed between 0.9
and 1.0 so the Eclipse plugin never sees it being launched on the
emulator.

Please update to the new SDK, so that Eclipse properly detects the
HOME process, and finish the launch process by installing your app on
the emulator and starting it.

Xav

On Tue, Sep 23, 2008 at 3:11 PM, bsnelson [EMAIL PROTECTED] wrote:

 I resolved (?) the build error I had in my previous post, and my
 HelloAndroid project seems to build now, but when I try to run it in
 the emulator, it doesn't work. Specifically, the emulator boots and
 goes to the keyboard locked screen and, in general, behaves
 normally, but without running my code.

 I'm sure I'm missing something stupid, but I'm not even sure what to
 offer for info. Here's a bit of it:

 Windows Vista Ultimate 64 bit OS
 Eclipse 3.4
 Android SDK 0.9
 HelloAndroid project built according to the Getting Started pages

 Output from my Eclipse console:

 [2008-09-23 17:00:00 - HelloAndroid] --
 [2008-09-23 17:00:00 - HelloAndroid] Android Launch!
 [2008-09-23 17:00:00 - HelloAndroid] adb is running normally.
 [2008-09-23 17:00:00 - HelloAndroid] Launching:
 com.bsnelson.hello.HelloAndroid
 [2008-09-23 17:00:00 - HelloAndroid] Automatic Target Mode: launching
 new emulator.
 [2008-09-23 17:00:00 - HelloAndroid] Launching a new emulator.
 [2008-09-23 17:00:01 - HelloAndroid] New emulator found: emulator-5554
 [2008-09-23 17:00:01 - HelloAndroid] Waiting for HOME
 ('android.process.acore') to be launched...

 And there it sits, emulator running great, but no sign of my app.

 Any ideas?

 Thanks,

 Brad
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Android 1.0 SDK Released

2008-09-25 Thread Xavier Ducrohet

You need the new plugin (0.8.0) to go with the new SDK.
The older plugin (0.7.1) only works with the 0.9 SDK.

Xav

On Thu, Sep 25, 2008 at 11:01 AM, Mitechka [EMAIL PROTECTED] wrote:

 Seems like the new version breaks the Eclipse plugin :( At least
 Eclipse wouldn't let me set the new directory as the SDK home.

 On Sep 23, 6:09 pm, Megha Joshi [EMAIL PROTECTED] wrote:
 Hi everyone,

 We're pleased to announce the release of the Android 1.0 SDK, release 1.

 For full information, please see Dan Morrill's blog post:

 http://android-developers.blogspot.com/2008/09/announcing-android-10-...

 SDK Download:

http://code.google.com/android/download.html

 Overview of Changes since 0.9 SDK:

  http://code.google.com/android/migrating/0.9-1.0/changes-overview.html

 Android Developer Guide:

http://code.google.com/android/documentation.html

 Thanks for using the Android SDK and Happy coding!

 Cheers,
 The Android Team.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Could Not Find HelloAndroid.apk!

2008-09-26 Thread Xavier Ducrohet

By default, Eclipse compiles in the background as soon as you
change/save a file.

To know if there was compilation errors you can:
- look at the Package Explorer View. Any red marker on your project
files will show an error.
- look at the Problems View to see the actual problem description.

Xav

On Thu, Sep 25, 2008 at 7:21 PM, Kevin M [EMAIL PROTECTED] wrote:

 I don't understand... where is the compiler?
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Could Not Find HelloAndroid.apk!

2008-09-26 Thread Xavier Ducrohet

I'm guessing you have gcj installed instead (or alongside) the Sun JDK.
Because of this, keytool (in /usr/bin) points to the gcj version which
is incompatible.

Either uninstall gcj, or make sure keytool points to the Sun JDK version.

Xav

On Fri, Sep 26, 2008 at 2:25 PM, Kevin M [EMAIL PROTECTED] wrote:

 Here's the error:

 Description: Error generating final archive: Unable to get debug
 signature key
 Resource: HelloAndroid
 Location: Unknown
 Type: Generic ADT Problem

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Eclipse plugin link is a 404

2008-09-30 Thread Xavier Ducrohet

There's no index.html in that folder so it's normal you get a 404 in a browser.
However there is a site.xml file which is all Eclipse look for.

If you can't get to it with https, try with http.

If that still fails, download the archive at
http://code.google.com/android/adt_download.html
and install it in Eclipse as described here
http://code.google.com/android/intro/installing.html#installingplugin
under troubleshooting ADT installation

Xav

On Mon, Sep 29, 2008 at 8:18 PM, kmeisthax [EMAIL PROTECTED] wrote:

 I'm getting a 404 when I try to access 
 https://dl-ssl.google.com/android/eclipse/
 ... and of course it wont work in eclipse either. Anyone know if
 there's an alternate URL or if the server is down for some odd reason?

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: problem installing updates for ADT

2008-10-08 Thread Xavier Ducrohet

It is *not* down.
There are no index.html file in that file, so browsers show a 404
error, but Eclipse does not care about it and look for site.xml, which
*is* present.

For some reason, some people fail to access the update site using
https. If that happens try http.

This page: http://code.google.com/android/intro/installing.html
contains a lot of troubleshooting information regarding the
installation of the plugin, including a link to an archived version of
the plugin.

Please make sure you have tried everything mentioned in the installation steps.

Xav


On Tue, Oct 7, 2008 at 8:48 PM, llongeri [EMAIL PROTECTED] wrote:

 The problem seems to be the ADT URL https://dl-ssl.google.com/android/eclipse/
 which is not available anymore (error 404 Not Found).
 I installed the ADT last week and it worked fine, but I tried again
 this week on another computer and it is not working any more.

 I don't know if google people are reading this post, but it's been
 several days that the URL is down.

 llongeri

 On Oct 7, 3:50 pm, Ashesh [EMAIL PROTECTED] wrote:
 The instructions are different for Ganymede and Europa Eclipse
 packages. Are you following the instructions for the right package?

 Ashesh

 On Oct 7, 12:28 am, astra [EMAIL PROTECTED] wrote:

  Hi

  I am getting problems installing the updates of the ADT plugin. Tried
  all the methods suggested in the wiki but keep getting the message No
  features found on the selected site. Please help me out.

  Regards

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Hello Android, could not be run!, compilation errors

2008-10-11 Thread Xavier Ducrohet

It looks like your project does not contain the android.jar library.
How did you create it? Did you create it before setting the path of
the SDK in the preferences ?

Right click your project in the package explorer, and choose Android
Tools  Fix Project properties, this should fix it.

Xav

On Sat, Oct 11, 2008 at 10:51 AM, bennjava [EMAIL PROTECTED] wrote:

 Hello,

 I just started with Android, I find it interesting.

 I downloaded the Android SDK (C:\android-sdk-windows-1.0_r1).
 I installed Eclipse 3.4.1 (Ganymede)
 JDK 6 (jdk1.6.0_06) is already installed on my machine windows XP.
 I installed Android Development Tools plugin.
 In Window-Preferences-Android, I specified the SDK location C:
 \android-sdk-windows-1.0_r1.

 I tried to follow the Hello Android example, and this is my source
 code:

 
 package com.android.hello;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.TextView;

 public class HelloAndroid extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  TextView tv = new TextView(this);
  tv.setText(Hello, Android);
  setContentView(tv);
  }
 }
 


 When trying to compile I got three errors:

 1-com.android.hello.HelloAndroid does not extend android.app.Activity
 (on element AndroidManifest.xml)
 2-The project was not built since its build path is incomplete. Cannot
 find the class file for java.lang.Object. Fix the build path then try
 building this project (on element HelloAndroid)
 3-The type java.lang.Object cannot be resolved. It is indirectly
 referenced from required .class files (on element R.java, file auto-
 generated)

 Please any help! I could not move further...

 Thanks :)

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot compile Android app: Failed to create debug key

2008-11-06 Thread Xavier Ducrohet

It looks like for some reason JAVA_HOME is set to the bin folder of
the JDK instead of the top folder.

Change your JAVA_HOME to c:\Program Files\Java\jdk1.6.0_01 and it will work.

This issue will be fixed in the next version of SDK/plugins.

Xav

On Mon, Nov 3, 2008 at 11:24 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 I am firstimer using Android. When i developed a simple application
 and compiled, i faced this error message:

 [2008-11-04 15:10:51 - HelloAndroid] Failed to create debug key:
 Cannot run program c:\Program Files\Java\jdk1.6.0_01\bin\bin
 \keytool.exe: CreateProcess error=3, The system cannot find the path
 specified

 [2008-11-04 15:10:51 - HelloAndroid] JAVA_HOME is set to: c:\Program
 Files\Java\jdk1.6.0_01\bin

 [2008-11-04 15:10:51 - HelloAndroid] Update it if necessary, or
 manually execute the following command:

 [2008-11-04 15:10:51 - HelloAndroid] c:\Program Files\Java
 \jdk1.6.0_01\bin\bin\keytool.exe -genkey -alias AndroidDebugKey -
 keyalg RSA -dname CN=Android Debug, O=Android, C=US -validity 365 -
 keypass android -keystore C:\Users\Quantum Inventions\AppData\Local
 \Android\debug.keystore -storepass android




 Please help me on this. Its quite urgent. Thanks a lot!!!

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: -Help- Something happened to my SDK - Resources wont load

2009-01-05 Thread Xavier Ducrohet

The R.java file is generated automatically based on the content of the
res/ folder.

Are you using Ant or Eclipse?
If Ant, is there any error output when running it, if Eclipse, is
there any errors in the Problems view?

Xav

On Sun, Jan 4, 2009 at 2:56 PM, novice tjackson.1...@gmail.com wrote:

 Hello,

 I accidently deleted my R.java file attached to my project - but
 it was re-attached auto-magically. But now when I try to assign
 drawables it says its it cannot be resolved.

 for example:

cheese_png = context.getResources().getDrawable
 (R.drawable.cheese);
cheese_png.setBounds(0, 0, cell_x , cell_y);

 R.drawable.cheese is now unresolved.

 First guess is that I think I ruined the ability to add outside PNG
 files. It will not recognize any user - made PNG files I made placed
 in the res/drawable folder.

 Anyone have ideas on how I can get things back to normal?

 PS - I made a completely new android app and now I still cant make any
 user-made png files.. is this R.java file permanently damaged?

 


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



[android-beginners] Re: failed to load dx.jar

2009-01-05 Thread Xavier Ducrohet

What version of ADT and of the SDK are you using? Is the proper SDK
path setup in the ADT preferences?

Xav

On Mon, Jan 5, 2009 at 1:04 AM, Ashwani Rao project.d...@gmail.com wrote:
 Hi,
 I have installed latest eclipse  and jre 1.6.
 When i create an new android project then error window pops up with
 following info.
  Android Sdk content loader has encountered a problem.
 failed to load dx.jar.
 There is also error of old adb version.

 Regards,
 Ashwani
 


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



[android-beginners] Re: What kind of xml error...

2009-01-07 Thread Xavier Ducrohet

This is probably not a problem in your XML file.

What version of Eclipse and of ADT are you running?

Xav

On Wed, Jan 7, 2009 at 5:51 PM, Thaw khainglint...@googlemail.com wrote:

 Hi, everybody
 Have u meet like the following error, It is appeared when i open my
 layout files (xml) from my project. But program run correctly. I am
 using Eclipse on Windows.
 error
 Could not open the editor: The editor class could not be instantiated.
 This usually indicates a missing no-arg constructor or that the
 editor's class name was mistyped in plugin.xml.
 error
 If u meet like that, please tell me the way to solve this problem.
 Thanks in advance...
 Regards, Thaw...
 


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



[android-beginners] Re: How to run more fast on Eclipse

2009-01-26 Thread Xavier Ducrohet

This happens because the Android project is both a Java project and
and Android project (ie it has both project Natures).

Personally, I changed the button behavior to launch the previously
launched configuration. You can change this in the preferences under
Run/Debug  Launching.

Xav

On Mon, Jan 26, 2009 at 6:55 AM, vendor.net vendor@gmail.com wrote:

 Hi,

 I am new to Android, but familiar with Java and Eclipse. I follow all
 the steps in the tutorials to create an Android Project, but when I
 press Run on the IDE or press CTR+F11 the IDE asks me how to run the
 project: Select a way to run Application Name. This can be very
 irritating when I want to run and test the application every 1-2
 minutes and have to point with the mouse the Android Application
 from that window and then?

 


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



[android-beginners] Re: Eclipse not seeing ADT tools folder

2009-02-06 Thread Xavier Ducrohet
Hi Greg,

can you point me to the documentation that mention pointing ADT to the tools
folder?
The installation doc at
http://code.google.com/android/intro/installing.htmlseems to be
correct. I don't know of any other place documenting the ADT
installation.

thanks
Xav

On Fri, Feb 6, 2009 at 11:21 AM, Greg Corradini gregcorrad...@gmail.comwrote:

 Thanks firebird. I tried that but to no avail. Then I realized that
 google's documentation is different in two seperate places. One place says
 that you should point to tools folder. Another place has you do the final
 ADT setup by pointing to the overall SDK folder. This second way is the only
 way to do it.

 Sent from mobile phone. Forgive my fat-fingered mistakes.

 On Feb 6, 2009 1:22 PM, firebird rsmano...@gmail.com wrote:


 Hello Greg,

 Please change the folder name without any special characters and try.

 Gud Luck,
 Firebird

 On Feb 4, 6:26 am, Greg Corradini gregcorrad...@gmail.com wrote: 
 Hello,  I'm on the last step ...


 



-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: Cannot setup Setting up Eclipse before Installing the Eclipse Plugin (ADT)

2009-02-11 Thread Xavier Ducrohet
Yes, it's a documentation error. I'll make sure this gets fix.

thanks!
Xav

On Tue, Feb 10, 2009 at 2:52 PM, amazing maj...@gmail.com wrote:


 I'm following this doc

 http://developer.android.com/sdk/1.1_r1/installing.html

 on Eclipse setup. This is my first install of the SDK.

 It came to Setting up Eclipse section first. Then I cannot Select
 Android from the left panel.. There is no Android.

 I ended up going through the next step Installing the Eclipse Plugin
 (ADT) first, then go back to the step above. Then all fine.

 Is it a documentation error?

 



-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] SDK 1.1_r1 javadoc issue is fixed.

2009-02-18 Thread Xavier Ducrohet
Hello everyone,

The 1.1 SDK we released last week includes a new design for the
documentation. Unfortunately, the new design changed the HTML in a way that
made Eclipse unable to parse the files.

We've fixed the issue and put up new SDK archives for download.

Sorry for the inconvenience.

Xav
-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: SDK 1.1_r1 javadoc issue is fixed.

2009-02-19 Thread Xavier Ducrohet

Yes this was a problem in the packages we released. We've updated them
with new docs that works in Eclipse.
Download it again.

Xav

On Thu, Feb 19, 2009 at 5:11 PM, Jackie Lee jackie.sp...@gmail.com wrote:
 You mean the SDK package is updated?
 I downloaded android-sdk-windows-1.1_r1 about one week ago, on windows 
 platform.
 and when I stop the mouse upon the method for a few second, I show
 like the picture attached.
 Is it expected to be like this? Or I'm doing it in the wrong way?

 Thank you very much for reply!

 On Fri, Feb 20, 2009 at 2:18 AM, Xavier Ducrohet x...@android.com wrote:

 On Thu, Feb 19, 2009 at 1:39 AM, Jackie Lee jackie.sp...@gmail.com wrote:

 How to set eclipse to see reference inside eclipse?

 Now it is showing:
 Note: The Javadoc for this element could neither be found in the
 attached source nor the attached Javadoc.

 You should not have to do anything beyond setting the SDK path into
 the preferences of Eclipse.
 When did you download the SDK, and on which platform?

 Also, what class/method/field where you looking at?

 thanks
 Xav

 




 --
 Regards,
 Yuxing LI

 




-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: ADT Plugin Issue - Eclipse 3.3

2009-03-02 Thread Xavier Ducrohet

    b. Downloading ADT.zip and setting the Preferences. - Failed - I
 am not able to find Android on
        the Preferences list. So I could not proceed to New archive
 site option.

I think there is some confusion here.

the New Archive Site option is not in the Android preferences. The new
Archive Site option is part of the installation steps, which then
installs the Android preference panel (among other things)

From the installation steps at
http://developer.android.com/sdk/1.1_r1/installing.html :

1. Start Eclipse, then select Help  Software Updates  Find and Install
2. In the dialog that appears, select Search for new features to
install and click Next.
3. click New Archive Site
4. Browse and select the downloaded the zip file.
5. You should now see the new site added to the search list (and
checked). Click Finish.
6. In the subsequent Search Results dialog box, select the checkbox
for Android Plugin  Developer Tools. This will check both features:
Android Developer Tools, and Android Editors. The Android Editors
feature is optional, but recommended. If you choose to install it, you
need the WST plugin mentioned earlier in this page. Click Next.
7. Read the license agreement and then select Accept terms of the
license agreement. Click Next.
8. Click Finish.


Xav

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



[android-beginners] Re: Keytool - Vista - Signing

2009-03-02 Thread Xavier Ducrohet

Keytool is a standard Java tool.
Look in your java installation folder.

Xav

On Sun, Mar 1, 2009 at 3:04 PM, ScCrow j...@isildo.com wrote:

 I have installed Eclipse, and the 1.1 android sdk.  (Vista)  All is
 working.  Now I am trying to to a google map sample.  It seems that I
 have to generate a sign, since the app wont run.  I sort of expected
 this, I suppos the environment varialbe needs to be set and dont see
 where to set it or maybe its already set.

 My real problem, however, I cannot find the keytool app.   Ive looked
 everywhere that the doc tells me to look.  It does not seem to be
 anywhere on the pc. Perhaps Im just mis-understanding something.

  I do find the the suggested location
   C:\Users\keith\AppData\Local\Android
        and there is a file there named debug.keystore located there,
 but no keytool

 Ive done searches to find keytool,,and its nowhere to be found.

 So..what am I missing ...  or other suggestions.

 Thanks




 




-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: Linux Eclipse Error

2009-03-10 Thread Xavier Ducrohet

Are you running a 64bit installation? If so, at the bottom of
http://developer.android.com/sdk/1.1_r1/installing.html there are some
linux installation notes.
Did you follow them?

Xav

On Mon, Mar 9, 2009 at 8:14 PM, sddandroid sddm...@gmail.com wrote:

 I am working on a Linux setup in Eclipse.  I have downloaded and
 installed Eclipse 3.4.1, APT, and the most recent SDK.  I am trying to
 run the Hello World app on the developers site and I receive the
 following error...

 Error executing aapt. Please check aapt is present at /usr/share/
 android-sdk-linux_x86-1.1_r1/tools/aapt

 I have added the path to the SDK inside Preferences and my best
 confirmation of this is that auto complete is working and there are no
 other errors beyond this one.  I have tried to set permissions on aapt
 to 777 and an ls -alsh confirms that there are indeed sufficient
 privileges to the application (which I am already running from the
 root account with elevation).

 Are there any other things that I need to be checking???  I'm sure it
 is the simplest mundane thing that I am missing and at this point I
 could use a little insight.

 




-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: error in xml for hello world

2009-03-21 Thread Xavier Ducrohet

I would be more helpful if you told us the actual error.

Look in the Problems view of Eclipse.

Xav

On Fri, Mar 20, 2009 at 9:58 PM, xxdjxx xxdj41...@gmail.com wrote:

 hey, is there a certain namespace this should be set to, because for
 some reason it comes up as an error in Eclipse.

 a href=http://s539.photobucket.com/albums/ff351/xXdj415Xx/?
 action=viewcurrent=helloworldxmlerror.jpg target=_blankimg
 src=http://i539.photobucket.com/albums/ff351/xXdj415Xx/
 helloworldxmlerror.jpg border=0 alt=Photobucket/a

 




-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Early Look Android 1.5 SDK

2009-04-13 Thread Xavier Ducrohet

Hello developers!

I'm pleased to announce the release of an early look of the Android 1.5 SDK.

More information and download link at:
http://android-developers.blogspot.com/2009/04/getting-ready-for-android-15.html

Have fun!

Xav
-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: SDK 1.5 on VISTA - start emulator with no success

2009-04-14 Thread Xavier Ducrohet

Ignore the window that opens for a few seconds.

Whether you use Eclipse or not, you *must* create AVDs and use them to
run the emulator.
The emulator will not run without them.

Xav

-- Forwarded message --
From: BPB bruno.boutt...@gmail.com
Date: Tue, Apr 14, 2009 at 3:03 PM
Subject: [android-beginners] Re: SDK 1.5 on VISTA - start emulator
with no success
To: Android Beginners android-beginners@googlegroups.com



Yes I am double-cliking and a window opens for some seconds before to
close with no emulator running. I am used to run emulator with SDK 1.1
without any problem.
I dont use Eclipse so I think i have not to follow what is relative to
AVD.
So ???

On Apr 14, 8:46 pm, Xavier Ducrohet x...@android.com wrote:
 Are you double-clicking the exe?
 Did you read about AVD (how to create them and how to use them to run
 the emulator?)

 Info available at:http://developer.android.com/sdk/preview/#avd

 Xav

 On Tue, Apr 14, 2009 at 5:03 AM, BPB bruno.boutt...@gmail.com wrote:

  When I start emulator(.exe) in tools one popup opens fastly and
  disappear also fastly without the emultator working.
  I have still SDK 1.1 installed and it continues to work, when I open
  emulator.exe I have the emulator window after some seconds.

  Did I miss something?

  Regards

 --
 Xavier Ducrohet
 Android Engineer, Google.




-- 
Xavier Ducrohet
Android Engineer, Google.

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



[android-beginners] Re: Problem in running android 1.5 preview sdk on mac os

2009-04-20 Thread Xavier Ducrohet

Please read:
http://developer.android.com/sdk/preview#avd

By the way, defining ANDROID_SDK_ROOT is really not needed. I don't
think the current doc talks about this at all.

Xav

On Mon, Apr 20, 2009 at 9:46 PM, Lucius Fox lucius.fo...@gmail.com wrote:

 Hi,

 I have add
 I have set the variable ANDROID_SDK_ROOT and add
 :/Users/lucius/Programs/android-sdk-mac_x86-1.5_pre/tools to my
 $PATH

 $ echo $ANDROID_SDK_ROOT
 /Users/lucius/Programs/android-sdk-mac_x86-1.5_pre

 but when I run the emulator, I get this error:

 $ emulator
 emulator: ERROR: You did not provide the name of an Android Virtual Device
 with the '-avd name' option. Read -help-avd for more information.

 If you *really* want to *NOT* run an AVD, consider using '-data file'
 to specify a data partition image file (I hope you know what you're doing).

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: installing 1.5 and eclipse

2009-04-24 Thread Xavier Ducrohet

It sounds like you're still using ADT 0.8

To use the 1.5 SDK, ADT 0.9 is required.

Xav

On Fri, Apr 24, 2009 at 5:12 PM, dashman erjdri...@gmail.com wrote:



 if i do that, eclipse tells me that the android.jar file is not
 found.

 that file actually is in the platforms\android-1.5 sub-folder

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Xavier Ducrohet

Is C:\Users\Public\ your real HOME folder?

If you go in a command prompt and run set what are the values of the
various env variable representing your HOME (specifically look for
HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

Another user on these groups had moved his HOME folder but the env
variable still pointed to the default location, which is what the
emulator uses.
Somehow though, Java (the android tool is a java tool) used the new
HOME location, and thus the emulator looked for AVDs in a different
folder than where they were created.

If this is the case for you as well, you can define a new env variable
called ANDROID_SDK_HOME pointing to a folder of your choice. This will
override the default behavior of the android tool and of the
emulator (as well as DDMS), and create a .android/ folder in this
folder of your choice, and in it, the avd/ folder.

Xav

On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

 I've been developing for android since the first SDK came out, and
 have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
 1.1, and now the 1.5pre. This latest one is the only one to give me
 trouble.

 When I first tried to launch a simple program, the error Failed to
 find an AVD compatible with target 'Android 1.5'. Launch aborted.
 popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
 When the prompt Do you wish to create a custom hardware profile [no]
 came up, I just hit enter (and once I typed no and hit enter).

 Great. But then when I reran the program, it gave me the exceptions
 (as it wasn't in red):

 code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
 virtual device name: 'my_avd'
 [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
 device named 'my_avd'/code

 I moved the avd files around to various places- the tools folder, the
 project folder in the Eclipse workplace folder, the SDK director
 itself... no dice. When I delete the AVD, it gives me the first error
 again.

 Thus, I completely wiped Android and Eclipse from my system, and re-
 installed fresh (this means the Eclipse install, the Eclipse and
 Android workspaces, the SDK, etc.) Only thing I didn't delete was the
 shortcuts. But I was back at square one again.

 So, I turn to you, ever eager-to-help Google Groups. Some technical
 info that might be of help:

 Windows Vista 32-bit
 Eclipse 3.4 Ganymede
 Android SDK 1.5pre

 Android Workspace: C:\Users\Public\.android
 AVDs Created At: C:\Users\Public\.android\avd
 Eclipse Workspace: C:\Users\Public\Eclipse Workspace

 Eclipse Directory: C:\Program Files\Eclipse
 SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Xavier Ducrohet

You can make it whatever you want, but yes, I would recomment you
point it to C:\Users\Public\ so that it reuse the already existing
.android/ folder.
(don't make it point to C:\Users\Public\.android as it will create
another .android folder inside it)

Xav

On Sat, Apr 25, 2009 at 9:31 AM, Andrex emailofand...@gmail.com wrote:

 Yeah I had read about the guy with the mixed up D and C folders.

 My HomePath is \Users\Name, so I guess somewhere down the line I did
 mess things up a little. Can the ANDROID_SDK_HOME variable be
 anywhere, even the old .android/ folder? (C:\Users\Public\.android)

 On Apr 25, 4:16 am, Xavier Ducrohet x...@android.com wrote:
 Is C:\Users\Public\ your real HOME folder?

 If you go in a command prompt and run set what are the values of the
 various env variable representing your HOME (specifically look for
 HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

 Another user on these groups had moved his HOME folder but the env
 variable still pointed to the default location, which is what the
 emulator uses.
 Somehow though, Java (the android tool is a java tool) used the new
 HOME location, and thus the emulator looked for AVDs in a different
 folder than where they were created.

 If this is the case for you as well, you can define a new env variable
 called ANDROID_SDK_HOME pointing to a folder of your choice. This will
 override the default behavior of the android tool and of the
 emulator (as well as DDMS), and create a .android/ folder in this
 folder of your choice, and in it, the avd/ folder.

 Xav





 On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

  I've been developing for android since the first SDK came out, and
  have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
  1.1, and now the 1.5pre. This latest one is the only one to give me
  trouble.

  When I first tried to launch a simple program, the error Failed to
  find an AVD compatible with target 'Android 1.5'. Launch aborted.
  popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
  When the prompt Do you wish to create a custom hardware profile [no]
  came up, I just hit enter (and once I typed no and hit enter).

  Great. But then when I reran the program, it gave me the exceptions
  (as it wasn't in red):

  code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
  virtual device name: 'my_avd'
  [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
  device named 'my_avd'/code

  I moved the avd files around to various places- the tools folder, the
  project folder in the Eclipse workplace folder, the SDK director
  itself... no dice. When I delete the AVD, it gives me the first error
  again.

  Thus, I completely wiped Android and Eclipse from my system, and re-
  installed fresh (this means the Eclipse install, the Eclipse and
  Android workspaces, the SDK, etc.) Only thing I didn't delete was the
  shortcuts. But I was back at square one again.

  So, I turn to you, ever eager-to-help Google Groups. Some technical
  info that might be of help:

  Windows Vista 32-bit
  Eclipse 3.4 Ganymede
  Android SDK 1.5pre

  Android Workspace: C:\Users\Public\.android
  AVDs Created At: C:\Users\Public\.android\avd
  Eclipse Workspace: C:\Users\Public\Eclipse Workspace

  Eclipse Directory: C:\Program Files\Eclipse
  SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Issues with debugging using Ganymede Eclipse

2009-04-27 Thread Xavier Ducrohet

This page is about setting up eclispe to do Platform development.

If you are using the SDK, please refer to the documentation on
http://developer.android.com

On Fri, Apr 24, 2009 at 2:01 AM, Explore Android
explore.andr...@googlemail.com wrote:

 Hi Xav,

 I am looking to debug Android applications using Eclipse Ganymede
 3.4.2 in Ubuntu 8.10 which is running on VMWare virtual machine.
 I found the following webpage which outlines the steps to be followed,

 http://source.android.com/using-eclipse

 I could not understand steps at the following stages,

Eclipse setup to work on developer tools

To work on Java developer tools, the principle is the same, except you 
specify /path/to/tool when using the option Create project from existing 
source.

Once the project is created, you need to set up the Java Build Path:

   1. Select the project you just created.
   2. Project  Properties
   3. Select Java Build Path from the left-hand menu.
   4. Choose the Source tab.
   5. Expand the single toolname/src entry.
   6. Double click the Excluded: (none) item.
   7. Add to the excluded (bottom) list: MakeFile and
 resources/.
   8. Close the dialog.
   9. Back in the Source tab, click Add Folder..., and add
 toolname/src/resources.
  10. Click OK.

 In above steps I did not understand step 5, i.e., I did not understand
 where to find toolname/src. I dont find any such thing after following
 steps until 4.

 To carry on to see where I land up, I ignored the above steps and
 continued with the steps given in that site and I have a problem at
 following stage,

In another shell, start DDMS (the Dalvik debug manager):

cd /path/to/android/root
ddms      # you should get a splufty debugging console

 I get the error as ddms: command not found

 Could you please let me know what I am missing there?

 Thanks

 On Apr 7, 10:28 pm, Xavier Ducrohet x...@android.com wrote:
 (I'm not sure why you install the SDK and plugin if you're going to
 work from the open source tree. You could have started at step 4)

 Did you make sure to select the browser in DDMS (since you use the
 plugin, use the DDMS perspective in Eclipse).
 The 8700 port is for the application selected in the device view in
 Eclipse. If another application if selected then you're probably
 debugging a different application.

 Xav



 On Mon, Apr 6, 2009 at 4:52 PM, Alice alicebo...@yahoo.com wrote:

  I am new in Android, need some help on debugging with DDMS on Ganymede
  Eclipse.

  The problem I am having is that some breakpoints are getting hit and
  some are NOT. Not sure what exactly is the reason.

  Overall setup:

  0. I have a linux m/c with Ubuntu 8.10 (interpid)

  1. Installed SDK version 1.1 for Linux

  2. I installed Ganymede eclipse 3.4.2. Installed the ADT plugin using
  the steps as 
  inhttp://developer.android.com/sdk/1.1_r1/installing.html#installingplugin.

  3. Obtained cupcake code using repo client and built it successfully
  as mentioned inhttp://source.android.com/download. Configured Eclipse
  as mentioned inhttp://source.android.com/using-eclipse.

  4. Then I followed the steps Debugging the emulator with Eclipse in
 http://source.android.com/using-eclipse

  5. I launch emulator from android-root/out/host/linux-x86/bin/
  emulator. Setup proxy etc.

  6. I was trying to debug browser application and putting some
  breakpoints in WebView.java files namely in loadUrl() and loadData()
  functions. I launch browser and it displays the homepage 
  (say,www.google.com)
  correctly. Then I create a Debug Config for brower application with
  Host = localhost and Port = 8700. And select Debug.

  7. I then select Menu  Refresh to check if breakpoints are hit.

  The issue is it is NOT hit.

  Another point to clarify is that the build and the code are in synch
  as I didn't make a change in the code. But though I see sometimes
  control goes thru comments .. not sure how.

  Any input on what could actually be going wrong will be highly
  appreciated!

 --
 Xavier Ducrohet
 Android Engineer, Google.

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Android 1.5 SDK now available

2009-04-27 Thread Xavier Ducrohet

Hello developers,

The Android 1.5 SDK, and the 1.5 images for ADP1 are now available for download.

More information at
http://android-developers.blogspot.com/2009/04/android-15-is-here.html


Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Problems with 1.5 SDK

2009-04-27 Thread Xavier Ducrohet

This is very strange because this code has not changed in a long time.

It's trying to offer you to opt-in for SDK usage statistic but fails to do so.

One solution: launch DDMS from the command line (in SDK/tools), this
will offer you to opt-in as well, and write the result in a config
file.
Then launch Eclipse/ADT again and ADT will not (try to) display the
opt-in message and you won't have the crash.

We'll fix try to this asap.

Xav

On Mon, Apr 27, 2009 at 12:48 PM, Javi javierjc1...@gmail.com wrote:

 I have problems with the new sdk (1.5),

 A dialog show with a error a and suggest me to exit the workbench.
 Other dialog appear with a pingUsageServer failed:
 Android SDK Ping
 pingUsageServer failed

 The .log file says:

 !SESSION 2009-04-27 21:31:38.570
 ---
 eclipse.buildId=M20090211-1700
 java.version=1.6.0_13
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES
 Command-line arguments:  -os linux -ws gtk -arch x86_64

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:46.358
 !MESSAGE Failed to load properties file for project 'WifiScan'

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.330
 !MESSAGE pingUsageServer failed
 !STACK 0
 org.eclipse.swt.SWTError: Not implemented [multiple displays]
       at org.eclipse.swt.SWT.error(SWT.java:3803)
       at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:
 712)
       at org.eclipse.swt.widgets.Display.create(Display.java:842)
       at org.eclipse.swt.graphics.Device.init(Device.java:154)
       at org.eclipse.swt.widgets.Display.init(Display.java:471)
       at org.eclipse.swt.widgets.Display.init(Display.java:462)
       at com.android.sdkstats.SdkStatsService.getUserPermission
 (SdkStatsService.java:278)
       at com.android.sdkstats.SdkStatsService.ping
 (SdkStatsService.java:126)
       at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer
 (Unknown
 Source)
       at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341
 !MESSAGE pingUsageServer failed
 !STACK 0
 org.eclipse.swt.SWTError: Not implemented [multiple displays]
       at org.eclipse.swt.SWT.error(SWT.java:3803)
       at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:
 712)
       at org.eclipse.swt.widgets.Display.create(Display.java:842)
       at org.eclipse.swt.graphics.Device.init(Device.java:154)
       at org.eclipse.swt.widgets.Display.init(Display.java:471)
       at org.eclipse.swt.widgets.Display.init(Display.java:462)
       at com.android.sdkstats.SdkStatsService.getUserPermission
 (SdkStatsService.java:278)
       at com.android.sdkstats.SdkStatsService.ping
 (SdkStatsService.java:126)
       at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer
 (Unknown
 Source)
       at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


 I use the latest Ubuntu jaunty and Sun JDK
 The previous Android SDK  (1.1) works without problems

 I tried to do a clean installation of the eclipse and the sdk but the
 problem persist

 Anybody else with this problem?
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: ADT download links all dead

2009-04-29 Thread Xavier Ducrohet

Please don't send big attachment to the list.

All the ADT versions are available for archive download at
http://developer.android.com/sdk/adt_download.html

Xav

On Tue, Apr 28, 2009 at 8:44 PM, Raghu Kiran arkiran...@gmail.com wrote:
 Hi,

 here is the ADT plugin you can store it and give the path.

 BR,
 Raghu Kiran A


 On Wed, Apr 22, 2009 at 9:34 PM, Rakesh Sharma rakesh.r...@gmail.com
 wrote:

 I also faced the same problem ,than i used older one(1_0-r1) like. and i
 installed successfully.ADT facility shows some problem in newer SDKs.

 On 4/19/09, jason jasonsack...@gmail.com wrote:

 I have been using eclipse for years. The update sites fail for me
 (getting the ADT plugin, even with fresh eclipse) and the manual
 download also fails on OSX and WindowsXP (safari, firefox, IE). It
 gets about 750K in and stops leaving a partial zip. I can't be the
 only one with this issue. I have been trying for a couple days now.
 Please advise. Thanks, Jason.

 On Mar 20, 7:40 pm, Xavier Ducrohet x...@android.com wrote:
  The first 2 links are not dead, it's just that there is not default
  index.html
  Tryhttps://dl-ssl.google.com/android/eclipse/site.xml
 
  As for the last link, code.google.com is not the official web site of
  the Android SDK, it's developer.android.com
  Tryhttp://developer.android.com/sdk/adt_download.htmlif you wish
  todownloadADTmanually.
 
  Xav
 
  On Fri, Mar 20, 2009 at 4:43 AM, dougal2 hamsterfi...@gmail.com
  wrote:
 
   Anyone know where to get theADTeclipse plugin now?
 
   The following are all dead links (404):
 
  https://dl-ssl.google.com/android/eclipse/
  http://dl-ssl.google.com/android/eclipse/
  http://code.google.com/android/adt_download.html
 
  --
  Xavier Ducrohet
  Android Engineer, Google.



 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.

2009-04-30 Thread Xavier Ducrohet

I'm not sure why you need to set the project JRE. All you need is the
Android library setup by the Eclipse plug-ins.

What do you mean by null Manifest path location?

Xav

On Thu, Apr 30, 2009 at 2:26 PM, El elgui...@gmail.com wrote:

 After upgrading to SDK1.5 in Eclipse on Vista, (with changed root
 directory and environmental variable), all Imports from 1.1 have
 error:  needs target with advice to set properties. Edited
 properties to Android 1.5 and Set project JRE build path entry to
 'default JRE’ [jre1.6.0_03]. That fixed only to point of having null
 Manifest path location. Have been looking, but not finding answer. Can
 anybody help?
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.5: Problems developing on a device

2009-04-30 Thread Xavier Ducrohet

What does the console say?

Is your device showing up in the Device Panel in the DDMS perspective
(or in adb devices) ?

Xav

On Wed, Apr 29, 2009 at 3:08 PM, PaulV paulvici...@gmail.com wrote:

 Hi everyone,

 I've been having problems to load my applications in my G1 Phone with
 the new Android 1.5. I was having no problems with the previous
 version (Android 1.1).

 I am using Eclipse 3.4 and with Android 1.1 when I selected run or
 debug a Device Chooser dialog appeared that listed the available
 emulators and connected devices; then I just selected the device to
 run my application. But now with the new Android 1.5 NO Device Chooser
 dialog appears, maybe I am doing something wrong, I followed this
 instructions: 
 http://developer.android.com/guide/developing/device.html#setting-up.

 I hope someone can help me.

 Thanks for all

 Paul Vicioso

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Could not find MyApp.apk!

2009-04-30 Thread Xavier Ducrohet

On Tue, Apr 28, 2009 at 5:53 AM, AntonioCV
antonio.crespo.vela...@gmail.com wrote:

 Hello:

 Today I have installed Eclipse Ganymede + ADT plugin (DDMS 0.9.0  ADT
 0.9.0) + Android SDK 1.5 + JDK 1.5.0_6 in a Windows Vista and I have
 created a new project (MyApp).

 These logs are shown in the console:
    [2009-04-28 12:45:06 - MyApp] no classfiles specified
    [2009-04-28 12:45:06 - MyApp] Conversion to Dalvik format failed
 with error 1

 If I try to run, there is one error that does not allow it: The
 project cannot be built until build path errors are resolved

We're still trying to track the exact circumstances that lead to this,
but a quick fix is to clean the project (Project  Clean...)

 I have checked Android in the build path and build problems seems to
 be solved.

 Then I have tried to Run as an Android application and these are the
 log messages:

     [2009-04-28 12:49:45 - MyApp] --
     [2009-04-28 12:49:45 - MyApp] Android Launch!
     [2009-04-28 12:49:45 - MyApp] adb is running normally.
     [2009-04-28 12:49:45 - MyApp] Could not find MyApp.apk!

 Can anybody help me to run this simple project?

There were a few other message about this.

The short version: If you have a libs/ folder in your project, and are
using a source control system that puts its own folder into each
folder (.svn for instance), rename the folder to something else (if
you have jar files in there, just make sure to re-add them to the
build path under their new path).

We have a fix for this and hope to push it soon.

Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.

2009-04-30 Thread Xavier Ducrohet

do you have uses-sdk minSdkVersion=2 / (or another value)?

This is missing the namespace prefix android:

We noticed that this error is not properly displayed in the Problems view.

Xav


-- Forwarded message --
From: El elgui...@gmail.com
Date: Thu, Apr 30, 2009 at 3:01 PM
Subject: Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.
To: Xavier Ducrohet x...@android.com


The JRE setting was suggested initially by the quick fix menu. The
only error showing on the console is “null” with the location of the
manifest path given as Unknown. Thanks.

On Apr 30, 2:47 pm, Xavier Ducrohet x...@android.com wrote:
 I'm not sure why you need to set the project JRE. All you need is the
 Android library setup by the Eclipse plug-ins.

 What do you mean by null Manifest path location?

 Xav

 On Thu, Apr 30, 2009 at 2:26 PM, El elgui...@gmail.com wrote:

  After upgrading to SDK1.5 in Eclipse on Vista, (with changed root
  directory and environmental variable), all Imports from 1.1 have
  error:  needs target with advice to set properties. Edited
  properties to Android 1.5 and Set project JRE build path entry to
  'default JRE’ [jre1.6.0_03]. That fixed only to point of having null
  Manifest path location. Have been looking, but not finding answer. Can
  anybody help?

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.



-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.

2009-04-30 Thread Xavier Ducrohet

ok, just change it to uses-sdk android:minSdkVersion=3 /

Xav

On Thu, Apr 30, 2009 at 4:05 PM, El elgui...@gmail.com wrote:

 uses-sdk minSdkVersion=3 /

 On Apr 30, 3:09 pm, Xavier Ducrohet x...@android.com wrote:
 do you have uses-sdk minSdkVersion=2 / (or another value)?

 This is missing the namespace prefix android:

 We noticed that this error is not properly displayed in the Problems view.

 Xav



 -- Forwarded message --
 From: El elgui...@gmail.com
 Date: Thu, Apr 30, 2009 at 3:01 PM
 Subject: Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.
 To: Xavier Ducrohet x...@android.com

 The JRE setting was suggested initially by the quick fix menu. The
 only error showing on the console is “null” with the location of the
 manifest path given as Unknown. Thanks.

 On Apr 30, 2:47 pm, Xavier Ducrohet x...@android.com wrote:
  I'm not sure why you need to set the project JRE. All you need is the
  Android library setup by the Eclipse plug-ins.

  What do you mean by null Manifest path location?

  Xav

  On Thu, Apr 30, 2009 at 2:26 PM, El elgui...@gmail.com wrote:

   After upgrading to SDK1.5 in Eclipse on Vista, (with changed root
   directory and environmental variable), all Imports from 1.1 have
   error:  needs target with advice to set properties. Edited
   properties to Android 1.5 and Set project JRE build path entry to
   'default JRE’ [jre1.6.0_03]. That fixed only to point of having null
   Manifest path location. Have been looking, but not finding answer. Can
   anybody help?

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.- Hide quoted text -

 - Show quoted text -
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: SDK 1.5 in Eclipse on Vista gives null Manifest path location.

2009-04-30 Thread Xavier Ducrohet

If you get duplicated R.java, just remove the one in the src/ source
folder (Normally ADT is able to find it based on its status as
derived, but this may fail in some cases).

Xav

On Thu, Apr 30, 2009 at 5:30 PM, El elgui...@gmail.com wrote:

 Thanks, hoped that prefix would fix problem, but still showing
 Manifest with unknown location. All other apps (including samples)
 imported from 1.1 have error The type R is already defined since
 Generated Java Files are duplicating src R.java files.

 On Apr 30, 4:10 pm, Xavier Ducrohet x...@android.com wrote:
 ok, just change it to uses-sdk android:minSdkVersion=3 /

 Xav





 On Thu, Apr 30, 2009 at 4:05 PM, El elgui...@gmail.com wrote:

  uses-sdk minSdkVersion=3 /

  On Apr 30, 3:09 pm, Xavier Ducrohet x...@android.com wrote:
  do you have uses-sdk minSdkVersion=2 / (or another value)?

  This is missing the namespace prefix android:

  We noticed that this error is not properly displayed in the Problems view.

  Xav

  -- Forwarded message --
  From: El elgui...@gmail.com
  Date: Thu, Apr 30, 2009 at 3:01 PM
  Subject: Re: SDK 1.5 in Eclipse on Vista gives null Manifest path 
  location.
  To: Xavier Ducrohet x...@android.com

  The JRE setting was suggested initially by the quick fix menu. The
  only error showing on the console is “null” with the location of the
  manifest path given as Unknown. Thanks.

  On Apr 30, 2:47 pm, Xavier Ducrohet x...@android.com wrote:
   I'm not sure why you need to set the project JRE. All you need is the
   Android library setup by the Eclipse plug-ins.

   What do you mean by null Manifest path location?

   Xav

   On Thu, Apr 30, 2009 at 2:26 PM, El elgui...@gmail.com wrote:

After upgrading to SDK1.5 in Eclipse on Vista, (with changed root
directory and environmental variable), all Imports from 1.1 have
error:  needs target with advice to set properties. Edited
properties to Android 1.5 and Set project JRE build path entry to
'default JRE’ [jre1.6.0_03]. That fixed only to point of having null
Manifest path location. Have been looking, but not finding answer. Can
anybody help?

   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.- Hide quoted text -

  - Show quoted text -

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.- Hide quoted text -

 - Show quoted text -
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.5: Problems developing on a device

2009-05-01 Thread Xavier Ducrohet

If you device doesn't appear in ddms, you might want to restart abd
('adb kill-server' followed by 'adb start-server')

Xav

On Fri, May 1, 2009 at 8:41 AM, asymmetric oxy...@gmail.com wrote:

 i'm having the same problem, i.e. i cannot debug my application within
 eclipse anymore.
 the device doesn't even appear in the ddms window

 this is my console output:
Android Launch!
adb is running normally.
Performing com.asd.voipdroid.VOIPDroid activity launch
Automatic Target Mode: launching new emulator with compatible AVD 'api3'
Launching a new emulator with Virtual Device 'api3'

 i didn't touch anything related to ddms od debugging..

 thanks
 asy

 On Apr 30, 11:48 pm, Xavier Ducrohet x...@android.com wrote:
 What does the console say?

 Is your device showing up in the Device Panel in the DDMS perspective
 (or in adb devices) ?

 Xav



 On Wed, Apr 29, 2009 at 3:08 PM, PaulV paulvici...@gmail.com wrote:

  Hi everyone,

  I've been having problems to load my applications in my G1 Phone with
  the new Android 1.5. I was having no problems with the previous
  version (Android 1.1).

  I am using Eclipse 3.4 and with Android 1.1 when I selected run or
 debuga Device Chooser dialog appeared that listed the available
  emulators and connected devices; then I just selected the device to
  run my application. But now with the new Android 1.5 NO Device Chooser
  dialog appears, maybe I am doing something wrong, I followed this
  instructions:http://developer.android.com/guide/developing/device.html#setting-up.

  I hope someone can help me.

  Thanks for all

  Paul Vicioso

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Trouble with starting The Android emulator 1.5.

2009-05-07 Thread Xavier Ducrohet

Please read the documentation at
http://developer.android.com/guide/developing/tools/avd.html

Xav

On Thu, May 7, 2009 at 4:51 AM, Straja strahinja.s.bano...@gmail.com wrote:

 Hi,
 I'm absolute begginer. I've done all the  things that the tutorial
 said for Windows users.
 When I tried to start the emulator in cmd, I've got an error message
 to provide AVD name with emulator -avd name. What that name
 should be?

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.5 SDK now available

2009-05-07 Thread Xavier Ducrohet
)
 at org.eclipse.swt.widgets.Display.init(Display.java:462)
 at
  com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278)
 at
  com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126)
 at
  com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown
 Source)
 at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown
  Source)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 !ENTRY com.android.ide.eclipse.adt 4 0 2009-04-27 21:31:48.341
 !MESSAGE pingUsageServer failed
 !STACK 0
 org.eclipse.swt.SWTError: Not implemented [multiple displays]
 at org.eclipse.swt.SWT.error(SWT.java:3803)
 at
  org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712)
 at org.eclipse.swt.widgets.Display.create(Display.java:842)
 at org.eclipse.swt.graphics.Device.init(Device.java:154)
 at org.eclipse.swt.widgets.Display.init(Display.java:471)
 at org.eclipse.swt.widgets.Display.init(Display.java:462)
 at
  com.android.sdkstats.SdkStatsService.getUserPermission(SdkStatsService.java:278)
 at
  com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:126)
 at
  com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer(Unknown
 Source)
 at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown
  Source)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 I use the latest Ubuntu jaunty and Sun JDK
 The previous Android SDK  (1.1) works without problems

 I tried to do a clean installation of the eclipse and the sdk but the
 problem persist

 Anybody else with this problem?
 --
 Javier Jardón Cabezas
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Upgraded SDK, now can't do helloAndroid project

2009-05-17 Thread Xavier Ducrohet

Make sure you've followed all the steps at
http://developer.android.com/sdk/1.5_r1/upgrading.html#UpdateYourProjects

Xav

On Sun, May 17, 2009 at 10:07 AM, Michael Dorin bsddo...@gmail.com wrote:

 I just upgrade the sdk on my machine, now I can't recreate the
 helloAndroid project.

 I follow the steps, and get the following:

 [2009-05-17 12:04:57 - HelloAndroid] no classfiles specified
 [2009-05-17 12:04:57 - HelloAndroid] Conversion to Dalvik format
 failed with error 1


 What did I forget to do?

 Thanks,
  Mike

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Device Chooser shows warning

2009-07-21 Thread Xavier Ducrohet

Exactly.

The device chooser sees that the device is running the correct API
level, but it cannot know if the device actually has the optional
library that your application require.

Xav

On Tue, Jul 21, 2009 at 10:24 AM, Oliver Rennfortanubis...@gmail.com wrote:
 That's normal when you define a app with map api

 Android Apps Developer

 On Jul 21, 2009 1:20 PM, yves yves5...@googlemail.com wrote:


 Hello,

 when I run my application out of eclipse and the device chooser comes
 up,

 it shows me my real phone and in the target-column it shows 1.5 and a
 warning sign

 what does that mean and how to fix the error?

 Thanks
 Yves


 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: XML Layout does not show AutoCompleteTextView

2009-08-05 Thread Xavier Ducrohet

This is a known issue which should be fixed in the next version.

Xav

On Wed, Aug 5, 2009 at 1:26 AM, Phill
Perrymanphill.perry...@googlemail.com wrote:

 When I create a simple xml layout with a linear layout and add an auto
 complete text viewer all I get is a NullPointerException: null on the
 screen. This also happens when I open the autocomplete samples. I am
 using Eclipse Galileo and the latest android sdk. Am I doing something
 wrong or is this a bug.

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Trouble creating avd

2009-08-05 Thread Xavier Ducrohet

which version of the SDK are you using?

Try to manually create ~/.android/avd/ to see if it helps.

Xav

On Wed, Aug 5, 2009 at 2:00 AM, priisholmkenneth.priish...@gmail.com wrote:

 Hi,

 All new to Android development, I have installed the sdk and the
 eclipse-plugin on Mac OS and am trying to complete the tutorials.
 Unfortunately my problems start already trying to create an avd; using
 bash:

 my_user_name$ ./android create avd --target 2 --name basic_avd
 Android 1.5 is a basic Android platform.
 Do you wish to create a custom hardware profile [no]
 Error: /Users/my_user_name/.android/avd/basic_avd.ini (No such file
 or directory)

 I've tried with sudo as well, but that doesn't help so it doesn't seem
 to be a permission problem, and using the Android AVD Manager in
 eclipse returns the same error.

 Any similar experiences or ideas how to solve?

 Thank you in advance.

 Regads,
 Kenneth

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Help me in Creating a AVD

2009-08-06 Thread Xavier Ducrohet

Giving us the exact command you're using would help us figure out what
the problem is.

Xav

On Wed, Aug 5, 2009 at 8:52 PM,
AndroidDevsanthoshreddygang...@gmail.com wrote:

 Hi there...

 I am quiet new to the Android platform. I am unable to create an AVD
 ( Command not found error when i execute create AVD Command), I
 followed the steps shown in Developer Guide. I work on Os X 10.5.7.

 Please help me in this regard.


 Thanks A Bunch.

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Help me in Creating a AVD

2009-08-06 Thread Xavier Ducrohet

it is possible that the script is not marked as an executable (fix
with 'chmod +x android'), and/or that you don't have the current
folder in your path.

try ./android to force it to use the version in the current directory.

xav

On Thu, Aug 6, 2009 at 12:19 PM, santhoshreddy
gangulasanthoshreddygang...@gmail.com wrote:
 Hi Xav,

 I follwed the following Instruction for creating AVD...

 To create an AVD, use the android tool provided in the Android SDK. Open
 a command prompt or terminal, navigate to the tools/ directory in the SDK
 package and execute:

 android create avd --target 2 --name my_avd



 Sann

 On Thu, Aug 6, 2009 at 11:57 AM, Xavier Ducrohet x...@android.com wrote:

 Giving us the exact command you're using would help us figure out what
 the problem is.

 Xav

 On Wed, Aug 5, 2009 at 8:52 PM,
 AndroidDevsanthoshreddygang...@gmail.com wrote:
 
  Hi there...
 
  I am quiet new to the Android platform. I am unable to create an AVD
  ( Command not found error when i execute create AVD Command), I
  followed the steps shown in Developer Guide. I work on Os X 10.5.7.
 
  Please help me in this regard.
 
 
  Thanks A Bunch.
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.




 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Sample Code

2009-08-07 Thread Xavier Ducrohet

Samples are under their respective platform versions.

Look into
SDK/platforms/target_platform/samples/

Xav

On Fri, Aug 7, 2009 at 9:51 AM, Nathannrb...@gmail.com wrote:

 I am just getting started with Android development and I would like to
 go over the sample code that it says is included with the sdk.
 However, it appears not to be included in the version I downloaded
 (android-sdk-windows-1.5r3).  There isn't a folder at all for sample
 code.

 Any one know where I can get a copy of the sample code to start
 studying it?

 Thanks

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: XML Layout does not show AutoCompleteTextView

2009-08-11 Thread Xavier Ducrohet

Well, you can use it. it's just not supported by the layout editor in ADT.

Xav

On Tue, Aug 11, 2009 at 1:02 AM, fra111fra...@gmail.com wrote:

 So , until the next version,  there is no way to use autocompete text
 widget with this sdk?

 On Aug 5, 8:58 pm, Xavier Ducrohet x...@android.com wrote:
 This is a known issue which should be fixed in the next version.

 Xav

 On Wed, Aug 5, 2009 at 1:26 AM, Phill

 Perrymanphill.perry...@googlemail.com wrote:

  When I create a simple xml layout with a linear layout and add an auto
  complete text viewer all I get is a NullPointerException: null on the
  screen. This also happens when I open theautocompletesamples. I am
  using Eclipse Galileo and the latest android sdk. Am I doing something
  wrong or is this a bug.

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Plugin

2009-08-18 Thread Xavier Ducrohet

http://d.android.com/sdk/adt_download.html

Xav

On Mon, Aug 17, 2009 at 10:34 AM, Bishesh Manandharcoldda...@gmail.com wrote:
  Is it possible to download the android plugin without using eclipse

 i need to shift eclipse to another computer.. but there is no access to
 internet.. is it possible to download the android pluginsss...

 is it possible by shifting some  jar filess...


 PLZZ HELPPP



 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Using dom4j in Eclipse

2009-08-25 Thread Xavier Ducrohet

Don't put it in src/

It's common to put it in libs/ so that if someone wants to compile
your project with the Ant script they can (Ant will import and include
in your final APK any jar files located in libs/), then right click on
it in the Package Explorer view of Eclipse and choose Build Path  Add
to Build Path.. so that eclipse knows it's a library that is part of
the project.

Xav

On Tue, Aug 25, 2009 at 6:22 AM, Zonakusuzonak...@gmail.com wrote:

 Hi!

 I am creating an app that uses a lot of different XML files. Because
 there are so many I don't like the way SAXParser does it, it would
 result in many classes to read all different XML files.

 That's why I want to use a more simple XML parser such as dom4j. Does
 anyone has experience in importing it in Eclipse en running it on
 Android? When I import the .jar file in my /src folder I cant import
 org.dom4j.Document for example.

 Thanks in advance!

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-08-25 Thread Xavier Ducrohet

I see that you have changed the location of the user folders (in S:
instead of C:)

When the user location is not the default one, we have seen some cases
where windows reports the location of the user folder differently
depending on which API you use (the command line tool and Eclipse use
a Java API, while the emulator use a windows C++ API).

You can override the behavior of both by declaring an environment
variable called ANDROID_SDK_HOME
Make it point to your HOME folder (S:\Documents and Settings\Phoenix\
in this case) and both the emulator and the java based tools will read
and write into the same folder.

Xav

On Tue, Aug 25, 2009 at 6:21 AM, Phoenixphoenixsen...@gmail.com wrote:

 I also have the same error.

 I've tried creating the AVD on the command line and via the gui in the
 Eclipse plugin.  Both created the AVD with no problems, but the
 emulator still cannot find it.

 I've tried running with the configuration set to Automatic, and to
 Manual and manually selecting Launch a new Android Virtual Device and
 checking the box next to 'my_avd', and the emulator still cannot find
 it.  I know it exists, I can see it in S:Documents and Settings
 \Phoenix\.android\avd\my_avd.avd

 I've tried stopping and re-starting the ADB server, stopping and re-
 starting Eclipse... nothing has fixed it.

 This is on a new setup, just set up today.  Eclipse Galileo, Android
 SDK 1.5_r3 for Windows, on XP.

 The complete console:
 [2009-08-25 06:11:11 - HelloAndroid] --
 [2009-08-25 06:11:11 - HelloAndroid] Android Launch!
 [2009-08-25 06:11:11 - HelloAndroid] adb is running normally.
 [2009-08-25 06:11:11 - HelloAndroid] Performing
 com.example.helloandroid.HelloAndroid activity launch
 [2009-08-25 06:11:11 - HelloAndroid] Automatic Target Mode: Preferred
 AVD 'my_avd' is not available. Launching new emulator.
 [2009-08-25 06:11:11 - HelloAndroid] Launching a new emulator with
 Virtual Device 'my_avd'
 [2009-08-25 06:11:12 - Emulator] emulator: ERROR: unknown virtual
 device name: 'my_avd'
 [2009-08-25 06:11:12 - Emulator] emulator: could not find virtual
 device named 'my_avd'

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-08-26 Thread Xavier Ducrohet

On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote:

 On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
 I see that you have changed the location of the user folders (in S:
 instead of C:)

 There are user folders on both S: and C:.  Only the Desktop and My
 Documents special folders are on S:.  Everything else (including App
 Data) is on C:.  [The documents are shared between operating systems
 on different partitions]

 Android (or Eclipse?) has been the only thing to use S:.

 When the user location is not the default one, we have seen some cases
 where windows reports the location of the user folder differently
 depending on which API you use (the command line tool and Eclipse use
 a Java API, while the emulator use a windows C++ API).

 That would explain why the command line tools and Eclipse could see
 my_avd just fine, but the emulator could not find it.

 But, shouldn't Android be set up to use HOMEDRIVE/HOMEPATH?  Standard
 environment variables.

I think there are difference on XP/Vista which makes using those hard
to use (back in the previous SDK we were using LOCALAPPDATA but we
ended up having the same problem).

What we use on java is the user.home property setup by the VM. Looks
like the Java VM thinks your home is in S:\...
I look again into these 2 env variables and see if they could be used.

 Also, a single line in the installation instructions could have
 prevented this confusion.  When Android can see the AVD from the
 command line and the Eclipse gui, but not from the emulator, and no
 explanation is given (especially on the first test project), it's ...
 disheartening.

I agree. We should at least have the emulator output a message saying
where it's looking for the AVD and how to fix the problem if it's not
where the AVDs are created.

 In any event, with the ANDROID_SDK_HOME variable set to the S:
 home (which is not the real home directory, that is on C:), the
 emulator now works.

Well we don't want to go and set a permanent env on your machine. I
guess we could but relying on existing standard env variables should
be better. I mean, what happens if the user removes it or change the
location of his/her home folder but doesn't update this?

In any case we do need to find a solution.

Xav
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Ant build for android-1.5/samples

2009-09-03 Thread Xavier Ducrohet

'android create project' should really not touch any existing files.
I've filed a bug internally so that we can fix this asap.

thanks,
Xav

On Wed, Sep 2, 2009 at 1:09 PM, jotobjectsjotobje...@gmail.com wrote:

 I figured this out on my own.  android update project does the right
 thing if and only if AndroidManifest.xml exists in the target
 directory (it does for the samples).

 Example (first start emulator for install)

 cd platfrom/android-1.5/ApiDemos
 android update project -t 2 -p .
 ant debug
 adb install bin/ApiDemos-debug.apk

 A readme file in the samples directory with the steps for building the
 samples would be helpful for newbies.  It seems I encountered a bug in
 android create project as it destructively over wrote files like
 strings.xml in an existing project - maybe the tool should not allow
 you to shoot yourself in the foot so easily :-).

 On Sep 1, 12:46 pm, jotobjects jotobje...@gmail.com wrote:
 What is the cookbook way to build the sample apps in the android-1.5/
 samples SDK directory.  There are not any ant build.xml scripts.  I
 tried  android create project using the samples directory but that
 gave me an error saying the directory already existed and then
 proceeded to overwrite things strings.xml.  So that was clearly NOT
 the right thing to do.

 I thought it would be nice to build the samples and play with them.
 How do I do that?  I'm looking for the non-Eclipse way using ant - but
 I don't see how to do it with Eclipse either.

 Thanks - Paul Copeland
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Okay.... I give up

2009-09-08 Thread Xavier Ducrohet

You're only missing the part about creating an AVD:
http://d.android.com/guide/developing/tools/avd.html

btw, you can only launch the emulator manually from the command line
(because you need to give the avd name).

Xav

On Sat, Sep 5, 2009 at 5:47 PM, furbywookie...@gmail.com wrote:

 I have now spent the better part of 12 hours trying to just get my
 development environment to run I am trying to use NetBeans to
 develop a simple Android app. I downloaded the Android dev kit and
 unpacked it to my C:/ drive. Then I grabbed the latest version of
 NetBeans. And then I installed nbandroid for NetBeans. I create a new
 project and choose the Android type of project. All is well... then I
 take that base project and try to run it and NetBeans asks me to
 either select a running device or start AVD... Both lists are blank.

 So I figured that perhaps I ought to start the emulator running before
 I try to run the project from the NetBeans side. I go to the ADK
 directory and try double clicking on the Android jar file... nothing.
 I figure The emuilator must be in the tools directory and so I go
 there and double click on the android.bat file... nothing. So I think
 Maybe it is the exe file called Android and double click on that -
 nothing.

 At that point I thought I had missed something in installing the
 ADK... I go to the web page that describes installing it - Apparently
 the only thing for windows (After unpacking the zip file) is to update
 the Path system variable - which I did and have now checked 4 times
 to make sure I didn't point it at the wrong directory... with the same
 results as before.

 What am I doing wrong? I know it isn't a google mistake - enough
 people have made this work before me - so it has to be me. What did I
 miss?

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Installing the SDK alongside Amazon EC2 Tools on Mac

2009-09-08 Thread Xavier Ducrohet

You could just add the line as it takes your current path and add the
sdk to it, or you can just edit your current line to read

export PATH=$PATH:$EC2_HOME/bin:android sdk/tools

Xav

On Sat, Sep 5, 2009 at 4:37 PM, Stevesgmbest12...@gmail.com wrote:

 Hello,
 I recently went to install the Android SDK and noticed a potential
 problem.
 I have the amazon ec2 tools installed and it uses a the PATH variable
 in ~/.bash_profile
 the line i have for ec2 tools is: export PATH=$PATH:$EC2_HOME/bin
 the android sdk wants me to add export PATH=${PATH}:your_sdk_dir/
 tools to ~/.bash_profile
 i was wondering is there was anyway to use a different variable so i
 can have both at the same time or will i have to do what im doing now
 and comment out one of the lines to use the other.
 thanks in advance
 steve mitchell

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: No dx or aapt in tools directory

2009-09-09 Thread Xavier Ducrohet

dx and aapt are in the platform folders: SDK/platforms/platform/tools/

Xav

On Tue, Sep 8, 2009 at 3:07 PM, winf3redwinfred.b...@gmail.com wrote:

 Hi All,

 I am having some trouble with multiple instances of the same class
 file being compiled to my android package by ADT.  I have been unable
 to find multiple references in my eclipse view, so I thought I would
 try to use dx to do this in a more manual fashion.  To my surprise,
 there is no executable or script for dx or aapt in the tools directory
 of my android install.  Further, there are tools not described in the
 documentation (e.g. apkbuilder.bat) in my tools directory.

 I have double checked the file (android-sdk-windows-1.5_r3.zip) on the
 website and checked the md5 sum.  Everything looks good, so what am I
 missing?  Have I downloaded the wrong bundle thinking I was getting
 the SDK but actually something else?  Are things named differently on
 my platform (windows XP 32 bit) and I just didn't read the correct
 docs?  How does Eclipse ADT function, since my understanding is it
 depends on finding dx somewhere on the system?

 Does anyone else see this or have any ideas?

 Best Regards,
 Winfred

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: findViewById bug or documentation problem

2009-09-11 Thread Xavier Ducrohet

Looks like the page has some id attribute with the proper namespace
prefix and some that are missing it.

I've filed a bug internally to make sure this gets fixed.

thanks!
Xav

On Fri, Sep 11, 2009 at 9:08 AM, Mark Murphy mmur...@commonsware.com wrote:

 jotobjects wrote:
 ERROR IN DOCUMENTATION - see

        
 http://developer.android.com/guide/topics/resources/available-resources.html

 --- quote --
 When declaring an ID value for an XML tag, use this syntax. Example:
 TextView id=@+id/nameTextbox/, and refer to it this way in Java:
 findViewById(R.id.nameTextbox)
 -- end quote --

 The above example is WRONG.  It should be this way --  TextView
 android:id=@+id/nameTextbox/

 Way back in the spring of 2008, you did not need the android: prefix on
 android:id. They changed that, but apparently missed this reference in
 the documentation. Most of the documentation is correct, AFAICT.

 You may wish to post this to http://b.android.com if it is not already
 there.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://twitter.com/commonsguy

 Android Training in Germany, 18-22 January 2010: http://bignerdranch.com

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Android 1.6 SDK is here!

2009-09-15 Thread Xavier Ducrohet

http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

Enjoy!
-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: aapt is present - Hello, World application.

2009-09-15 Thread Xavier Ducrohet

Can use execute aapt manually from the command line?
What OS are you running?

On Sat, Sep 12, 2009 at 3:46 PM, Lee Jarvis ljjar...@googlemail.com wrote:

 Hey guys, I'm trying to run the hello world application from the
 documentation example, but to no avail..

 This is my error:

 Error executing aapt. Please check aapt is present at /home/haze/
 android/platforms/android-1.1/tools/aapt

 $ ls /home/haze/android/platforms/android-1.1/tools/
 aapt  aidl  dexdump  dx  lib

 aapt is also executable, so I'm not quite sure what the problem is. I
 realize this question has been asked many times before, but even with
 that I was unable to resolve it.

 Thanks,
 Lee

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-15 Thread Xavier Ducrohet

A last minute mix-up had us upload the wrong SDK packages :(

The only difference is the lack of TTS language files and of the
Accessibility apps (TalkBack, SoundBack and KickBack)

If you don't care about this you can keep using your 1.6 SDK. If you
care about these features, I've just uploaded the correct archives.

We apologize for the inconvenience.

Xav

On Tue, Sep 15, 2009 at 3:22 PM, Xavier Ducrohet x...@android.com wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

 Enjoy!
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: About ERROR: unknown virtual device name: 'myavd'

2009-09-16 Thread Xavier Ducrohet

Nicolas,

what's the problem exactly? To be honest, nothing has been done on the
AVD handling since this thread was originally created.

Xav

On Wed, Sep 16, 2009 at 4:32 AM, Nicolas Gramlich stoeps...@gmx.de wrote:

 Hi,

 just tried this again with the ADT 0.9.3 (downloaded today) and
 Android 1.6 r1 (also from today) and in the Virtual Devices-Window I
 can see my newly created AVD with a green checker to the left: A
 valid Android Virtual Device.

 ANDROID_SDK_HOME is properly set to C:\Users\nico; for user and
 system-environment variables.

 I can also see the emulator-image being properly created in C:\Users
 \nico\.android\avd\Emu_1_6.avd\userdata.img.

 I'm using Windows7 RC 64Bit with a 64 Bit JDK and Eclipse is running
 (or has to run) with its own 32 Bit JRE.

 Any ideas?


 On 27 Aug., 03:21, Xavier Ducrohet x...@android.com wrote:
 On Wed, Aug 26, 2009 at 4:21 AM, Phoenixphoenixsen...@gmail.com wrote:

  On Aug 25, 4:41 pm, Xavier Ducrohet x...@android.com wrote:
  I see that you have changed the location of the user folders (in S:
  instead of C:)

  There are user folders on both S: and C:.  Only the Desktop and My
  Documents special folders are on S:.  Everything else (including App
  Data) is on C:.  [The documents are shared between operating systems
  on different partitions]

  Android (or Eclipse?) has been the only thing to use S:.

  When the user location is not the default one, we have seen some cases
  where windows reports the location of the user folder differently
  depending on which API you use (the command line tool and Eclipse use
  a Java API, while the emulator use a windows C++ API).

  That would explain why the command line tools and Eclipse could see
  my_avd just fine, but the emulator could not find it.

  But, shouldn't Android be set up to use HOMEDRIVE/HOMEPATH?  Standard
  environment variables.

 I think there are difference on XP/Vista which makes using those hard
 to use (back in the previous SDK we were using LOCALAPPDATA but we
 ended up having the same problem).

 What we use on java is the user.home property setup by the VM. Looks
 like the Java VM thinks your home is in S:\...
 I look again into these 2 env variables and see if they could be used.

  Also, a single line in the installation instructions could have
  prevented this confusion.  When Android can see the AVD from the
  command line and the Eclipse gui, but not from the emulator, and no
  explanation is given (especially on the first test project), it's ...
  disheartening.

 I agree. We should at least have the emulator output a message saying
 where it's looking for the AVD and how to fix the problem if it's not
 where the AVDs are created.

  In any event, with the ANDROID_SDK_HOME variable set to the S:
  home (which is not the real home directory, that is on C:), the
  emulator now works.

 Well we don't want to go and set a permanent env on your machine. I
 guess we could but relying on existing standard env variables should
 be better. I mean, what happens if the user removes it or change the
 location of his/her home folder but doesn't update this?

 In any case we do need to find a solution.

 Xav
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

Oops, thanks for the info Kent!

Xav

On Wed, Sep 16, 2009 at 8:22 AM, Kent Loobey k...@uoregon.edu wrote:

 On Tuesday 15 September 2009 15:22:07 Xavier Ducrohet wrote:
 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here.html

 Enjoy!

 From the following link:
 http://developer.android.com/sdk/download.html?v=ADT-0.9.3.zip

 I downloaded ADT-0.9.3.zip.  I then clicked on the link to:
 http://developer.android.com/sdk/0.9.3/upgrading.html

 to read the upgrade notes and got the following resullt:

 Error 404
 File not found


 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Xavier Ducrohet

I'm guessing this is Eclipse showing you that?

If so, can you post your .log file (located in your workspace in the
.metadata folder)
(it may be big, try to only post the end of it, or whatever part
contain the error)

thanks
xav

On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Must have missed something...1.5-1.6

2009-09-16 Thread Xavier Ducrohet

Hmm this shouldn't have been needed. I'll try to reproduce it here.

Xav

On Wed, Sep 16, 2009 at 8:43 AM, Michael Dorin bsddo...@gmail.com wrote:

 Found it.
 I didn't re-do the run configuration for my project.
 Once I did that it started to work.

 -Mike

 On Wed, Sep 16, 2009 at 10:34 AM, Xavier Ducrohet x...@android.com wrote:

 I'm guessing this is Eclipse showing you that?

 If so, can you post your .log file (located in your workspace in the
 .metadata folder)
 (it may be big, try to only post the end of it, or whatever part
 contain the error)

 thanks
 xav

 On Wed, Sep 16, 2009 at 5:51 AM, Michael Dorin bsddo...@gmail.com wrote:

 I thought I followed all the instructions to update the SDK.
 I have updated a couple projects and no errors are shown.
 When I attempt to launch though, I get:

 'Launching ...' has encountered a problem.
 An internal error occurred during: Launching ... 

 java.lang.NullPointerException

 I am running on vista.

 Any ideas as to what I may have done wrong?

 -Mike

 




 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

 


 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

When did you download the SDK?
See my other message sent last night:
http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

Xav

On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com wrote:
 I downloaded the SDK 1.6 , i run emulator and i do not see TTS and other
 feature why ?
 Natalya

 On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com wrote:

 Hi Neil,

 Sorry for that. Unfortunately we cannot fix all known bugs, we have to
 prioritize. Last time I checked we fixed more than 1,300 bugs from our
 internal database in Donut btw :)

 On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
 
  I'm very disappointed that bluetooth still doesn't seem to be fixed.
 
  I'm specifically interested in these issues - not being able to use
  handsfree:
  http://code.google.com/p/android/issues/detail?id=2647
  http://code.google.com/p/android/issues/detail?id=2855
 
  Neil
 
 
  On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
 
  http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
 
  Enjoy!
  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
  
 



 --
 Romain Guy
 Android framework engineer
 romain...@android.com

 Note: please don't send private questions to me, as I don't have time
 to provide private support.  All such questions should be posted on
 public forums, where I and others can see and answer them




 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

What do you mean by TTS is not there (What did you try exactly)?

Did you go to Settings  Speech Synthesis ? The Listen to an example
item should be enabled.

Xav

On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com wrote:
 I downloaded the new one i see Google Map but TTS and Speech recognition is
 not there
 PS: I work on emulator
 May be  i need to download the libraries from some where can you gave me the
 link ?

 On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
 wrote:

 I will try to download the new one but the Speech recognition i do not
 have too.

 On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com wrote:

 When did you download the SDK?
 See my other message sent last night:
 http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

 Xav

 On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry natalyado...@gmail.com
 wrote:
  I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
  other
  feature why ?
  Natalya
 
  On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
  wrote:
 
  Hi Neil,
 
  Sorry for that. Unfortunately we cannot fix all known bugs, we have to
  prioritize. Last time I checked we fixed more than 1,300 bugs from our
  internal database in Donut btw :)
 
  On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:
  
   I'm very disappointed that bluetooth still doesn't seem to be fixed.
  
   I'm specifically interested in these issues - not being able to use
   handsfree:
   http://code.google.com/p/android/issues/detail?id=2647
   http://code.google.com/p/android/issues/detail?id=2855
  
   Neil
  
  
   On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:
  
  
   http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
  
   Enjoy!
   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.
   
  
 
 
 
  --
  Romain Guy
  Android framework engineer
  romain...@android.com
 
  Note: please don't send private questions to me, as I don't have time
  to provide private support.  All such questions should be posted on
  public forums, where I and others can see and answer them
 
 
 
 
  
 



 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.





 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Android 1.6 SDK is here!

2009-09-16 Thread Xavier Ducrohet

this release is for the SDK. Device updates are completely unrelated to this.

Xav

On Wed, Sep 16, 2009 at 12:30 PM, Nox v.beh...@googlemail.com wrote:

 Hello everybody,
 I´m new with Android and I´ve got a Samsung Galaxy, but it doesn´t
 display that there´s an update!!!

 Do you know what to do???


 Thanks in advance
 Viktor

 On 16 Sep., 20:58, Natalya Dobry natalyado...@gmail.com wrote:
 Ok Thanks a lot , I found it, i thought that it is should looks like in
 Video guide.
 How can i found speech recognition ?
 in SDK 1.5 i had speech recognition enabled i saw the microphone symbol near
 the google search but now
 i do not see it.Can you help me with this.

 Regards,
 Natalya

 On Wed, Sep 16, 2009 at 9:47 PM, Xavier Ducrohet x...@android.com wrote:

  What do you mean by TTS is not there (What did you try exactly)?

  Did you go to Settings  Speech Synthesis ? The Listen to an example
  item should be enabled.

  Xav

  On Wed, Sep 16, 2009 at 11:37 AM, Natalya Dobry natalyado...@gmail.com
  wrote:
   I downloaded the new one i see Google Map but TTS and Speech recognition
  is
   not there
   PS: I work on emulator
   May be  i need to download the libraries from some where can you gave me
  the
   link ?

   On Wed, Sep 16, 2009 at 9:03 PM, Natalya Dobry natalyado...@gmail.com
   wrote:

   I will try to download the new one but the Speech recognition i do not
   have too.

   On Wed, Sep 16, 2009 at 8:40 PM, Xavier Ducrohet x...@android.com
  wrote:

   When did you download the SDK?
   See my other message sent last night:
  http://groups.google.com/group/android-beginners/msg/c8ac776bd538f8f6

   Xav

   On Wed, Sep 16, 2009 at 10:32 AM, Natalya Dobry 
  natalyado...@gmail.com
   wrote:
I downloaded the SDK 1.6 , i run emulator and i do not see TTS and
other
feature why ?
Natalya

On Wed, Sep 16, 2009 at 6:18 PM, Romain Guy romain...@google.com
wrote:

Hi Neil,

Sorry for that. Unfortunately we cannot fix all known bugs, we have
  to
prioritize. Last time I checked we fixed more than 1,300 bugs from
  our
internal database in Donut btw :)

On Wed, Sep 16, 2009 at 6:04 AM, Neil neilb...@gmail.com wrote:

 I'm very disappointed that bluetooth still doesn't seem to be
  fixed.

 I'm specifically interested in these issues - not being able to
  use
 handsfree:
http://code.google.com/p/android/issues/detail?id=2647
http://code.google.com/p/android/issues/detail?id=2855

 Neil

 On Sep 16, 12:22 am, Xavier Ducrohet x...@android.com wrote:

 http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...

 Enjoy!
 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.

--
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have
  time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

   --
   Xavier Ducrohet
   Android Developer Tools Engineer
   Google Inc.

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Cant install ADT plugin for Eclipse

2009-09-25 Thread Xavier Ducrohet

Install the Classic version. We are investigating what is going on,
but it looks like a problem on Eclipse's update sites.

Xav

On Thu, Sep 24, 2009 at 8:43 PM, Stephen slubow...@gmail.com wrote:

 On 2 different machines (with clean galileo installs) the ADT plugin
 fails to load both remotely and trying to import from the zip archive.
 The error is as follows:

 An error occurred while collecting items to be installed
  session context was:(profile=epp.package.java,
 phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect,
 operand=, action=).
  No repository found containing: osgi.bundle,org.eclipse.ant.ui,
 3.4.1.v20090901_r351
  No repository found containing: osgi.bundle,org.eclipse.cvs,
 1.0.300.v200909170800
  No repository found containing: osgi.bundle,org.eclipse.jdt,
 3.5.1.v200909170800
  No repository found containing: osgi.bundle,org.eclipse.jdt.apt.core,
 3.3.201.R35x_v20090818-0235
  No repository found containing:
 osgi.bundle,org.eclipse.jdt.apt.pluggable.core,
 1.0.201.R35x_v20090818-0225
  No repository found containing:
 osgi.bundle,org.eclipse.jdt.compiler.apt,1.0.201.R35x_v20090825-1530
  No repository found containing:
 osgi.bundle,org.eclipse.jdt.compiler.tool,1.0.100.v_972_R35x
  No repository found containing: osgi.bundle,org.eclipse.jdt.core,
 3.5.1.v_972_R35x
  No repository found containing: osgi.bundle,org.eclipse.jdt.debug.ui,
 3.4.1.v20090811_r351
  No repository found containing: osgi.bundle,org.eclipse.jdt.doc.user,
 3.5.1.r351_v20090821-0800
  No repository found containing: osgi.bundle,org.eclipse.jdt.junit,
 3.5.1.r351_v20090708-0800
  No repository found containing: osgi.bundle,org.eclipse.jdt.ui,
 3.5.1.r351_v20090821-0800
  No repository found containing: osgi.bundle,org.eclipse.team.cvs.ui,
 3.3.201.R35x_v20090826-0905
  No repository found containing: osgi.bundle,org.eclipse.ui.views.log,
 1.0.100.v20090731
  No repository found containing:
 osgi.bundle,org.junit4,4.5.0.v20090824
  No repository found containing:
 org.eclipse.update.feature,org.eclipse.cvs,
 1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16
  No repository found containing: binary,org.eclipse.cvs_root,
 1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16
  No repository found containing:
 org.eclipse.update.feature,org.eclipse.jdt,
 3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ
  No repository found containing: binary,org.eclipse.jdt_root,
 3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ

 Can anybody point in the right direction? Thanks
 Stephen

 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

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



[android-beginners] Re: Help! I get this error message concerning the AVD

2009-10-01 Thread Xavier Ducrohet

This is very strange. you could try to fix the config file with

android update avd --name name

If that doesn't help can you send the file to me?

xav

On Wed, Sep 30, 2009 at 3:21 PM, PeterBrynte peter.bry...@gmail.com wrote:

 When trying to run my first attempt to an android app I get this error
 message concerning the AVD:
 [2009-09-30 23:57:00 - Emulator]emulator: ERROR: no search paths found
 in this AVD's configuration.
 [2009-09-30 23:57:00 - Emulator]Weird, the AVD's config.ini file is
 malformed. Try re-creating it.
 [2009-09-30 23:57:00 - Emulator]

 contents of the config.ini-file are:
 skin.name=HVGA
 skin.path=platforms\android-1.5\skins\HVGA
 image.sysdir.2=platforms\android-1.5\images\
 image.sysdir.1=add-ons\google_apis-3\images\
 Please tell me, what is wrong ?

 Kind regards

 Peter Brynte

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Problems with the tutorials and SDK/Emulator 1.6

2009-10-01 Thread Xavier Ducrohet

I have no idea what the problem is, but you should look at the output
from logcat.

This is where the relevant information regarding the app crashing is.

Xav

On Tue, Sep 29, 2009 at 6:59 PM, baumer miketissenb...@gmail.com wrote:

 I've been working my way through the tutorials from the Android
 Development page and had two major problems/errors come up while
 running the 1.6 emulator.

 When trying to run HelloTableLayout from the tutorial I get the error
 The application Hello Table Layout (process
 com.example.hellotablelayout) has stopped unexpectedly. Please try
 again.

 I get the same thing even when I copy and paste the code directly from
 the example code from the website.

 I'm having another problem with the HelloRelativeLayout tutorial,
 where no matter what I do the two radio buttons end up aligned on the
 left side of the screen (not the right) and one on top of the other
 (not on the same line).

 Again same thing happens even when I copy and paste the code off the
 site.

 Am I missing something here of is it just something to do with the new
 SDK and Emulator?

 Really appreciate any help/advice,

 Thanks

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: api key

2009-10-05 Thread Xavier Ducrohet

It's all explained here:
http://code.google.com/android/add-ons/google-apis/mapkey.html

On Mon, Oct 5, 2009 at 5:23 AM, android darioamor...@gmail.com wrote:

 ow do you get fingerprint for the key APIs for android

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: EclipseIDE for Java Developers galileo install plug in problem

2009-10-06 Thread Xavier Ducrohet

The 2 problems are completely unrelated.

Yes, the plug-ins are not signed. Just install them anyway.

Sometimes, when you create a project, the java builder doesn't see the
new gen folder. Either clean your project or do a minor edit in the
java source code. It should recompile your project without errors.

Xav

On Tue, Oct 6, 2009 at 1:41 AM, Cyberobot li.jac...@gmail.com wrote:

 Hi all,

  I have problem to install ADT-0.9.3 to galileo.
  I always get security warning message of
 com.android.ide.clipse.adt_0.9.3 v200909031112-12945.jar and
 ddms_0.9.3 v200909031112-12945.jar that contains unsigned content.
 However, if I continue with the installation, I will get missing
 following errors when I create android project:
  missing required source folder: 'gen'
  The project cannot be build until build path errors are resolved

  Please help.
  Thanks a lot.

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Multiple SDK version HOWTO?

2009-10-07 Thread Xavier Ducrohet

Starting with Android 1.5 SDK, the SDK isn't tied to a specific
version of Android anymore.

Instead the SDK is a combo of the following components:
- The tools (DDMS, adb, etc..)
- The documentation
- One, or more, platforms, ie you could have 1.1, 1.5, and 1.6 in your
SDK (and any platforms we release in the future)
- add-ons (for instance of the Google API add-on which exists for 1.5 and 1.6).

This requires a recent ADT, to deal with the change in the SDK structure.

From there, whenever you create a new project you must select what a
platform you want to compile for, and when launching an emulator you
can target which platform to run as well by creating AVDs
(http://d.android.com/guide/developing/tools/avd.html).
You could defintively have in the same workspace  1.1 projects
alongside 1.5 and 1.6 projects (or even projects targeting add-ons).

If you are still using the original 1.1 SDK, I _highly_ recommend that
you download the latest SDK* and add 1.1 support to it via the SDK
updater (http://d.android.com/guide/developing/updating-sdk.html)

* the latest SDK is called Android 1.6 SDK but it's a misnomer
really. It's just that it's the one that introduces the 1.6 component
to the SDK. It can actually support 1.5 (which is in fact
pre-packaged) and 1.1 (available as a separate download, see doc about
SDK updater). We will probably straighten out how we name SDKs in the
near future.

Xav

On Wed, Oct 7, 2009 at 9:34 AM, Justin Anderson janderson@gmail.com wrote:
 As far as I am aware the only way to do that is to either specify the
 minimum SDK version as 1.1 and only use features from that SDK (it should
 still run on 1.5 and 1.6) or to have separate apps with different packages,
 etc...

 Thanks,
 Justin

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --


 On Tue, Oct 6, 2009 at 9:46 PM, Eno symb...@gmail.com wrote:

 I need to be able to target 1.1 and 1.5/6 versions of the SDK for
 projects. What the best practice for running multiple versions of the
 SDK? Can I have them all in the same Eclipse install? Or should I use
 separate installs of Eclipse?



 --




 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: R.java sometimes doen not refresh itself in eclipse

2009-10-14 Thread Xavier Ducrohet
Did you uncheck Project  Build Automatically?
Launching the project forces a compile so that may be what is happening.

Xav

On Tue, Oct 13, 2009 at 8:57 PM, jax jackma...@gmail.com wrote:


 I have notices that R.java sometimes noes not refresh when I edit (and
 save) an XML file.  The only way I have been able to get around this
 is to attempt to run the project, this seems to fix it.  This is
 however kind of annoying, does anyone know a better way around this
 problem?  An eclipse shortcut key etc.
 



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Help! I get this error message concerning the AVD

2009-10-16 Thread Xavier Ducrohet
Hello all,

yes it looks like there's a bug in the emulator where it can't deal with
those characters in the path.

To fix this you can override the location where all the android tools look
for those files.

create a system wide environment variable called ANDROID_SDK_HOME and
containing a path that doesn't include those non ascci char.
The android tools will create a .android folder in it, and the emulator
will access it too.

We'll see about fixing the emulator too.

Xav

On Wed, Oct 14, 2009 at 10:41 PM, andres andres...@gmail.com wrote:


 I'm having the same issue. how can I locate the file, and how can I
 send it to you?

 I tried to recreate it multiple times, repair it using the command
 line and Eclipse's UI (same thing I guess).

 On Oct 2, 12:43 am, Xavier Ducrohet x...@android.com wrote:
  This is very strange. you could try to fix the config file with
 
  android update avd --name name
 
  If that doesn't help can you send the file to me?
 
  xav
 
 
 
 
 
  On Wed, Sep 30, 2009 at 3:21 PM, PeterBrynte peter.bry...@gmail.com
 wrote:
 
   When trying to run my first attempt to an android app I get this error
   message concerning the AVD:
   [2009-09-30 23:57:00 - Emulator]emulator: ERROR: no search paths found
   in this AVD's configuration.
   [2009-09-30 23:57:00 - Emulator]Weird, the AVD's config.ini file is
   malformed. Try re-creating it.
   [2009-09-30 23:57:00 - Emulator]
 
   contents of the config.ini-file are:
   skin.name=HVGA
   skin.path=platforms\android-1.5\skins\HVGA
   image.sysdir.2=platforms\android-1.5\images\
   image.sysdir.1=add-ons\google_apis-3\images\
   Please tell me, what is wrong ?
 
   Kind regards
 
   Peter Brynte
 
  --
  Xavier Ducrohet
  Android SDK Tech Lead
  Google Inc.

 



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



Re: Please HELP -- RE: [android-beginners] Re: Unsubscribe

2009-10-16 Thread Xavier Ducrohet
The unsubscribe email address in the footer should be fixed now.

Just email 
android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.comto
unsubscribe.

Xav

On Fri, Oct 16, 2009 at 12:20 PM, David McNab rebi...@orcon.net.nz wrote:


 On Fri, 2009-10-16 at 10:42 -0600, Justin Anderson wrote:
  Seriously?  You have already been given the link:
 
  1) http://groups.google.com/group/android-beginners
  2) Sign in with your gmail account
  3) Click Edit My Membership

 Did that, but android-beginners doesn't show on my list of groups.

 Seems I'm not the only one suffering from inescapable phantom
 subscription.

  4) Click Unsubscribe
 
 How can I click 'unsubscribe' when the group won't even show me as
 subscribed?

 David

  --
  There are only 10 types of people in the world...
  Those who know binary and those who don't.
  --
 
 
  On Fri, Oct 16, 2009 at 8:01 AM, Mimi Tam mimik...@gmail.com wrote:
 
  Dear all,
 
  I am still receiving messages after I tried to unsubscribe.
  Please send me an exact link that works to unsubscribe.
 
  Many Thanks...Mimi
 
 
 
  -Original Message-
  From: android-beginners@googlegroups.com
  [mailto:android-beginn...@googlegroups.com] On Behalf Of Mark
  Murphy
  Sent: Friday, October 16, 2009 6:46 AM
  To: android-beginners@googlegroups.com
  Subject: [android-beginners] Re: Unsubscribe
 
 
  David McNab wrote:
   Hi all
  
   I've been trying unsuccessfully to unsubscribe from this
  group.
  
   Messages I've sent to
  android-beginners-unsubscr...@googlegroups.com
   have been ignored, and my Google Groups list is no longer
  showing this
   group. But I'm still receiving messages.
  
   Can someone please unsubscribe me?
 
  snip
 
   For more options, visit this group at
   http://groups.google.com/group/android-beginners?hl=en
 
  Click that link. Unsubscribe from there.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com | http://twitter.com/commonsguy
 
  _Beginning Android_ from Apress Now Available!
 
 
 
 
 
 
  



 



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



Re: Please HELP -- RE: [android-beginners] Re: Unsubscribe

2009-10-16 Thread Xavier Ducrohet
oh wait this is a different group.
Use 
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com

I'll make sure the footer for this group gets fixed.

On Fri, Oct 16, 2009 at 2:11 PM, Xavier Ducrohet x...@android.com wrote:

 The unsubscribe email address in the footer should be fixed now.

 Just email 
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.comto
  unsubscribe.

 Xav


 On Fri, Oct 16, 2009 at 12:20 PM, David McNab rebi...@orcon.net.nzwrote:


 On Fri, 2009-10-16 at 10:42 -0600, Justin Anderson wrote:
  Seriously?  You have already been given the link:
 
  1) http://groups.google.com/group/android-beginners
  2) Sign in with your gmail account
  3) Click Edit My Membership

 Did that, but android-beginners doesn't show on my list of groups.

 Seems I'm not the only one suffering from inescapable phantom
 subscription.

  4) Click Unsubscribe
 
 How can I click 'unsubscribe' when the group won't even show me as
 subscribed?

 David

  --
  There are only 10 types of people in the world...
  Those who know binary and those who don't.
  --
 
 
  On Fri, Oct 16, 2009 at 8:01 AM, Mimi Tam mimik...@gmail.com wrote:
 
  Dear all,
 
  I am still receiving messages after I tried to unsubscribe.
  Please send me an exact link that works to unsubscribe.
 
  Many Thanks...Mimi
 
 
 
  -Original Message-
  From: android-beginners@googlegroups.com
  [mailto:android-beginn...@googlegroups.com] On Behalf Of Mark
  Murphy
  Sent: Friday, October 16, 2009 6:46 AM
  To: android-beginners@googlegroups.com
  Subject: [android-beginners] Re: Unsubscribe
 
 
  David McNab wrote:
   Hi all
  
   I've been trying unsuccessfully to unsubscribe from this
  group.
  
   Messages I've sent to
  android-beginners-unsubscr...@googlegroups.com
   have been ignored, and my Google Groups list is no longer
  showing this
   group. But I'm still receiving messages.
  
   Can someone please unsubscribe me?
 
  snip
 
   For more options, visit this group at
   http://groups.google.com/group/android-beginners?hl=en
 
  Click that link. Unsubscribe from there.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com | http://twitter.com/commonsguy
 
  _Beginning Android_ from Apress Now Available!
 
 
 
 
 
 
  



 



 --
 Xavier Ducrohet
 Android SDK Tech Lead
 Google Inc.




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Skipping the long load time by having the emulator on all the time

2009-10-23 Thread Xavier Ducrohet

On Thu, Oct 22, 2009 at 8:00 PM, Indicator Veritatis mej1...@yahoo.com wrote:
 But can't one of you Android SDK hotshots just grep the
 resources for the SDK (or is it the ADT) for the word 'push'? You will
 find it faster than I would (by either above method) if you do. Or do
 you think this message is really coming from the emulator itself?

Yes, the important part of the error is coming from the package
manager on the device, ADT then wrap this up is a normal message (or
in some case we rewrite it completely so that it's easier to
understand).

If you check the package manager code, there are a LOT of reasons for
installations to fail.

Xav
--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

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



[android-beginners] Re: Including 3rd party jars in Android App

2009-10-28 Thread Xavier Ducrohet

uses-library is for shared library which you cannot add yourself.

You should simply have to put the jar file in your project folder and,
from Eclipse, do a right click on it from the Package Explorer and
choose Add to build path

Xav

On Tue, Oct 27, 2009 at 5:15 PM, sundancebleu sundanceb...@gmail.com wrote:

 I'm hoping someone can help, when I try including a custom jar file I
 built in another java project through eclipse (in my build path), I
 get a could not find method error when I try to run.  When I put a
 uses-library in the manifest.xml, I get an
 INSTALL_FAILED_MISSING_SHARED_LIBRARY error when the app tries to
 install on the emulator.  Do I need to build the library as part of my
 AVD?  if so, how do I do that?  Thanks in advance.

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: SDK r3 not working on Mac?

2009-10-28 Thread Xavier Ducrohet

This really shouldn't be necessary. Can you check the access rights on
the files you extracted?

Xav

On Tue, Oct 27, 2009 at 3:20 PM, fern f...@happyfern.com wrote:

 I just did this:

 1) download sdk (android-sdk_r3-mac.zip)
  (good so far)
 2) extract sdk (unzip android-sdk_r3-mac.zip)
  (yup, extracts all fine and dandy)
 3) add sdk to path (export ANDROID_SDK_HOME, export PATH=${PATH}:$
 {ANDROID_SDK_HOME}/tools )
  (ok, I can now execute any command, android, adb, etc)

 4) try to run android udpate sdk as the Readme.txt says to:

 android update sdk
 No command line parameters provided, launching UI.
 See 'android --help' for operations from the command line.

 But nothing.  The UI doesn't come up.  Nothing happens.  But then, if
 I run it with sudo, it now launches the UI.  What's going on?  Can I
 please fix this, I don't want to run everything with sudo.

 sudo android update sdk
 No command line parameters provided, launching UI.
 See 'android --help' for operations from the command line.
 --- NOW THE UI POPS UP ---

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: Including 3rd party jars in Android App

2009-10-29 Thread Xavier Ducrohet

Are you sure that your jar file doesn't depend on another jar file?

Xav

On Wed, Oct 28, 2009 at 9:32 PM, sundancebleu sundanceb...@gmail.com wrote:

 Thanks for the reply.  I actually tried that, but it still doesn't
 work.  I get the following error (not sure if this helps):

 10-29 03:48:46.469: WARN/dalvikvm(721): Unable to resolve superclass
 of Lcom/roger/framework/util/StringUtils; (480)
 10-29 03:48:46.469: WARN/dalvikvm(721): Link of class 'Lcom/roger/
 framework/util/StringUtils;' failed
 10-29 03:48:46.469: ERROR/dalvikvm(721): Could not find method
 com.roger.framework.util.StringUtils.indexOfIgnoreCase, referenced
 from method com.roger.location.AgentAddressHelper.parseResults
 10-29 03:48:46.469: WARN/dalvikvm(721): VFY: unable to resolve static
 method 1868: Lcom/roger/framework/util/StringUtils;.indexOfIgnoreCase
 (Ljava/lang/String;Ljava/lang/String;)I


 I also seem to be getting a VerifyError

 Any ideas?  Thanks,

 - Roger


 On Oct 28, 12:17 pm, Xavier Ducrohet x...@android.com wrote:
 uses-library is for shared library which you cannot add yourself.

 You should simply have to put the jar file in your project folder and,
 from Eclipse, do a right click on it from the Package Explorer and
 choose Add to build path

 Xav

 On Tue, Oct 27, 2009 at 5:15 PM, sundancebleu sundanceb...@gmail.com wrote:

  I'm hoping someone can help, when I try including a custom jar file I
  built in another java project through eclipse (in my build path), I
  get a could not find method error when I try to run.  When I put a
  uses-library in the manifest.xml, I get an
  INSTALL_FAILED_MISSING_SHARED_LIBRARY error when the app tries to
  install on the emulator.  Do I need to build the library as part of my
  AVD?  if so, how do I do that?  Thanks in advance.

 --
 Xavier Ducrohet
 Android SDK Tech Lead
 Google Inc.

 Please do not send me questions directly. Thanks!

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: SDK r3 not working on Mac?

2009-10-29 Thread Xavier Ducrohet

ah yeah that's a problem.

It looks like we removed this enforcing of 1.5 from the DDMS/Traceview
but we forgot to remove it from android.

We're going to fix this, but in the mean time you can either reorder
your java priorities as Chris said, or you can replace the line 69 in
tools/android:

java_cmd=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java
by
java_cmd=java

Xav


On Wed, Oct 28, 2009 at 4:23 PM, Chris Garman cgarma...@gmail.com wrote:

 I had the same problem as the original poster.  It looks like my
 access rights were all correct.

 Here's a theory though.  Check your Java Preferences (Applications-
Utilities-Java Preferences) to see which is the preferred order of
 Java for your Java Applications.  Initially my ordering was this: Java
 6 (64-bit), Java 5 (64-bit), Java 5 (32-bit), Java 1.4.2 (32-bit).  In
 the android script, it explicitly calls to the 1.5 version of java,
 which, given my preferences, ran the 64-bit version of Java 5.   So
 the android script explicitly calls Java 5, to avoid running in 64-bit
 mode, but the preferences dictate to use the 64-bit version of Java 5,
 and thus it does.

 Here's the snippet from tools/android:
 # Mac OS X needs an additional arg, or you get an illegal thread
 complaint.
 if [ `uname` = Darwin ]; then
    os_opts=-XstartOnFirstThread
    #because Java 1.6 is 64 bits only and SWT doesn't support this, we
 force the usage of java 1.5
    java_cmd=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/
 Commands/java
 .

 Initially changing java_cmd from /System/Library/Frameworks/
 JavaVM.framework/Versions/1.5/Commands/java to java worked for me
 (so this switched from 1.5 (64-bit) to 1.6(64-bit).  I played with a
 few combinations and here are my results:

 Java 1.6 (64-bit) - works
 Java 1.5 (64-bit) - does not work
 Java 1.5 (32-bit) - works

 So my guess is that you need the right combination of java_cmd in the
 android script and Java Preferences to get it to work correctly.


 On Oct 28, 1:34 pm, Xavier Ducrohet x...@android.com wrote:
 This really shouldn't be necessary. Can you check the access rights on
 the files you extracted?

 Xav





 On Tue, Oct 27, 2009 at 3:20 PM, fern f...@happyfern.com wrote:

  I just did this:

  1) download sdk (android-sdk_r3-mac.zip)
   (good so far)
  2) extract sdk (unzip android-sdk_r3-mac.zip)
   (yup, extracts all fine and dandy)
  3) add sdk to path (export ANDROID_SDK_HOME, export PATH=${PATH}:$
  {ANDROID_SDK_HOME}/tools )
   (ok, I can now execute any command, android, adb, etc)

  4) try to run android udpate sdk as the Readme.txt says to:

  android update sdk
  No command line parameters provided, launching UI.
  See 'android --help' for operations from the command line.

  But nothing.  The UI doesn't come up.  Nothing happens.  But then, if
  I run it with sudo, it now launches the UI.  What's going on?  Can I
  please fix this, I don't want to run everything with sudo.

  sudo android update sdk
  No command line parameters provided, launching UI.
  See 'android --help' for operations from the command line.
  --- NOW THE UI POPS UP ---

 --
 Xavier Ducrohet
 Android SDK Tech Lead
 Google Inc.

 Please do not send me questions directly. Thanks!

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: ADT 0.9.4 not working on Mac 10.6 (at least for me)

2009-10-29 Thread Xavier Ducrohet

You mean you're not seeing the android preferences panel in the main
Eclipse prefs window?

Can you post your log file? It's in your workspace: workspace/.metadata/.log

thanks
Xav

On Wed, Oct 28, 2009 at 6:51 AM, Carl cbarto...@gmail.com wrote:

 First, let me say I just did this last week with 0.9.3 and SDK 1.6
 successfully so I do know how to do it... :)

 I have built a clean OSX installation and installed Eclipse 3.5,
 downloaded SDK R3 for Mac and installed ADT as instructed.

 When I click the Android icon on the toolbar it gives me the familiar
 message that I have not setup the location of the SDK but when I click
 the button it never brings up the window to set it up.

 So, if I try to create an Android application there is no target to
 select since no emulators, etc. have been created.

 Has anyone else seen this and is there a workaround?

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: Motorola Droid Virtual Device

2009-10-30 Thread Xavier Ducrohet

Can you define way too small and way too big.

For instance, if you scale it down, use a tape measurer to check that
it displays (or not) the diagonal size you entered. Also check the
monitor resolution you entered. You can use the '?' button to get an
estimate.

As for way too big, it's actually not. The Droid resolution 854x480 is
actually pretty big, but it's because the screen density (close to
240) is 2.5x to 3x the density of a typical monitor. If you don't use
the scaling feature, the emulator show a pixel perfect rendering. It's
just that your monitor pixel are 3 times bigger.

Xav

On Thu, Oct 29, 2009 at 4:02 PM, jacobglad...@yahoo.com
jacobglad...@yahoo.com wrote:

 I'm trying to work through device independent UI layouts and such. I'd
 like to setup a virtual device that is sized appropriately for the
 Motorola Droid handset to be released on verizon's network. In the
 Android SDK and AVD Manager, I created a new virtual device with the
 WVGA854 skin, targetint Android 2.0 SDK. When I launch the AVD, it
 prompts me to Scale the display to real size. When I choose to do
 that, the AVD looks way too small, when I don't do that, it's looks
 way too big. Am I doing something wrong? Has anyone setup an AVD to do
 testing on this device?

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Re: Fresh Android 2.0 instance gives error on Accounts screen

2009-10-30 Thread Xavier Ducrohet

This is a known issue. The settings to see current accounts is missing
from the build. You can use the email app to add an account if you
want.

Xav

On Wed, Oct 28, 2009 at 8:53 AM, Scorpicon aar...@gmail.com wrote:

 I downloaded the Android SDK for the first time yesterday, and
 installed all of the available packages.  I created a new virtual
 device using Android 2.0 (API Level 5).  When I go into the Contacts
 app, hit menu, and then select Accounts, the contacts app dies with
 this error:

 The process android.process.acore has stopped unexpectedly. Please try
 again.

 I'm running the emulator on Windows Vista Ultimate 32-bit.

 Any suggestions?  Thanks!

 




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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



[android-beginners] Problem with Ubuntu 9.10? Please read!

2009-11-02 Thread Xavier Ducrohet
Hello everyone,

several people are reporting problems when using the SDK manager with
ubunto 9.10

We are looking into it, but some people found a workaround:
In your terminal run
export GDK_NATIVE_WINDOWS=true

and then run your android tools.

For more information and links to some related bugs see
http://groups.google.com/group/android-developers/msg/4d575f3ae8250312

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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


Re: [android-beginners] error when starting Android project in Eclipse

2009-11-07 Thread Xavier Ducrohet
Hi,

someone else reported the problem and said restarting Eclipse fixed the issue.
We are investigating (but we're having problem reproducing it)

thanks
Xav

On Sat, Nov 7, 2009 at 1:11 AM, Marton Kodok pentiu...@gmail.com wrote:
 Hello,
 What might be wrong?
 eclipse.buildId=M20090917-0800
 java.version=1.6.0_14
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=hu_HU
 Framework arguments:  -product org.eclipse.epp.package.java.product
 Command-line arguments:  -os win32 -ws win32 -arch x86 -product
 org.eclipse.epp.package.java.product

 Error
 Sat Nov 07 11:06:58 EET 2009
 An internal error occurred during: Launching test1.
 java.lang.NullPointerException
 at
 com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown
 Source)
 at
 com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch(Unknown
 Source)
 at
 com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(Unknown
 Source)
 at
 org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
 at
 org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
 at
 org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
 at
 org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 and second error
 Unable to restore source lookup path - unknown type source container type
 specified: org.eclipse.cdt.debug.core.containerType.mapping
 --
 Márton

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



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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


Re: [android-beginners] Failure [-12]

2009-11-24 Thread Xavier Ducrohet
The list of install failure code is in the PackageManager class.

-12 is defined here:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/content/pm/PackageManager.java;h=cd48dcbcba3b5886f01a986ef71cb08412505e46;hb=refs/heads/eclair#l358

Basically the minSdkVersion in your app is higher than the device you are
trying to install on.

I'm guessing this is a relative old device image? More recent device builds
properly display most errors as INSTALL_FAILED_OLDER_SDK.

Xav

On Mon, Nov 23, 2009 at 8:15 PM, Brian Williamson 
brianwilliams...@gmail.com wrote:

 Hi All, I tried to load an app onto the Android dev 1 phone and got
 the following message: Failure [-12]

 Does anyone know what this message means?

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




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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

Re: [android-beginners] Just trying to capture screenshots

2009-12-13 Thread Xavier Ducrohet
It looks like ddms fails to run. Best is to not double click on it but
to launch it from a command prompt so that you can see the error
message.

On Sat, Dec 12, 2009 at 8:23 AM, Rob slackat...@gmail.com wrote:
 I followed all instructions, but when I get to the point of double
 clicking the ddms.bat file, I see the command prompt pop up and then
 nothing. I have tried running as an admin with the same results. What
 am I doing wrong?

 Notes:
 I have downloaded and updated android sdk
 I have downloaded and installed java_ee_sdk-5_08-jdk-6u17-windows

 Sorry if this is posted under something else, but I only got one
 result for ddms

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




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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


[android-beginners] Android 2.1 SDK

2010-01-11 Thread Xavier Ducrohet
Hello everyone,

We've just released the 2.1 SDK.

More info: http://android-developers.blogspot.com/2010/01/android-21-sdk.html

Enjoy!

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!
-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


  1   2   >