androidandroid-studioandroid-studio-arctic-fox

cannot load api descriptions from ../android-sdk/platform-tools/api/api-versions.xml java.io.IOException: Stream closed


After I update android studio to v2020.3.1 (Arctic Fox). I can't run my project because I always get this error message.

cannot load api descriptions from ../Android/android-sdk/platform-tools/api/api-versions.xml java.io.IOException: Stream closed

I've tried to revert to v4.2.2, still getting the same error.

Note: I am using Ubuntu 20.04


Solution

  • I copied the contents of the file of this snippet:

    https://gitlab.com/-/snippets/2164806

    in the platform-tools directory it complains it can not load the /api/api-versions.xml and the error did not show up anymore.

    There is no need to downgrade the platform-tools.