Comments (17)
@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.
Thanks for reporting @matt-harris-mc . We are looking into this.
from android-sdk.
hi @matt-harris-mc what proguard rules are you using?
from android-sdk.
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.
@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.
@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.
so, 2.1.4 works and 3.0 doesn't?
from android-sdk.
Yep 2.1.4 is building without issue.
from android-sdk.
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.8'
are you compiling in jackson-databind?
from android-sdk.
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.
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.
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.
could you try not compiling without jackson databind and instead add -dontwarn com.fasterxml.jackson.databind.**
? to see if that works
from android-sdk.
@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.
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.
Also running into this issue. Using a -dontwarn com.optimizely.ab.config.parser.JacksonConfigParser$ProjectConfigModule
until this gets fixed.
from android-sdk.
https://github.com/optimizely/android-sdk/releases/tag/3.0.1
from android-sdk.
Related Issues (20)
- slack test
- Optimizely does not initialize without proguard rule for Gson HOT 6
- Update SDK's dependencies HOT 2
- ConcurrentModificationException in NotificationManager.addHandler() HOT 3
- Issues targeting android 12 (API 31) HOT 5
- StrictMode violation due to Deflater.end() not being called HOT 1
- `updateConfigOnNewDatafile` does nothing HOT 2
- Unable to exclude users from experiment HOT 4
- isFeatureEnabled is failing some times HOT 2
- List all Flags available HOT 2
- AD Blocker is blocking the data sync HOT 2
- `Parcel.createExceptionOrNull` due to too many scheduled jobs HOT 5
- DatafileClient should specify read/write timeout on urlConnection HOT 3
- Crash in WorkerScheduler.startService HOT 12
- 2 files found with path 'android-logger.properties' from inputs HOT 6
- Wrong conversion rates while tracking feature flags HOT 2
- Crash with java.lang.ExceptionInInitializerError caused by java.lang.IllegalStateException: FileLogger is not initialized. Forgot to call Log4O.init()? HOT 6
- Reporting a vulnerability HOT 1
- ResourcesNotFoundException thrown during initialisaiton HOT 3
- [BUG] Setting initialize()'s updateConfigOnNewDatafile=false is ignored by DefaultDatafileHandler HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-sdk.