Tôi đã nâng cấp Android Studio lên 1.2 hôm nay và tôi gặp phải lỗi này.Lớp Thanh công cụ Android không tìm thấy
Các lớp sau đây không thể được tìm thấy: android.support.v7.widget.Toolbar (Fix Build Path, Tạo lớp)
build.gradle My chứa các phụ thuộc sau
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:cardview-v7:22.1.1'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:appcompat-v7:22.1.1'
}
Ai đó có thể giải quyết vấn đề này cho tôi không?
Dùng thử Công cụ> Android> Đồng bộ hóa dự án với Tệp Gradle. – CommonsWare
@CommonsWare vẫn còn vấn đề vẫn tồn tại. – Aadi
Sự cố xuất hiện từ mã hay từ kiểu dáng xml? –