Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
此链接上的解决方案没有帮助,或者解释一下
如果我添加
SatelliteMenu menu = (SatelliteMenu) findViewById(R.id.menu);
然后在
setContentView(R.layout.activity_main);
它说无法解析activity_mainid
activity_main
添加了库,并在其他项目中更改了 XML 包名称之前它正在工作,但现在在任何项目中都没有相同的错误