Tôi đang cố gắng để thêm android.support.design
thư viện để dự án của tôi: Tất cả những điều thú vị trong tập tin gradle tôi:thiết kế android gradle thư viện rỗng trỏ ngoại lệ
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:design:22.2.0'
compile 'com.android.support:support-annotations:22.0.0'
compile 'com.android.support:support-v13:22.1.1'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:cardview-v7:22.1.0'
}
Tôi nhận được
Error:Android Gradle Build Target: java.lang.NullPointerException
Khi xóa com.android.support:design:22.2.0
(và thêm lại v4
và AppCompat
), xây dựng thành công.
Another similar issue không giúp tôi
ý rằng tôi đang xây dựng sử dụng Intellij 14
Bạn đã thấy câu trả lời này chưa? Vấn đề là với thư viện hỗ trợ thiết kế. http://stackoverflow.com/a/30557995/2091181 –
có. nó không liên quan. Tôi đã tìm thấy câu trả lời và đăng nó ngay bây giờ – royB