Hello. For our last game we use web request to save user progress, we have more than 10000 requests by day and they are error in your code. We use proprietary code to log about force close You have an exception not catch in your class see stack trace below. Regards.
The stack trace
java.lang.IllegalStateException: getInputStream() is not available. Is this a reentrant call?
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:524)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:464)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:572)
at java.net.URLConnection.getContentLength(URLConnection.java:335)
at com.unity3d.player.WWW.run(Unknown Source)
Another exception in Unity Android plugin
java.lang.IllegalStateException: setRenderer has already been called for this instance.
at android.opengl.GLSurfaceView.checkRenderThreadState(GLSurfaceView.java:1321)
at android.opengl.GLSurfaceView.setRenderer(GLSurfaceView.java:278)
at com.unity3d.player.UnityPlayer.a(Unknown Source)
at com.unity3d.player.UnityPlayer.a(Unknown Source)
at com.unity3d.player.UnityPlayer$12.onClick(Unknown Source)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4363)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
at dalvik.system.NativeStart.main(Native Method)
I am also having problems with this. Here is my log
E/AndroidRuntime(22051): FATAL EXCEPTION: Thread-68
E/AndroidRuntime(22051): java.lang.IllegalStateException: getInputStream() is not available. Is this a reentrant call?
E/AndroidRuntime(22051): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:524)
E/AndroidRuntime(22051): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:464)
E/AndroidRuntime(22051): at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:572)
E/AndroidRuntime(22051): at java.net.URLConnection.getContentLength(URLConnection.java:335)
E/AndroidRuntime(22051): at com.unity3d.player.WWW.run(Unknown Source)