2013年11月25日

Android开发日志——报错篇。

摘要: should use @string resource 报错在以往的eclipse编辑器中,如果使用诸如:android:name="@string/http://192.168.2.14:8080/web/resurce.exe",编辑器并不会报错。由于编辑器eclipse或是myeclipse的不断更新,在新版的eclipse特别是myeclipse中如果依旧按照老版写法,会出现"should use @string resource"类错误,这种报错是由于为了国际化,需要我们包网络路径写入到string.xml文件中,如:http://192.16 阅读全文

posted @ 2013-11-25 01:06 这一刻、不再彷徨! 阅读(259) 评论(0) 推荐(0) 编辑

导航