-
Notifications
You must be signed in to change notification settings - Fork 93
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
BUILD ERROR AFTER ADDING LIBRARY #65
Comments
It looks like your build environment does not like Freemarker for some reason. Freemarker is one of ez-vcard's dependencies. However, you can safely exclude this dependency from your build as long as you are not using ez-vcard's hCard functionality. I'm not too familiar with gradle, but I think this might work:
Let me know if this helps. |
Thanks for the response. It's building fine now |
Great! Let me know if you have any more questions! |
Hmmm, do you have a snippet to allow me use Action.VIEW of android to initiate a Vcard display/save to contact? the one I adopted keep throwing an exception. thanks in advance |
No, sorry. :-P |
So, I added the latest version of the library via maven
compile 'com.googlecode.ez-vcard:ez-vcard:0.9.11'
and when i try to run the application I get 968 errors (obviously repeating, I believe its a single error) below is a snippet of the error
Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(freemarker.template.utility.XmlEscape$1) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Information:BUILD SUCCESSFUL Information:Total time: 1 mins 24.333 secs Information:968 errors
This is what currently what my dependencies are:
dependencies { compile 'com.tarun0.zxing-standalone:zxing-standalone:1.0.0' compile 'com.googlecode.ez-vcard:ez-vcard:0.9.11' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:support-v4:23.4.0' compile 'com.github.google:gson:1.7' compile files('libs/asmack-android-18-0.8.10.jar') }
Please help is needed urgently. Thanks
The text was updated successfully, but these errors were encountered: