Android.App.Activity - package does not exist?

Don't bother building using ANT. Eclipse and the ADT plugin provide excellent tool to save you the trouble. Simply right click the project, choose run as -> Android application.

There is no run as android app, see the screenshot cl. Ly/3A3X3p0f3A2i1x1W2K31 – Moshe Marciano Aug 31 at 22:09 Is the project you created an Android project? If the project you imported wasn't originally an Eclipse project, then it probably isn't.

IIRC the context menu should have a option Android > Convert to Android project (or similar). – RoToRa Aug 31 at 23:53 well.. I can't find a convert menu like that. But I followed this link enarion.Net/programming/eclipse-change-general-to-java-project and checked my .

Project file which has the correct nature org.eclipse.jdt.core. Javanature – Moshe Marciano Sep 1 at 5:54 I tried command line : ant run emulator and got Target "emulator" does not exist in the project – Moshe Marciano Sep 1 at 6:01 Ok, I misremembered, that one could convert a Java project to a Android project. Have you tried to create a new Android project and import your project into that?

– RoToRa Sep 1 at 12:34.

It is not finding the android packages. IN the build step you should include android. Jar corresponding to the android version you want to port to.

I think I did... see the screenshot : cl. Ly/0T3Q1k382O2B0r1Q1g1Y – Moshe Marciano Sep 1 at 5:46 OK, I found the missing configuration settings in the build. Properties files.

Now it compiles ok. But it won't run. I don't have run as android menu.

And no way to run the app in the Android emulator from eclipse – Moshe Marciano Sep 1 at 5:59.

When you write your compile target, you are overriding the default one given by android_rules. Xml located in: C:\Program Files (x86)\Android\android-sdk\platforms\android-8\templates or wherever android_rules. Xml is located on your computer.

Like Potter mentioned above it is not finding the android library and other libraries, so please look at android_rules. Xml to see how it sets up the proper libraries: Inside the classpath tags is where android. Jar is included.

You can add other libraries by adding more filesets Some other good examples of code for writing the ANT compile target are: Can't build and run an android test project created using "ant create test-project" when tested project has jars in libs directory.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions