導入 GitHub 專案 https://github.com/NoahY/q2android 後,出現大量:
No resource found that matches the given name: attr 'actionBarStyle'Theme.Sherlock.Light、Widget.Sherlock.* 找不到ActionBar cannot be resolved to a type專案依賴 ActionBarSherlock 與 Android Support Library v7 AppCompat,但 Eclipse 專案屬性中 Library 專案顯示紅叉或未關聯。
android-support-v7-appcompat 匯入為 Library 專案。Properties → Android,在 Library 區域 Add… 兩個 Library 專案,確保無紅叉。Clean… 重新建置。ActionBarSherlock 已停止維護,建議將專案遷移至 AndroidX / AppCompat,並使用 Android Studio + Gradle 管理依賴,避免手動 Library 關聯問題。