Questions tagged «square-wire»

26
Android Studio内联编译器显示红色错误,但使用gradle编译可正常工作
根据这个问题,我已经在Android Studio中设置了项目以使用Square Wire库。 Build-> Compile Project工作正常。 2:03:10 PM Compilation completed successfully in 31 sec 但是,如果我打开自己生成的协议缓冲区文件之一,则Square包将不会被识别。 另一个症状是,从Square Message类继承的方法在编辑器中显示为“无法解析方法”,即使它们可以正常构建并运行,但它们仍会编译错误。 除了build.gradle在项目中为模块添加依赖项之外,我还需要做更多的事情吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.