andriod 开发记录apidemos 错误解决
android sdk 里面有simple 文件夾里面有對應(yīng)的demo ?但是拿出來esplise運(yùn)行報(bào)錯(cuò)
解決方案如下
右鍵錯(cuò)誤代碼goto,給對應(yīng)錯(cuò)誤的單引號(hào)前加 \
原文http://stackoverflow.com/questions/4298155/compiling-and-running-apidemos
| 5down voteaccepted | I just had the same thing, and found that buried in the massive list of errors, there were some xml parsing errors for strings.xml. There are 4 unescaped single quotes in the text which eclipse doesn't like. The problem strings are "I'm off!" "I'm on!", and "you'll" and "you're" in the big block of text starting "The Android platform is a software stack...". If you escape these by putting \ in front of each apostrophe, all the errors magically disappear :) |
轉(zhuǎn)載于:https://www.cnblogs.com/majin/p/4605968.html
總結(jié)
以上是生活随笔為你收集整理的andriod 开发记录apidemos 错误解决的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在Eclipse中编写servlet时出
- 下一篇: RocketMQ topic路由