hap 497 wrote:
> HI,
> 
> Can you please tell me how to use apache.commons in my android application.
> 
> I put the right import, but when I compile it I get the following error:
> 
> : package org.apache.commons.io <http://org.apache.commons.io> does not
> exist
> import org.apache.commons.io.IOUtils;

Apache Commons IO does not exist in Android:

http://developer.android.com/reference/packages.html

If you wish to add Apache Commons IO to your project, you will need to:

1. Put the jar in your project's libs/ directory

2. If you are using Eclipse, tell it to import that JAR as part of teh
build process.

3. Pray to the high heavens that Apache Commons IO works without
modifications on Android.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need help for your Android OSS project? http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to