Unable to build project from source

649 views
Skip to first unread message

zemik

unread,
Feb 4, 2012, 5:53:39 AM2/4/12
to Astrid Power Users
Hello.

I trying to build astrid from source, but after I export project to
Eclipse I have several errors.

[2012-02-04 14:49:10 - GreenDroid] R.java was modified manually!
Reverting to generated version!
[2012-02-04 14:49:10 - astridApi] R.java was modified manually!
Reverting to generated version!
[2012-02-04 14:49:10 - facebook] R.java was modified manually!
Reverting to generated version!
[2012-02-04 14:49:12 - astrid] (skipping hidden file '/home/zemik/
workspace/astrid/api/res/.gitignore')
[2012-02-04 14:49:12 - astrid] /home/zemik/workspace/astrid/greendroid/
GreenDroid/res/values-v5/gd_themes.xml:22: error: Error retrieving
parent for item: No resource found that matches the given name
'@android:style/Theme.Wallpaper'.
[2012-02-04 14:49:12 - astrid] /home/zemik/workspace/astrid/astrid/res/
values/styles.xml:70: error: Error: No resource found that matches the
given name: attr 'android:colorBackgroundCacheHint'.

How I can solve this problems?


Tim Su

unread,
Feb 8, 2012, 10:21:14 PM2/8/12
to astrid...@googlegroups.com
Zemik,

Please make sure that you are using the latest Android SDK. We're building against Android SDK Tools Rev. 16 and Platform Tools Rev. 10. Also, make sure that your version of Eclipse ADT is up to date.

Once that's confirmed, try refreshing all projects and then cleaning using Eclipse's Project => Clean... menu command.

Tim
--

"Make the most of every chance you get. These are desperate times! Don't live carelessly, unthinkingly. Make sure you understand what the Master wants." - Eph 5

Tim Su
Lead Software Engineer | Creator of Astrid!
Astrid, Inc

Get Astrid for Android and iOS!


    

GimaPei

unread,
Feb 9, 2012, 9:25:51 PM2/9/12
to Astrid Power Users
I Can't build astrid 3.9.2.2 also

above notice are ok but I might below compile error

maybe I think astrid 3.9.2.2 use on android ice cream sdk. is it?

import android.provider.CalendarContract; <-- This is ice cream sdk
lib.. maybe


== compile error ==
import android.provider.CalendarContract;
import android.util.Log;

import com.timsu.astrid.R;
import com.todoroo.andlib.service.ContextManager;
import com.todoroo.andlib.utility.AndroidUtilities;
import com.todoroo.andlib.utility.Preferences;

@SuppressWarnings("nls")
public class Calendars {

public static final String CALENDAR_CONTENT_CALENDARS =
"calendars";
public static final String CALENDAR_CONTENT_EVENTS = "events";

private static final String ID_COLUMN_NAME = "_id";
private static final boolean USE_ICS_NAMES =
AndroidUtilities.getSdkVersion() >= 14;
private static final String DISPLAY_COLUMN_NAME = (USE_ICS_NAMES ?
CalendarContract.Calendars.CALENDAR_DISPLAY_NAME : "displayName");
private static final String ACCES_LEVEL_COLUMN_NAME =
(USE_ICS_NAMES ? CalendarContract.Calendars.CALENDAR_ACCESS_LEVEL :
> *Tim Su*
> Lead Software Engineer | Creator of Astrid!
> Astrid, Inc
>
> Get Astrid for Android
> <https://market.android.com/details?id=com.timsu.astrid> and iOS
> <http://bit.ly/astridUS>!- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -
Reply all
Reply to author
Forward
0 new messages