我無法讓MapsV2/Pager工程進行編譯。 (使用5.0 pdf )無法使MapsV2/pager工作
我開始了一個新的工作區。
從現有代碼創建新的actionbarsherlock項目。 (已在其他項目中成功使用過)
從現有代碼創建新的Google-play-services_lib項目。 (已在其他項目中成功使用過)
從現有代碼創建新的MapV2Pager項目。
在MapV2Pager清單中製作並放入新的API密鑰。
添加在Android的性能這兩個庫項目,並設置構建目標到2.3.3(針對我的所有應用程序到這一點)
我乾淨的構建一切,我得到在控制檯窗口以下...
xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:15: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:17: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values\abs_styles.xml:89: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values\abs_styles.xml:88: error: Error: No resource found that matches the given name: attr 'android:showDividers'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values-v14\abs_styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'. [2013-08-17 16:30:14 - MapsV2Pager] D:\NewCWareWorkspace\actionbarsherlock\res\values\abs__styles.xml:101: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
我實際上得到了更多的粘貼在上面。它抱怨actionbarsherlock庫中的樣式文件中的條目,但我現在不知道爲什麼。我對這些錯誤全面搜索了Google搜索,但找不到任何可行的東西。
控制檯錯誤可能是R.Java無法在MapsV2Pager中構建的原因,因此它不會編譯。
我會做什麼錯? 謝謝,加里