I'm new to building my Android projects with Ant. The first thing I did was 
export my Eclipse projects to build.xml files. Then I did an "ant clean" and 
an "ant build". I'm getting errors concerning the R class:

    [javac] Compiling 17 source files to 
C:\Users\Bret\workspace2\QuickDroid\bin
    [javac] 
C:\Users\Bret\workspace2\QuickDroid\src\com\quickdroid\About.java:14: 
package R does not exist
    [javac]         setContentView( R.layout.about );

    [javac] 
C:\Users\Bret\workspace2\QuickDroid\src\com\quickdroid\AsyncDbAccess.java:70: 
reference to R is ambiguous, both class com.quickbaseapi.R in 
com.quickbaseapi and class com.preferencehelper.R in com.preferencehelper 
match
    [javac]         PreferenceHelper prefs = new 
PreferenceHelper(this,R.xml.preferences);

QuickDroid is the main project. quickbaseapi and preferencehelper are 
android library projects.

Any ideas how to fix this so the R classes work?

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

Reply via email to