摘要:
Error 0x80070005 means Access denied. This error can be avoided by starting a command prompt window with Administrator privileges and running regsvr32.exe from there. Click on Start, then go to Accessories and right-click on Command Prompt and click on Run as in the context menu. You must select a u 阅读全文
摘要:
UTF-8的BOM头导致 在使用JSONObject jsonContent = new JSONObject(content);直接转到异常处理查看log发现org.json.JSONException: Value of type java.lang.String cannot be converted to JSONObject。因为用另外的一个文件没有出错,查到JSON文件,发现多了UTF-8的BOM文件头尝试去掉JSON数据文件的BOM头,问题解决。 阅读全文