私のアプリケーションからインターネットにアクセスしようとしています。私はorg.apache.http.MalformedChunkCodingExceptionを取得しています:アンドロイドインターネットアプリのチャンクエラーの終わりにCRLFが必要です
We are using proxy in our company, so i entered the proxy settings for the simulator by using the -http-proxy XXXXX.
I added the android.permission.INTERNET in android manifest file as well.
When i am trying to access the internet i am getting this exception and my application is getting force closed.
注:私はエミュレータでブラウザアプリケーションを使用しているときに、インターネットにアクセスできます。
私はちょうどこのコード http://w3mentor.com/learn/java/android-development/android-http-services/example-of-http-get-request-using-httpclient-in-android/私はエラーを取得していますが貼り付けられたコピー
: はWARN/System.errの(300):org.apache.http.MalformedChunkCodingException:CRLFはチャンクの終わりに期待
同じ解決にお手伝いをしてください。
おかげ&よろしく、
SSuman185
クライアントコンストラクタとセットアップのコードを表示できますか?チャンクエンコーディングを期待しているようですが、Webサービスがチャンクエンコードされたデータを送信していないようです。 – mobibob