Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:03:48 GMT


Sponsored Links
 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

--~--~---------~--~----~------------~-------~--~----~



Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:04:08 GMT


 I got some of the answer in this thread  http://tinyurl.com/dx993n 






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Getting errors for the source platform/packages/apps/Camera.git

by Win Myo Htet » Mon, 13 Apr 2009 12:04:19 GMT


 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






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How can I monitor/trace an intent?

Hi all,

    Is there any tools can monitor/trace intents over adb?
After some modification ConnectivityService, my application receives
so many intents from WiFi/Mobile state tracker, so I'm finding a tool
to debug it.

Is there some tools in tools can monitor/trace intents? Thank you.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. how to avoid restarting activity on keyboard flip change

Hi Dear,

when i open my keyboard, it restarts the activity.
i use only landscape mode and dont want the activity to restart.

any help plz
--~--~---------~--~----~------------~-------~--~----~

3. MediaPlayer bug, pls help!

4. AppWidget Initialization. How to do it properly.

5. The SDK documentation problems of package android.widget.ListView

6. ItemizedOverlay is unstable

7. The SDK documentation problems of package android.widget.ListView