1

I'm using example from this link http://www.rgagnon.com/javadetails/java-0452.html but I'm getting error: Could not find class javax.naming.directory.InitialDirContext Why?

XXX
  • 8,996
  • 7
  • 44
  • 53

1 Answers1

5

Thats because jars use core libraries. Android does not support all J2SE packages, but rather a subset of it: http://developer.android.com/reference/packages.html

vmtrue
  • 1,724
  • 18
  • 36