Android Update 17 Seems Incompatible With External Jars

Android update 17 seems incompatible with external Jars

crash at run time with exceptions that look like this:
Could not find class 'javax.mail.internet.InternetAddress', referenced from method com.my.project.Main.isValidEmailAddress

If you have problems with external jars, then:

  1. create a folder named libs.
  2. Copy and paste all needed external jar files into that folder.

It will automatically be included, as explained on this page: Dealing with dependencies in Android projects

Jar-file issue with ADT r17

Until the latest release tools right click > Add compatibility package on my project wasn't working and I included the jar file manually through the project properties. I tried "Add compatibility package" again and since r17 it seems this is fixed for my machine. This fixed the problem.

Jackson for android ADT 17

Had the exact same problem. Check this blog post: http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

tl;dr: Rename your lib directory to libs and add Jackson to the project again.

How to fix NoClassFoundError in android

create new libs folder in your application .name must be same.and put your jar files in this folder.and
go to
java Build Path -> Configure Build Path -> Add jars

Getting ClassNotFound Error after updating from ADT 16 to ADT 17

This issue occurs because the "lib" folder is renamed to "libs" now by Android People.
And as soon as we place our external jars to this "libs" folder then it will automatically be added to the build path of the application.

Classnotfound exception for working app

At last I found the solution for my problem.gtumca-MAC's solution Android update 17 seems incompatible with external Jars worked for me.Created one folder named libs and add my core.jar .Now it's working fine.Thanks all.



Related Topics



Leave a reply



Submit