dubiao / smarthosts

Automatically exported from code.google.com/p/smarthosts
0 stars 0 forks source link

无tf卡情况下fc退出 #537

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
出了什么问题?问题出现时有错误提示么?有的话请附上

  7767         AndroidRuntime  E  FATAL EXCEPTION: main
  7767         AndroidRuntime  E  java.lang.RuntimeException: Unable to create application mobi.smarthosts.SmartHosts: mobi.smarthosts.SmartHostsException: Initial C
                                  onfiguration Failed.
  7767         AndroidRuntime  E    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4154)
  7767         AndroidRuntime  E    at android.app.ActivityThread.access$1300(ActivityThread.java:130)
  7767         AndroidRuntime  E    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1255)
  7767         AndroidRuntime  E    at android.os.Handler.dispatchMessage(Handler.java:99)
  7767         AndroidRuntime  E    at android.os.Looper.loop(Looper.java:137)
  7767         AndroidRuntime  E    at android.app.ActivityThread.main(ActivityThread.java:4745)
  7767         AndroidRuntime  E    at java.lang.reflect.Method.invokeNative(Native Method)
  7767         AndroidRuntime  E    at java.lang.reflect.Method.invoke(Method.java:511)
  7767         AndroidRuntime  E    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
  7767         AndroidRuntime  E    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
  7767         AndroidRuntime  E    at dalvik.system.NativeStart.main(Native Method)
  7767         AndroidRuntime  E  Caused by: mobi.smarthosts.SmartHostsException: Initial Configuration Failed.
  7767         AndroidRuntime  E    at mobi.smarthosts.Configuration.init(Configuration.java:106)
  7767         AndroidRuntime  E    at mobi.smarthosts.Configuration.getInstance(Configuration.java:116)
  7767         AndroidRuntime  E    at mobi.smarthosts.SmartHosts.onCreate(SmartHosts.java:16)
  7767         AndroidRuntime  E    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999)
  7767         AndroidRuntime  E    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4151)
  7767         AndroidRuntime  E    ... 10 more
  7767         AndroidRuntime  E  Caused by: java.io.IOException: open failed: EACCES (Permission denied)
  7767         AndroidRuntime  E    at java.io.File.createNewFile(File.java:940)
  7767         AndroidRuntime  E    at mobi.smarthosts.Configuration.init(Configuration.java:86)
  7767         AndroidRuntime  E    ... 14 more
  7767         AndroidRuntime  E  Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
  7767         AndroidRuntime  E    at libcore.io.Posix.open(Native Method)
  7767         AndroidRuntime  E    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
  7767         AndroidRuntime  E    at java.io.File.createNewFile(File.java:933)
  7767         AndroidRuntime  E    ... 15 more

您的ISP名称(例如北京联通)?

hosts的更新日期是什么时候?

您知道经过什么样的步骤能解决这个问题么?

请在创建文件前对外置存储状态进行判断。

Original issue reported on code.google.com by biaji...@gmail.com on 15 May 2013 at 9:32