title: Compiling and running ApiDemos
body: <p>I'm trying to compile Google's ApiDemos that come with the Android SDK.
  But I just CANT GET IT TO RUN! It makes me crazy already!!</p>
  
  <p>When I create a new project in Eclipse based on the sample (target 1.5 or 1.6) and try to compile and run, I get almost a thousand errors. Not what I'd expect from a tutorial app!</p>
  
  <pre><code>Description Resource Path Location Type
  IRemoteService cannot be resolved RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 84 Java Problem
  IRemoteService cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 92 Java Problem
  IRemoteService cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 104 Java Problem
  IRemoteService cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 104 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 41 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 84 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 91 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 107 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 141 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 155 Java Problem
  IRemoteService cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 157 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 51 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 52 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 79 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 105 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 106 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 108 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 109 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 142 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 145 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 151 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 91 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 157 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 212 Java Problem
  IRemoteServiceCallback cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 212 Java Problem
  ISecondary cannot be resolved RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 125 Java Problem
  ISecondary cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 95 Java Problem
  ISecondary cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 116 Java Problem
  ISecondary cannot be resolved to a type RemoteService.java /ApiDemos/src/com/example/android/apis/app line 116 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 43 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 125 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 130 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 143 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 179 Java Problem
  ISecondary cannot be resolved to a type RemoteServiceBinding.java /ApiDemos/src/com/example/android/apis/app line 181 Java Problem
  R cannot be resolved to a variable AdvancedPreferences.java /ApiDemos/src/com/example/android/apis/app line 58 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 73 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 76 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 78 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 80 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 108 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 140 Java Problem
  R cannot be resolved to a variable AlarmController.java /ApiDemos/src/com/example/android/apis/app line 162 Java Problem
  R cannot be resolved to a variable AlarmService.java /ApiDemos/src/com/example/android/apis/app line 52 Java Problem
  R cannot be resolved to a variable AlarmService.java /ApiDemos/src/com/example/android/apis/app line 55 Java Problem
  R cannot be resolved to a variable AlarmService.java /ApiDemos/src/com/example/android/apis/app line 57 Java Problem
  R cannot be resolved to a variable AlarmService.java /ApiDemos/src/com/example/android/apis/app line 72 Java Problem
  R cannot be resolved to a variable AlarmService.java /ApiDemos/src/com/example/android/apis/app line 84 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 62 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 65 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 100 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 103 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 111 Java Problem
  R cannot be resolved to a variable AlarmService_Service.java /ApiDemos/src/com/example/android/apis/app line 116 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 75 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 76 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 77 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 83 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 92 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 93 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 94 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 95 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 101 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 107 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 116 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 117 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 121 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 130 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 131 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 134 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 140 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 149 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 150 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 151 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 157 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 163 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 172 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 173 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 174 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 183 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 189 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 199 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 201 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 202 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 204 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 210 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 230 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 233 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 241 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 250 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 258 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 269 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 277 Java Problem
  R cannot be resolved to a variable AlertDialogSamples.java /ApiDemos/src/com/example/android/apis/app line 285 Java Problem
  R cannot be resolved to a variable AlphaBitmap.java /ApiDemos/src/com/example/android/apis/graphics line 67 Java Problem
  R cannot be resolved to a variable AnimateDrawables.java /ApiDemos/src/com/example/android/apis/graphics line 46 Java Problem
  R cannot be resolved to a variable Animation1.java /ApiDemos/src/com/example/android/apis/view line 34 Java Problem
  R cannot be resolved to a variable Animation1.java /ApiDemos/src/com/example/android/apis/view line 36 Java Problem
  R cannot be resolved to a variable Animation1.java /ApiDemos/src/com/example/android/apis/view line 41 Java Problem
  R cannot be resolved to a variable Animation1.java /ApiDemos/src/com/example/android/apis/view line 42 Java Problem
  
  ...and 841 more.
  </code></pre>
  
  <p>What am I doing wrong??</p>