关于build-tools位置不一致问题

错误如下:

Observed package id ‘build-tools;18.0.1’ in inconsistent location ‘E:\SDK_JDK\android-sdk\build-tools\android-4.3’ (Expected ‘E:\SDK_JDK\android-sdk\build-tools\18.0.1’)
Observed package id ‘build-tools;19.0.0’ in inconsistent location ‘E:\SDK_JDK\android-sdk\build-tools\android-4.4’ (Expected ‘E:\SDK_JDK\android-sdk\build-tools\19.0.0’)
Observed package id ‘build-tools;20.0.0’ in inconsistent location ‘E:\SDK_JDK\android-sdk\build-tools\android-4.4W’ (Expected ‘E:\SDK_JDK\android-sdk\build-tools\20.0.0’)
Observed package id ‘build-tools;22.0.1’ in inconsistent location ‘E:\SDK_JDK\android-sdk\build-tools\build-tools-22.0.1’ (Expected ‘E:\SDK_JDK\android-sdk\build-tools\22.0.1’)
Observed package id ‘system-images;android-22;google_apis;x86’ in inconsistent location ‘E:\SDK_JDK\android-sdk\system-images\addon-google_apis-google-22\x86’ (Expected ‘E:\SDK_JDK\android-sdk\system-images\android-22\google_apis\x86’)
:app:clean
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:FlycoTabLayout_Lib:preBuild UP-TO-DATE
:FlycoTabLayout_Lib:preReleaseBuild UP-TO-DATE
:FlycoTabLayout_Lib:compileReleaseNdk UP-TO-DATE

关于build-tools位置不一致问题_第1张图片


解决办法:SDK目录下,把下边的改成上边19.1.0样式的

关于build-tools位置不一致问题_第2张图片

正确目录如下:
关于build-tools位置不一致问题_第3张图片

你可能感兴趣的:(错误坑)