Error:Cause: failed to find target with hash string 'android-24' in...

xiaoxiao2021-02-28  78

Android studio打开一个项目时,遇到Error:Cause: failed to find target with hash string 'android-24' in....的问题,说明你的电脑上没有相应的版本,把build.gradle(Module:app)里的

compileSdkVersion 25 targetSdkVersion 25compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:design:25.3.1'

改成你的电脑就可以上有的版本就可以

转载请注明原文地址: https://www.6miu.com/read-42428.html

最新回复(0)