question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

data-collector-3.9.0 contains references to both AndroidX and old support library

See original GitHub issue

Issue description

WARNING: [Processor] Library ‘.gradle/caches/modules-2/files-2.1/com.paypal.android.sdk/data-collector/3.9.0/fb5f4d069ba36bb7bb19e4cc9ba7c299bd896902/data-collector-3.9.0.aar’ contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway. Example of androidX reference: ‘androidx/annotation/NonNull’ Example of support library reference: ‘android/support/annotation/NonNull’

com.paypal.android.sdk:data-collector:3.9.0
-- com.paypal.android.sdk:paypal-one-touch:3.9.0
---- com.braintreepayments.api:braintree:3.9.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

9reactions
ChristianKatzmanncommented, Oct 19, 2020

Hey @sshropshire , I’m running in the same issue with the latest Braintree Android SDK 3.14.1. The warning is

[Processor] Library '/Users/becker/.gradle/caches/modules-2/files-2.1/com.paypal.android.sdk/data-collector/3.14.1/2a9890d47e7fec2e001a5771e69a689294137dcc/data-collector-3.14.1.aar' contains references to both AndroidX and old support library. This seems like the library is partially migrated. Jetifier will try to rewrite the library anyway.

While your statement about Jetifier is true, the warning obviously states that the data-collector-3.14.1.aar library contains references to both legacy Android Support and new AndroidX libraries, which is kind of a weird state.

Do you plan to migrate the last part over to AndroidX anytime soon? The Braintree Android SDK is one of the last libraries that forces me to enable Jetifier at all.

3reactions
sshropshirecommented, Oct 20, 2020

@ChristianBecker @plastiv thank you for the feedback. We’re looking to resolve this in the data-collector module.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contains references to both AndroidX and old support library
This warning exist because on the latest Flutter versions newly created projects will be created with AndroidX automatically.
Read more >
Contains references to both AndroidX and old support library
iOS : Contains references to both AndroidX and old support library [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >
ConditionProviderService.java - Android Code Search
Search and explore code.
Read more >
Diff - platform/platform_testing - Google Git
diff --git a/libraries/base-app-helpers/Android.mk ... -16,9 +16,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) -LOCAL_MODULE := base-app-helpers ...
Read more >
Diff - ml/armnn
diff --git a/Android.bp b/Android.bp new file mode 100644 index ... +# Use 'build_type' to support different lib paths for RELEASE or DEBUG builds...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found