Android XML error message

后端 未结 4 1768
心在旅途
心在旅途 2021-02-20 14:55

Everytime I open an XML layout file, the following error message displays:

An internal error occurred during: \"Check Android SDK\". java.util.ConcurrentModificati

相关标签:
4条回答
  • 2021-02-20 15:21

    I had the same problem and i resolve it by changing the target in the ADT plug-in

    enter image description here

    then chose the API that you are using in your application .

    0 讨论(0)
  • 2021-02-20 15:23

    Delete

    .metadata

    folder that is in your workplace. Then import your project back. You will be good to go.

    Warning you will lose your workspace settings.

    0 讨论(0)
  • 2021-02-20 15:36

    Check your AndroidManifest.xml and see if the targeted SDK version matches the latest Android SDK Build tool you have downloaded.

    Also check Eclipse under Window -> Preferences -> Android if the Platform is available and if the max API level matches.

    0 讨论(0)
  • 2021-02-20 15:40

    Well your code is fine and I'm not sure why there is an error. There is some thing you can try as the error asks you to check "android SDK"

    In the menu bar

    Select tools>-android>-SDK manager

    and download the SDK build tools, SDK platform and Google API's for the target SDK version of your project.Make sure you have downloaded all the new updates, if any

    if you are not sure which items you have to download , you can select all of them.(will take more time to download of course).no harm in trying

    Restart the IDE

    You can find more info here: https://developer.android.com/sdk/installing/adding-packages.html

    0 讨论(0)
提交回复
热议问题