마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

이클립스 열기 에러가 납니다. 확인 부탁드립니다.

0 추천

ADT 또는 안드로이드 스튜디오에서 개발된 앱이 있습니다.

 

이걸 제가 이클립스에서 열어보려고 하는데요...

 

열어볼 수 있는 방법이 있을까요?

 

이클립스에서 열어보면 제가 에러가 나고 있습니다.

----------------------------------

 

setContentView(R.layout.activity_main);

 

R cannot be resolved to a variable

이라는 에러가 뜨고 있습니다.

 

 

 

 <style name="AppBaseTheme" parent="Theme.AppCompat.Light">이 줄에서

 Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

이라는 에러가 뜨고 있습니다.

 

 

[2015-09-08 16:26:18 - DeliverySearch] C:\DeliverySearch\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-09-08 16:26:18 - DeliverySearch]
[2015-09-08 16:26:18 - DeliverySearch] C:\DeliverySearch\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-09-08 16:26:18 - DeliverySearch]
[2015-09-08 16:26:18 - DeliverySearch] C:DeliverySearch\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2015-09-08 16:26:18 - DeliverySearch]

익명사용자 님이 2015년 9월 8일 질문

1개의 답변

+1 추천
엑티비티가 상속을 무엇을 받았는지 살펴보세요. 아마 Activity 를 받았을 것 같네요

AppCompatActivity 를 상속받게 한다면 문제는 사라질 것으로 보입니다.
익명사용자 님이 2015년 9월 8일 답변
...