I notice that the reason for that many error is because R.java is not generated. I have learned that R.java won't get generated if the project is not created as android or if there are errors at the start up of the project or if there are errors in res. I have created the project as an android project properly. I have errors in res tho.
Here they are Description Resource Path Location Type Class com.android.camera.UploadService does not exist AndroidManifest.xml Camera line 14 Android Problem com.android.camera.PhotoAppWidgetProvider does not extend android.content.BroadcastReceiver AndroidManifest.xml Camera line 206 Android Problem ERROR Error: No resource found that matches the given name (at 'theme' with value '@android:style/Theme.NoDisplay'). AndroidManifest.xml Camera line 223 aapt Problem ERROR No resource identifier found for attribute 'configure' in package 'android' appwidget_info.xml Camera/res/xml line 17 aapt Problem ERROR No resource identifier found for attribute 'initialLayout' in package 'android' appwidget_info.xml Camera/res/xml line 17 aapt Problem ERROR No resource identifier found for attribute 'updatePeriodMillis' in package 'android' appwidget_info.xml Camera/res/xml line 17 aapt Problem ERROR Error: String types not allowed (at 'stretchMode' with value 'spacingWidthUniform'). gallerypicker.xml Camera/res/layout line 20 aapt Problem On Thu, Apr 9, 2009 at 1:29 PM, Win Myo Htet <g1.wmh...@gmail.com> wrote: > I just downloaded the source for Camera and get 447 errors when I open the > project in Eclipse. > > Here are some sample errors: > Description Resource Path Location Type > android.content.res.Configuration.HARDKEYBOARDHIDDEN_NO cannot be > resolved MenuHelper.java Camera/src/com/android/camera line 690 > Java Problem > android.R.styleable cannot be resolved ImageGallery2.java > Camera/src/com/android/camera line 807 Java Problem > Class com.android.camera.UploadService does not exist > AndroidManifest.xml Camera line 14 Android Problem > com.android.camera.PhotoAppWidgetProvider does not extend > android.content.BroadcastReceiver AndroidManifest.xml Camera line > 206 Android Problem > Environment.MEDIA_CHECKING cannot be resolved Camera.java > Camera/src/com/android/camera line 913 Java Problem > ERROR Error: No resource found that matches the given name (at 'theme' with > value '@android:style/Theme.NoDisplay'). AndroidManifest.xml Camera > line 223 aapt Problem > ERROR No resource identifier found for attribute 'configure' in package > 'android' appwidget_info.xml Camera/res/xml line 17 aapt Problem > > I'll be glad if I can get advice on getting rid of them. > > Thx, > wmhtet > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---