简体   繁体   中英

Unable to use imported jar in Android Studio 1.0.1

I put my dependencies on gradle file

dependencies {
   compile fileTree(include: ['*.jar'], dir: 'libs')
   compile 'com.android.support:appcompat-v7:21.0.3'
   compile files('libs/jaxrs-ri/*.jar')
   compile files('libs/poi/*.jar')
}

but nothing happens at all, what I need to let Android to see those libraries?

在此处输入图片说明

Try putting the .jar in your lib folder. Then right click it, and select 'Add as Library'

刷新工作文件夹可能会解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM