Мне нужно экспортировать в Android в движке Godot Game, поэтому я установил Android SDK (только для инструментов командной строки) и выполнил следующую команду:
sdkmanager "platform-tools" "platforms;android-26"
И вот что происходит:
D:\android-sdk\bin>sdkmanager "platform-tools" "platforms;android-26"Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\web\asgard\vendor\mockery\mockery\package.xml
Warning: Invalid package.xml found at D:\storage\dev\web\asgard\vendor\mockery\mockery\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\web\coaster\vendor\mockery\mockery\package.xml
Warning: Invalid package.xml found at D:\storage\dev\web\coaster\vendor\mockery\mockery\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\123friluft_old\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\123friluft_old\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\123friluft_old\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\123friluft_old\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\123friluft_old\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\123friluft_old\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\arakash\plugins\rainlab\googleanalytics\vendor\firebase\php-jwt\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\arakash\plugins\rainlab\googleanalytics\vendor\firebase\php-jwt\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\bitshape\vendor\phpunit\php-file-iterator\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\bitshape\vendor\phpunit\php-file-iterator\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\bitshape\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\bitshape\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\bitshape\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\bitshape\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\bitshape\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\bitshape\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\fluid\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\fluid\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\fluid\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\fluid\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\fluid\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\fluid\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gaus\vendor\mockery\mockery\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gaus\vendor\mockery\mockery\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-file-iterator\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-file-iterator\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentlefox.old\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentlefox.old\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentlefox.old\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentlefox\vendor\mockery\mockery\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentlefox\vendor\mockery\mockery\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentler\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentler\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentler\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentler\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\gentler\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\gentler\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\highpulse\vendor\phpunit\php-file-iterator\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\highpulse\vendor\phpunit\php-file-iterator\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\highpulse\vendor\phpunit\php-text-template\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\highpulse\vendor\phpunit\php-text-template\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\highpulse\vendor\phpunit\php-timer\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\highpulse\vendor\phpunit\php-timer\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\highpulse\vendor\sebastian\version\build\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\highpulse\vendor\sebastian\version\build\package.xml and failed to parse using fallback.
Warning: cvc-elt.1: Cannot find the declaration of element 'package'.
Warning: unexpected element (uri:"http://pear.php.net/dtd/package-2.0", local:"package"). Expected elements are <{http://schemas.android.com/repository/android/common/01}repository>,<{http://schemas.android.com/repository/android/generic/01}repository>,<{http://schemas.android.com/sdk/android/repo/addon2/01}sdk-addon>,<{http://schemas.android.com/sdk/android/repo/repository2/01}sdk-repository>,<{http://schemas.android.com/sdk/android/repo/sys-img2/01}sdk-sys-img>
Warning: Found corrupted package.xml at D:\storage\dev\www\smakenavdamp\vendor\mockery\mockery\package.xml
Warning: Invalid package.xml found at D:\storage\dev\www\smakenavdamp\vendor\mockery\mockery\package.xml and failed to parse using fallback.
Что происходит в мире? : S
Во-первых, убедитесь, что вы очистили любую грязную / неправильную конфигурацию, следуя ответу в этом посте:
Как полностью удалить Android Studio из Windows (v10)?
Помните также, что SDK должен жить в своем собственном каталоге «Android». Другими словами, наличие SDK в пути, таком как D:\android-sdk
проблематично, потому что для этого нужен каталог выше. Так что поместите SDK в каталог, как D:\android\sdk
вместо.
Других решений пока нет …