更新时间:2022-10-23 15:24:49
转到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" />