Android Support Library v7: Error retrieving parent for item

前端 未结 1 1987
耶瑟儿~
耶瑟儿~ 2020-12-02 19:49

I am trying to build the Android Support Library v7 samples.

For that, I created an sampleproject through Eclipse -> New Android Sample Project and added the android

相关标签:
1条回答
  • 2020-12-02 20:36

    You must make the android-support-v7-mediarouter project "aware" of the android-support-v7-appcompat project as a referenced library.

    1. Right click android-support-v7-mediarouter project, select Properties
    2. Select Android
    3. In the Library section at the bottom, click Add....
    4. Select android-support-v7-appcompat in the dialog.
    5. Click Apply.
    6. Click OK.
    7. Do a clean build on the android-support-v7-mediarouter project.
    0 讨论(0)
提交回复
热议问题