Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gissuebot opened this issue Oct 31, 2014 · 2 comments
Closed

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

gissuebot opened this issue Oct 31, 2014 · 2 comments

Comments

@gissuebot
Copy link

Original issue created by franciscojaviermartinezmarin on 2013-09-15 at 07:39 PM


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.

@gissuebot
Copy link
Author

Original comment posted by franciscojaviermartinezmarin on 2013-09-16 at 01:13 PM


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

@gissuebot
Copy link
Author

Original comment posted by cpovirk@google.com on 2013-09-16 at 01:52 PM


(No comment entered for this change.)


Status: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant