Saturday, December 25, 2010

[android-developers] Cannot compile Desk Alarm Clock (branch eclair ver 2.1)

I want to study and run through the Desk Alarm Clock in order to understand it. I cloned the branch for eclair ver 2.1.
However, it does not compile:

Description    Resource    Path    Location    Type
ACTION_ALARM_CHANGED cannot be resolved or is not a field    Alarms.java    /DeskClock/src/com/android/deskclock    line 464    Java Problem
com.android.internal.R cannot be resolved to a variable    AlarmKlaxon.java    /DeskClock/src/com/android/deskclock    line 207    Java Problem
com.android.internal.R cannot be resolved to a variable    DeskClock.java    /DeskClock/src/com/android/deskclock    line 574    Java Problem
com.android.internal.R cannot be resolved to a variable    SetAlarm.java    /DeskClock/src/com/android/deskclock    line 115    Java Problem
The constructor Vibrator() is not visible    AlarmKlaxon.java    /DeskClock/src/com/android/deskclock    line 89    Java Problem

How do I get past these errors?
Any help appreciated.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment