Hi !

I haven't seen this in a FAQ and while Google turned out some mentions
of this problem, I didn't find an actual solution.

So I'm new to Android, planning to try it out, and did the following

 - Machine is an x86/32 runnig ubuntu jaunty

 - JVM is IBM jre1.5 but the problem is identical using Sun OpenJDK 6

 - Freshly installed Eclipse 3.4 with C/C++ and Java environments

 - Downloaded the Android SDK 1.5_r2, unpacket it, followed the
   procedure to install the android plugin from the location provided
   on the web pages etc..

 - Plugin configured to point to my SDK directory, it does see the 3
   target options fine (1.1, 1.5 and 1.5 + Google)

Now, if I create a new android project, from Eclipse, apparently
regardless of what I do, choose as name, location of files etc... what
-always- happen is that the resulting project, when build, pops the
following message:

[2009-06-24 13:10:58 - baroid] no classfiles specified
[2009-06-24 13:10:58 - baroid] Conversion to Dalvik format failed with error 1

I tried going into Properties->Android checking, unchecking etc.. the
build targets, cleaning the project, enabling or disabling automatic
build, anything, always this error.

This happens 100% of the time when creating a project, without anything
else but the default "generated" source file:

package com.example.baroid;

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

public class Baroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

Any clue what's wrong ? Anything I can do to track this down ? While
and experienced kernel hacker, I have never used eclipse nor done
anything in Java yet so I could use some help here :-)

Cheers,
Ben.


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

Reply via email to