Android:layoutopt错误-意外令牌'newline'附近的语法错误 [英] Android: layoutopt error - syntax error near unexpected token `newline'

查看:76
本文介绍了Android:layoutopt错误-意外令牌'newline'附近的语法错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MAC,试图运行Android layoutopt工具,并且在我的任何布局文件上运行该工具时,出现以下错误:

I'm on a MAC, trying to run the Android layoutopt tool, and when I run the tool on any of my layout files I get the following error:

syntax error near unexpected token `newline'  
`<?xml version="1.0" encoding="utf-8"?>'

还有其他人遇到这个问题吗?关于如何解决它的任何想法?

Anyone else run into this problem? Any ideas on how to fix it?

推荐答案

听起来像我写了一个bug :)请在b.android.com提交一个bug报告(请附加导致错误的XML文件),以便我们修复它.

Sounds like I wrote a bug :) Please file a bug report at b.android.com (please attach the XML file that causes the error) so we can fix it.

这篇关于Android:layoutopt错误-意外令牌'newline'附近的语法错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆