android - 调用需要API级别9(当前最小为8):android.os.StrictMode#setThreadPolicy [英] android - Call requires API level 9 (current min is 8): android.os.StrictMode#setThreadPolicy
本文介绍了android - 调用需要API级别9(当前最小为8):android.os.StrictMode#setThreadPolicy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
调用需要API级别9(当前最小为8):android.os.StrictMode#setThreadPolicy
请咨询。谢谢
解决方案
转到android AndroidManifest.xml
在你的文件是8
< uses-sdk android:minSdkVersion =8/>
将SDK版本更改为9,如下所示
< uses-sdk android:minSdkVersion =9/>
I am new to JSON. I followed this tutorial to create sample app. When i try to copy the code to my eclipse it show error.
Call requires API level 9 (current min is 8): android.os.StrictMode#setThreadPolicy
Please advice. Thanks
解决方案
Go to the android AndroidManifest.xml
In your File it is 8
<uses-sdk android:minSdkVersion="8" />
Change The SDK version to 9 like shown below
<uses-sdk android:minSdkVersion="9" />
这篇关于android - 调用需要API级别9(当前最小为8):android.os.StrictMode#setThreadPolicy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文