Good morning every body ,Please i have an error at my android application when i try to import file.jar .. I really tried a lot of solution but the error is the same. Can u help me please to solve the problem ! thank you
Asked
Active
Viewed 1,040 times
0
-
Check This [link](http://stackoverflow.com/questions/22547364/configuration-with-name-default-not-found-android-studio) that may help you – Jorge Apr 21 '16 at 05:53
-
thank you but the error is present again! – Oumayma Jaziri Apr 21 '16 at 06:04
1 Answers
1
Add your library folder in your root location of your project and copy all the library files there. For ex YourProject/yourlibrary then sync it and after that you need to mention that library in settings.gradle e.g include ':yourlibrary' one more thing you need to do is to add this line in build.gradle(Module app)
compile files('libs/yourlibrary')
here is the second way to do this just Go->File in android studio after that find project structure then click on Dependencies -> click on green "+" icon then click on File Dependencies select your required file from your libs or library folder and click ok.

Nowshad
- 294
- 1
- 14