I have the same problem.

I didn't change anything in my build files. But after the upgrade to
2.3 I get the same error.

-----------------------------------------------

Buildfile: build.xml
    [setup] Android SDK Tools Revision 8
    [setup] Project Target: Android 2.2
    [setup] API level: 8
    [setup]
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup]
    [setup] ------------------
    [setup]
    [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml
(7) is lower than the project target API level (8)
    [setup]
    [setup] Importing rules file: tools/ant/main_rules.xml

-debug-obfuscation-check:

-set-debug-mode:

-compile-tested-if-test:

-dirs:
     [echo] Creating output directories if needed...

-pre-build:

-resource-src:
     [echo] Generating R.java / Manifest.java from the resources...
-aidl:
     [echo] Compiling aidl files into Java classes...

compile:

BUILD FAILED
/home/droid/build.xml:111: Reference android.libraries.src not found.

-----------------------------------------------

If I create an empty project with:

 android create project -n test -t 7 -p test -k test.test -a Test

This builds, but if I copy the compile target from the platforms/
android-8/ant/ant_rules_r2.xml to build.xml it fails with the same
error as above.

It seems that the problem starts if you have your own compile target
in your build.xml file.

I had to move the compile target to my build.xml file to be able to
specify more source folders, so I am also a bit stuck right now.

Does anyone have a solution for this.

Regards,

Rickard Lindroth

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to