Giter Club home page Giter Club logo

Comments (17)

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024 1

@matt-harris-mc compile 'com.optimizely.ab:android-sdk:3.0.1'
Sorry it took so long. We fixed the other issues as well. Thanks.

from android-sdk.

aliabbasrizvi avatar aliabbasrizvi commented on May 22, 2024

Thanks for reporting @matt-harris-mc . We are looking into this.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

hi @matt-harris-mc what proguard rules are you using?

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

We have a set of rules locally that we use for other stuff, but I was under the impression any required rules are automatically included in the aar. Are you worried that we possibly have rules that conflict with those?

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

@matt-harris-mc can you try the following:
can you add the following to your proguard rules?

-keep class com.fasterxml.jackson.** {*;}

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

@thomaszurkan-optimizely I added that line to my proguard file and it is still failing with the same message. Also reverted to 2.1.4 to confirm my build is still working and it is not something else local to me.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

so, 2.1.4 works and 3.0 doesn't?

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

Yep 2.1.4 is building without issue.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'

are you compiling in jackson-databind?

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

We are not using it directly or even indirectly. It looks like the only reference to jackson we have is in a progaurd section we have included (commented as for firebase): -keepnames class com.fasterxml.jackson.** { *; }

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

hmm, if you add the jackson-databind in there i would assume it would work. we are looking into a solution. thanks!

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

Yea it looks like adding that lib as a dependency does fix the issue. Going to hold on 2.1.4 for now though. Thanks for the quick responses.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

could you try not compiling without jackson databind and instead add -dontwarn com.fasterxml.jackson.databind.**? to see if that works

from android-sdk.

matt-harris-mc avatar matt-harris-mc commented on May 22, 2024

@thomaszurkan-optimizely Are you saying to leave out jackson-databind and add the proguard rule? Gave that a try and it still fails.

from android-sdk.

PhilippNowak96 avatar PhilippNowak96 commented on May 22, 2024

Hi guys,
Any new information about this? We are facing the same issue with the 3.0.0 SDK.

Edit: Adding compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8' worked for me.

from android-sdk.

kempermr avatar kempermr commented on May 22, 2024

Also running into this issue. Using a -dontwarn com.optimizely.ab.config.parser.JacksonConfigParser$ProjectConfigModule until this gets fixed.

from android-sdk.

thomaszurkan-optimizely avatar thomaszurkan-optimizely commented on May 22, 2024

https://github.com/optimizely/android-sdk/releases/tag/3.0.1

from android-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.