- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
09-22-2016 02:54 AM
Hello,
our developers are trying to add the Tealium SDK 5.0.4 for Android on a project that is not using gradle.
They extracted the .aar contents and tried to add the library manually.
An exception is raised on the following line:
Tealium.Config config = Tealium.Config.create(this, TEALIUM_ACCOUNT, TEALIUM_PROFILE, TEALIUM_ENVIRONMENT);
The exception is:
Method threw 'java.lang.NoClassDefFoundError' exception. Cannot evaluate com.tealium.library.Tealium$Config$2.toString()
Is there a recommended way to add the Tealium SDK in a project that is not using gradle?
Best regards,
Giacomo
09-22-2016 01:57 PM
Hi @giacomo_ritucci,
We conform to the official library creation paradigm as described by https://developer.android.com/studio/projects/android-library.html
We unfortunately do not have the capacity to support unconventional use of our library and we wouldn't recommend extracting the .aar contents.
If you decide to implement the library as recommended in our documentation and are still having issues, please reach out to your account manager to have an enginneer assigned to assist you with your implementation. Thanks!
Christina
Copyright All Rights Reserved © 2008-2023