參考:Eclipse > Help > help contents > Plug-in Development Environment Guide > Reference > Quickfixes > Missing API Baseline Quick Fix
當項目報錯“An API baseline has not been set for the current workspace ”錯誤時,可以用以下快速修正方法:
在eclipse中打開"problem"視圖,選中報錯列表中的某一項
快捷鍵Ctr + 1, 即可進入修正界面,按照要求往下走即可。
相關鏈接: