![](/img/trans.png)
[英]The following classes could not be found: - android.support.design.widget.TextInputLayout
[英]The following classes could not be found: - android.support.design.widget.TextInputLayout
我正在嘗試將TextInputLayout用於edittext。 我從鏈接下面按照步驟進行操作。 使用TextInputLayout仍然遇到以下錯誤:
找不到以下類別:-android.support.design.widget.TextInputLayout
我還在build.gradle文件中添加了依賴項。
我還有什么想念的..請讓我知道
謝謝
將此添加到您的build.gradle文件
compile 'com.android.support:design:22.2.0'
並重建項目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.