0

I have done something similar to this post Post

But getting these errors Error

I have downloaded the Java Mail API but I don't know how to import it into the android studio IDE. PLease could someone help me

Community
  • 1
  • 1
dark_illusion_909099
  • 1,067
  • 2
  • 21
  • 41
  • I don't know why people down voting the question, if you don't like to answer it why don't you just leave it or if you don't understand my question ask me to explain it. – dark_illusion_909099 Mar 26 '15 at 15:38

2 Answers2

0

enter image description here

You need to put the *.jar files in project_path/src/main/libs. Right click *.jar file and add as library.

oldfeel
  • 420
  • 3
  • 12
0

You could integrate your libs by editing your build.gradle file:

dependencies {
    compile files('<path to your jar>')
}

Source: http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Dependencies-Android-Libraries-and-Multi-project-setup

Christopher
  • 9,682
  • 7
  • 47
  • 76