[android-beginners] Re: Eclipse Error: SWT on ubuntu (amd turion )64 bit

2009-05-06 Thread Javi

On 5 mayo, 16:27, Lorenz  wrote:
> Hi
> i've just tried to install SDK 1.5 and I have a big problem,
> when I try to point the sdk directory(in Eclipse 3.3.2) from 
> "Windows->Preferences->Android" two windows appear: in the first is written
>
> "...pingUsageServerfailed" in the second "An SWT erro has occured.We
> are reccomended to exit the workbench. .".
> Now I've ridden some blogs and I've understood that the problem is in
> SWT that doesn't support 64bit
> architecture.
> What shall I do?
> Please answer in a simple.
> Lorenz

>From 
>http://groups.google.com/group/android-beginners/browse_frm/thread/e33c913be68517f1

"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."
--~--~-~--~~~---~--~~
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: PingUsage Server failed

2009-05-06 Thread Javi

On 3 mayo, 09:18, "david.lygagnon"  wrote:
> Hello,
>
> I am using Ubuntu 9.04, android sdk 1.5 and eclipse Version: 3.4.2
> (Ganymede). I am having the following error on eclipse startup:
>
> pingUsageServer failed
> Android SDK Ping
>
> Has anyone encountered this problem, and how did you solve it?
>
> I never had this problem with the previous android version.
>
> Thank you,
>
> David

>From 
>http://groups.google.com/group/android-beginners/browse_frm/thread/e33c913be68517f1

"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."
--~--~-~--~~~---~--~~
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 Javi

> Hello Xavier,
>
> I executed ddms in a terminal and I get this error:
>
> Error Loading Preferences
> 48:58 E/ddms: shutting down due to uncaught exception
> 48:58 E/ddms: java.lang.UnsatisfiedLinkError: /home/torkiano/descargas/
> android/android-sdk-linux_x86-1.5_r1/tools/lib/libswt-pi-gtk-3236.so: /
> home/torkiano/descargas/android/android-sdk-linux_x86-1.5_r1/tools/lib/
> libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause:
> architecture word width mismatch)
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>         at java.lang.System.loadLibrary(System.java:1030)
>         at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
>         at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
>         at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
>         at org.eclipse.swt.widgets.Display.(Display.java:126)
>         at com.android.sdkstats.SdkStatsService.getUserPermission
> (SdkStatsService.java:278)
>         at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:
> 126)
>         at com.android.ddms.Main.main(Main.java:89)
>
> Then I launched eclipse and the problem persist
>
> Regards,

Hello again,

For more information I use a 64 bit operating system (Ubuntu).

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
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 Javi

On 27 abr, 22:22, Xavier Ducrohet  wrote:
> 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.
>

Hello Xavier,

I executed ddms in a terminal and I get this error:

Error Loading Preferences
48:58 E/ddms: shutting down due to uncaught exception
48:58 E/ddms: java.lang.UnsatisfiedLinkError: /home/torkiano/descargas/
android/android-sdk-linux_x86-1.5_r1/tools/lib/libswt-pi-gtk-3236.so: /
home/torkiano/descargas/android/android-sdk-linux_x86-1.5_r1/tools/lib/
libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause:
architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.gtk.OS.(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.(Display.java:126)
at com.android.sdkstats.SdkStatsService.getUserPermission
(SdkStatsService.java:278)
at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:
126)
at com.android.ddms.Main.main(Main.java:89)

Then I launched eclipse and the problem persist

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
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Problems with 1.5 SDK

2009-04-27 Thread Javi

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.(Device.java:154)
   at org.eclipse.swt.widgets.Display.(Display.java:471)
   at org.eclipse.swt.widgets.Display.(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.(Device.java:154)
   at org.eclipse.swt.widgets.Display.(Display.java:471)
   at org.eclipse.swt.widgets.Display.(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?
--~--~-~--~~~---~--~~
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-04-27 Thread Javi

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.(Device.java:154)
at org.eclipse.swt.widgets.Display.(Display.java:471)
at org.eclipse.swt.widgets.Display.(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.(Device.java:154)
at org.eclipse.swt.widgets.Display.(Display.java:471)
at org.eclipse.swt.widgets.Display.(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

--~--~-~--~~~---~--~~
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] Problems with 1.5 SDK

2009-04-27 Thread Javi

Ubuntu jaunty
latest version of eclipse
Sun JDK intalled

Hello, I get this error when trying to make new android project in
eclipse:

!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.(Device.java:
154) at org.eclipse.swt.widgets.Display.(Display.java:
471) at org.eclipse.swt.widgets.Display.(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)

Can Anyone help me?

Thank you!

--~--~-~--~~~---~--~~
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 and OpenJDK

2009-04-27 Thread Javi

Hello,

Is it possible to use the OpenJDK instead the Sun closed jre to
develop android applications?
What are your experiences?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---