i am trying to connect my android app to AWS dynamoDB. I followed
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/dynamodb_om.html
But when I try to run it I get:
09-15 16:12:12.290 24313-24313/com.example.jan.tracestest E/AndroidRuntime﹕ FATAL EXCEPTION: main com.amazonaws.AmazonClientException: Unable to execute HTTP request: null Caused by: java.io.IOException at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:87) at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:205) at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:281)
For the last two days i went over it again and again but I don't get it. Does anyone have some hints?
thx
thx to Raymond Lin
I did try to run it on the main thread. Now i do it with a Asynctask and it works.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加