更新时间:2021-07-21 07:58:22
您的项目缺少从SDK的支持库。
Your project is missing the support library from the SDK.
如果你没有安装的话,只需右键单击项目>安卓工具>安装支持库。
If you have no installed them, just right click on the project > Android Tools > Install support library.
然后,只需导入到工作区中,作为一个Android项目,Android的支持-V7-appcompat,坐落在$ {Android的SDK路径} /演员/安卓/支持/ V7
Then, just import into workspace, as an Android project, android-support-v7-appcompat, located into ${android-sdk-path}/extras/android/support/v7
最后,单击鼠标右键,在Android项目>属性> Android的标签。按Add按钮,添加支持项目Android的支持-V7-appcompat的依赖。
And finally, right click in the Android project > Properties > Android Tab. Push the Add button and add the support project "android-support-v7-appcompat" as dependency.
清理项目和必须编译和正常工作。
Clean your project and the must compile and work properly.