Android update 17 seems incompatible with external Jars

前端 未结 3 1478
半阙折子戏
半阙折子戏 2020-11-22 04:40

I just allowed my Mac to do an update on its Java installation and now some of my old jars (like javax.mail and apache.commons.httpclient) are thro

相关标签:
3条回答
  • 2020-11-22 05:11

    If renaming the lib to libs doesn't work then try this.

    0 讨论(0)
  • 2020-11-22 05:15

    Same thing happened to me but my folder was labeled "lib" instead of "libs" arg! updating was a little rough this time around... fixed after removing the external jars from the project settings and changing the folder to libs

    0 讨论(0)
  • 2020-11-22 05:25

    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

    0 讨论(0)
提交回复
热议问题