Android SDK with Eclipse on Ubuntu 10.10

I downloaded and extracted the latest Android SDK. I used the AVD manager and installed ALL the available packages (if I do not need all of them). I have eclipse installed and configured using ADT. I have a path to the Android SDK configured correctly in eclipse. I have an AVD defined for testing with an emulator.

Now I can successfully create a new Android project (hello world), which works fine in the emulator. I played with a few Hello World tutorials, all with success ... Now for the problems ...

1) In the Eclipse console window, I always have two errors: (again, everything works fine!)

[2011-03-11 19:17:08 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read /AndroidManifest.xml: java.io.FileNotFoundException: /AndroidManifest.xml (No such file or directory)
[2011-03-11 19:17:08 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read /AndroidManifest.xml: java.io.FileNotFoundException: /AndroidManifest.xml (No such file or directory)

2) I downloaded MMS sources using git. I want to change the MMS application for stocks. I create a new project for Android and select "Create a project from an existing source", where I point it to the source MMS directory. When I try to run it, I get hundreds of errors (I will embed a few here)

Description Resource    Path    Location    Type
AcknowledgeInd cannot be resolved to a type RetrieveTransaction.java    /ConversationList/src/com/android/mms/transaction   line 222    Java Problem
Description Resource    Path    Location    Type
Addr cannot be resolved AddressUtils.java   /ConversationList/src/com/android/mms/util  line 47 Java Problem

How can I fix these errors?

thank!

+3
source share
3 answers

Try any of the following:

  • Close Eclipse and run it.
  • Clean related projects (Project → Clean)
  • Run Eclipse in the terminal as: Eclipse -clean
  • Or perhaps this SO Question will help (on how to correctly import projects)
0
source

1- , . , .

2- , , . , Java , .

0

MMS cannot be created as an SDK application, you must do this as part of a complete Android build.

0
source

All Articles