【发布时间】:2017-05-08 16:31:44
【问题描述】:
我正在尝试在我的项目中使用 OpenCSV 库,但它抛出了这个错误 - 我已经尝试删除该库并重新安装它,但错误仍然存在。
这是来自 build.gradle
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
testCompile 'junit:junit:4.12'
compile files('libs/opencsv.jar')}
【问题讨论】:
标签: java android dependencies noclassdeffounderror opencsv