依賴ConstraintLayout報錯:Could not find com.android.support.constraint:constraint-layout:1.0.0-beta5
ConstraintLayout是Android Studio 2.2中主要的新增功能之一,方便開發者使用圖形化介面來完成UI佈局,減少佈局巢狀。更多的使用方法,可以參考這篇文章:ConstraintLayout完全解析
在進行佈局轉換時,我們需要新增依賴:
- compile 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
或 Could not find com.android.support.constraint:constraint-layout:1.0.0-beta5
解決方法: 在工具欄選擇 Tools --> Android --> SDK Manager,勾選上 Support Repository中 的ConstraintLayout for Android 和Solver for ConstraintLayout,如下圖:
之後同步並重建就可以了,如果佈局介面有錯誤提示,可嘗試重啟Android Studio。
相關推薦
依賴ConstraintLayout報錯:Could not find com.android.support.constraint:constraint-layout:1.0.0-beta5
ConstraintLayout是Android Studio 2.2中主要的新增功能之一,方便開發者使用圖形化介面來完成UI佈局,減少佈局巢狀。更多的使用方法,可以參考這篇文章:ConstraintLayout完全解析 在進行佈局轉換時,我們需要新增依賴: compi
Android出現:Your project path contains non-ASCII characters報錯、Could not find com.android.support.報錯
安卓在匯入或者建立專案時,專案名字是不可以含有中文的,只要有中文就會報錯,下面是本人在匯入android專案時由於忘記這個常識而犯的錯誤,還有就是另一個錯誤新增依賴時程式報的錯誤,現在利用網上的大牛們的部落格整合起來寫了這個部落格,用來以後提醒自己: 第一個
導入項目的時候報錯Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha7
原因 自己 進行 ack class rain 選擇 and clas 問題描述 今天在導入項目的時候報錯: Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alph
anaconda安裝Opencv報錯:Could NOT find PythonLibs: Found unsuitable version "2.7.6",
list open version packages 拷貝 uitable /usr req imp 機器上裝了兩個python,一個是默認的,一個是anaconda。安裝opencv時就報錯了: -- Found PythonInterp: /home/deeplp/an
【已解決】mac上appium報錯:“Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path”
resource sset root could not fun ror 環境 apt direct 按照網上教程配置完appium環境後,真機跑自動化過程,遇到如下報錯: appium報錯如下: [ADB] Checking whether aapt is present
當storm報錯:Could not find leader nimbus from seed hosts ["127.0.0.1"]解決辦法
解決方式: 刪除zookeeper下的storm節點資料,重啟zookeeper,重新發布topology到storm叢集即可。 zk操作方式: 首先到zookeeper目錄/bin下面,執行 ./bin/zkCli.sh -server [ip]:
用pip安裝aiohttp模塊報錯:Could not find a version that satisfies the requirement pymongo(from version:)
ould sat ati The 網絡 req ref com alt 參考:https://blog.csdn.net/dyrlovewc/article/details/53142798 用pip安裝aiohttp模塊報錯如下: 解決:多安裝幾次竟然成功了!!
Flutter新手第一個坑:Could not find com.android.tools.lint:lint-gradle:26.1.1.
解決方法1:修改build.gradle,註釋掉jcenter(),google()。使用阿里的映象。原因是jcenter google庫無法訪問到導致的問題。雖然我有萬能的爬牆工具,開啟全域性代理依然被我們偉大的發改委牆掉了! buildscript { repositories { //goo
Error:Could not find com.android.support:appcompat-v7:25.3.1.
“` Error:Could not find com.android.support:appcompat-v7:25.3.1. Required by: cashking:app:unspecified cashking:app:unspecified > cashkin
Android開發:android studio報錯: Failed to resolve: com.android.support.constraint:constraint-layout:1.0.
情景:在build.gradle檔案新增下面程式碼 compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4' 點選“Sync now”後報錯: Failed to resolve:co
ssh報錯:Could not load host key:/etc/ssh/ssh_host_rsa_key&ssh_host_ecdsa_key&ssh_host_ed25519_key
ssh報錯:could not load host key今天ssh遠程的時候發現無法遠程,登錄主機查看ssh服務狀態,報錯如下去查看秘鑰發現文件大小為0,看起來是生成秘鑰失敗了才導致的故障,解決方法簡單,刪除原有的秘鑰,重新生成秘鑰就OK了然後重啟ssh服務,自動生成新的秘鑰就可以了或者也可以通過命令行重新
Intellij IDEA報錯:Could not save application settings: java.io.IOException: java.lang.AssertionError: Unexpected content storage modificat
mini dst his process ssa 本地 while app ioe Question: i have a message saying "Could not save application settings: java.io.IOException:
【ActiveMQ】消息生產者自動註入報錯:Could not autowire. No beans of 'JmsMessagingTemplate' type found
註入 fin producer 定義 red because spl send code 使用ActiveMQ過程中,定義消息生產者: package com.sxd.jms.producer; import org.springframework.beans.fa
IntelliJ idea 報錯:Could not autowire,no beans of "XXX" type found
pan 踩坑 blog beans tail war 詳情 參考 spec Question:使用 IDEA 開發Java web項目時,在註解 @Autowired 裝配 dao 時顯示:Could not autowire,no beans of "XXX" type
ISCSI報錯:Could not create NetworkPortal in configFS
ISCSI linux 共享存儲 ISCSI報錯:Could not create NetworkPortal in configFS的解決辦法 通過查找相關的資料,發現在啟用端口3260和IP監聽的時候,已經存在了一個IP和端口,此時需要手動刪除。 報錯及解決截圖如下: ISCSI報錯:C
eclipse報錯: Could not generate secret
image 信息 分享圖片 inf edi info png mage bubuko 在調用微信接口時,出現一個錯誤: 一直以為是接口調用問題,經多方查詢和嘗試解決,最後找到根源: edit-->使用default就可以了。 原因: 在eclipse中運行時,把
eclipse啟動報錯:Could not create the java virtual machine
報錯 解壓 java 開發 升級 最新 分享 src info 用maven、springboot開發時,安裝了當時最新版的eclipse(3.5.5)。eclipse解壓版的非常方便,想先安裝了看看。暫時沒有升級其他軟件。 打開的時候報錯: 原因其實就是還木有升級新版
Akka HTTP部署報錯:Could not resolve substitution to a value: ${akka.stream.blocking-io-dispatcher}
在idea中使用akka http完成服務端rest介面的開發與測試後,接著就可以部署到Linux伺服器上進行測試了,因為沒有限定pom中依賴包的scope為provided,所以打包時將依賴jar包也打進了專案jar包,方便執行測試,但是專案jar包較大,後續再分離依賴的jar包。打包時候po
mac下安裝bochs,使用bximage建立磁碟時 報錯:could not write disk image
人生處處不是坑啊。真的是打死不想當運維。。。 這次這個坑是我們用bochs下的bximage建立磁碟的時候: $ bximage ======================================
Beeline連線報錯:Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default
java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/default: java.net.ConnectException: 拒絕連線