android stdio 編譯專案報Error:Failed to find target with hash string 'android-24
android stdio 編譯專案報Error:Failed to find target with hash string 'android-24
- 檢視已有的SDK
- 設定專案的sdk為 25
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.accessibility"
minSdkVersion 14
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
編譯之後一切OK
相關推薦
android stdio 編譯專案報Error:Failed to find target with hash string 39;android-24
android stdio 編譯專案報Error:Failed to find target with hash string 'android-24 檢視已有的SDK 設定專案的sdk為 25 andr
Failed to find target with hash string 39;android-2639; in
是因為 專案使用 Android 26 但是 SDK並沒有安裝,使用了其他版本 參考 https://blog.csdn.net/ThePromonkeyOf_HeLuo/article/details/78518701 去SDK Manager中下載相應的api,之後從新編譯即可。新版
Error:Failed to find target with hash string 'android-25' in: E:\androidstudio\androidstudio\sdk
1.工程從一個電腦執行 然後放到另一臺電腦 上報錯 Error:Failed to find target with hash string ‘android-25’ in: E:\androidstudio\androidstudio\sdk 2.有
Failed to find target with hash string 'android-26' in
是因為 專案使用 Android 26 但是 SDK並沒有安裝,使用了其他版本 參考 https://blog.csdn.net/ThePromonkeyOf_HeLuo/article/details/78518701 去SDK Manager中下載相應的api,之後從新編譯即可。新版Android
Android Studio更新後出現Error:Cause: failed to find target with hash string 'android-23' 錯誤
今天使用vpn更新了android Studio,更新過程中一切順利,誰知更新完成後原來的專案一片錯誤,提示failed to find target with hash string ‘android
專案報錯-failed to find build tools revision 26.0.1
問題: failed to find build tools revision 26.0.1 原因: build tools revision版本不對 解決方法: 第一步: tools ->android ->sdk manager-
Android Studio 常見 Build 問題 Error:failed to find Build Tools revision 23.0.2
問題一 有時候從 Github 上拷貝人家的工程,執行會出現各種依賴包、版本包問題。 修改 build.gradle 在專案的 build.gradle 裡面設定,注意有兩個build.gradle,最好都注意一下。把build.gradle裡面的
開啟安卓專案報錯Failed to load E:\android\android-sdk-windows\build-tools\26.0.2\lib\dx.ja Unable to build:
當我們將安卓環境成功搭建號之後,新建下一個專案準備執行時,突然發現,eclipse報錯: Failed to load (%ANDROID_SDK__HOME%)\build-tools\26.0.0
STM32初學Keil4編譯時出現 Error:Failed to execute 39;BIN40/Armcc39;
log cmd arm 依次 菜單 tail http ror 沒有 一種是在系統開始——運行裏輸入cmd,查看armcc狀態。詳情見推文: http://blog.csdn.net/hicui/article/details/7350805(筆記記錄,請勿見怪) 都沒有問
Android Studio 3.1.4 報錯Failed to find style 39;coordinatorLayoutStyle39; in current theme
使用最新版的AS3.1.4安裝後 執行hello world程式,預覽報錯Failed to find style ‘coordinatorLayoutStyle’ in current theme。 如圖。 網上找了些方法,沒解決,然後去Google找了下,在stackoverflo
mac 使用Android Studio 匯入新工程出現的問題 Error:failed to find Build Tools revision 26.0.2
使用as,首次匯入工程時,報錯:Error:failed to find Build Tools revision 26.0.2 解決方法: 檢查…./app/build.gradle 中配置,檢查buildToolsVersion一行與SDK路徑下的BUILDTOOLSVersion是否相容 。同理co
Android studio2.3更新以後Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this s
如題:在更新2.3以後報Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection tim
git上傳到一半最後報error:failed to push some refs to '
今天上傳程式碼到git上,上傳一半卡住了,過了一會兒就報: Counting objects: 52, done. Delta compression using up to 2 threads. Compressing objects: 100% (48/48), don
新建專案報錯 Failed to execute aapt
很久沒做安卓開發了,以前開發安卓的使用大多用的是eclipse,覺得也挺方便的。不過既然谷歌推薦使用android studio,也有他的道理,於是就嘗試一下。沒想到,裝了android studio 後,新建專案,報錯 Error:FAILURE: Build faile
Android studio 出現Error:failed to find Build Tools revision 28.0.0 rc1解決方案
在Android studio中新建專案出現上圖所示錯誤,解決方案為:在app->build.gradle中修改buildToolsVersion這一項的版本號修改後的app->build.gradle檔案內容如下:
解決android Studio 安裝完執行提示failed to find build tools revision 24.0.2
這幾天安裝了下android studio 想寫點安卓程式,按著網上的安裝教程安裝完成後,執行專案時提示failed to find build tools revision 24 這個問題在網上找了下‘下面是 自己的解決辦法,如果專案的指定的版本不是android s
Android studio的錯誤:radle sync failed: Cause: failed to find target android-21 :
選擇 gif get 產生 target 是什麽 版本信息 roi oid 這個錯誤在Android studio中經常出現,特別是你在編譯不同的app的時候,到底是什麽原因會導致該錯誤產生呢? 首先看錯誤信息,是找不到目標android版本-21導致的,這就很明顯了
Android專案編譯報錯Failed to resolve: firebase-iid-interop
問題說明 很久以前的一個可以編譯執行的Android,今天重新開啟後發現編譯時報錯 Failed to resolve: firebase-iid-interop Open File Failed to resolve: play-services-basement Open
【報錯日誌】27.1.0一系列報錯 Error:Failed to resolve: com.android.support:support-annotations:27.1.0
android專案 在專案新增依賴後同步時出現了這個錯誤 Error:Failed to resolve: com.android.support:support-annotations:27.1.0 但是在匯入之前,專案執行問題,於是決定問題可能是這個類庫導致的, 查
IDEA maven編譯專案報錯: Failed to execute goal on project XXX
1.問題現象 使用maven install(編譯)專案報錯: [ERROR] Failed to execute goal on project basic-logic: Could not resolve dependencies for project com.basic.management