2013-08-17 4 views
0

MapsV2/호출기 프로젝트를 컴파일하는 데 문제가 있습니다. (5.0 pdf 사용)MapsV2/호출기가 작동하는 데 문제가 발생했습니다.

새로운 작업 영역부터 시작합니다.

기존 코드에서 새로운 actionbarsherlock 프로젝트를 만듭니다. (다른 프로젝트에서 성공한 경우 사용)

기존 코드에서 새 Google-play-services_lib 프로젝트를 만듭니다. (다른 프로젝트에서 성공으로 이것을 사용했습니다)

기존 코드에서 새 MapV2Pager 프로젝트를 생성하십시오.

MapV2Pager 매니페스트에 새 API 키를 만들어 놓습니다. ...하여 콘솔 창에 다음

내가 모든 것을 구축 청소

(이 모든 내 애플 리케이션을 대상으로) 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 라이브러리의 스타일 파일에있는 항목에 대해 불평하고 있습니다. 그러나 지금은 그 이유가 없습니다. 나는이 오류에 대한 모든 것을 봤지만 아무 것도 찾을 수 없다.

콘솔 오류가 발생하여 MapsV2Pager에서 R.Java가 빌드되지 않아서 컴파일되지 않습니다.

내가 잘못 할 수 있습니까? 감사, 게리

답변

0

and set build target to 2.3.3 (target all my apps to this)

그게 작동하지 않습니다. ActionBarSherlock을 사용하는 프로젝트는 ActionBarSherlock의 자체 프로젝트와이를 사용하는 응용 프로그램 모두에 대해 더 높은 무언가가 필요합니다.

ActionBarSherlock는 with API Level 14 as a build target으로 작성되었습니다.

MapsV2/Pagerwith API Level 17 as a build target으로 작성되었습니다. 그 이상은 확실히 작동 할 것입니다. API 레벨 14 이상, IIRC에서 작동해야합니다.

원하는 경우 android:minSdkVersion은 10 (Android 2.3.3) 일 수 있습니다.

관련 문제