我正试图在Android中构建一个用于Android磨损的空默认项目。我知道这个错误:
Error:(23, 41) error: cannot find symbol variable ic_launcher
Error:Execution failed for task ':wear:compileDebugJava'.
> Compilation failed; see the compiler error output for details.我是一个完全新手在可穿戴应用程序开发。任何指点都会很有帮助。

P.S.:我在代码中没有做过任何更改。
发布于 2015-06-26 23:23:51
您的可绘图文件夹为空。在里面放一个名为"ic_launcher“的图标
发布于 2018-09-05 02:45:59
或者,只需通过调用R.mipmap.ic_launcher引用mipmap资源即可。
发布于 2015-10-23 14:47:01
您需要将mipmap-hdpi文件夹中的"ic_launcher“图标复制到可绘制文件夹。我也有过同样的问题,也很有帮助!
https://stackoverflow.com/questions/31083286
复制相似问题