DaveAKing / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

java.lang.NoClassDefFoundError:com.google.common.base.Splitter #1533

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

When I compile my app there is no error. However in runtime I get this:

09-16 02:49:27.890: I/System.out(16458): Error en MainActivity: 
2java.lang.NoClassDefFoundError:com.google.common.base.Splitter

It looks like I didn't include it in my classpath, but actually I included the 
guava jar file.

This is code line that fails: Splitter separador=Splitter.on('|');

I include an screenshot of my eclipse porjet.

Thanks in advance.

Original issue reported on code.google.com by francisc...@gmail.com on 15 Sep 2013 at 7:39

Attachments:

GoogleCodeExporter commented 9 years ago
This issue can be closed because I found the reason why it fails. As I am new 
in android I didn't know the libraries must be placed in the "libs" folder.

Now it is ok and this issue can be closed

Original comment by francisc...@gmail.com on 16 Sep 2013 at 1:13

GoogleCodeExporter commented 9 years ago

Original comment by cpov...@google.com on 16 Sep 2013 at 1:52

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:12

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:08