Skip to content
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

AndroidManifest.xml NameSpace Confict #1292

Open
5 tasks done
Allen-ZXJ opened this issue Jan 15, 2025 · 12 comments
Open
5 tasks done

AndroidManifest.xml NameSpace Confict #1292

Allen-ZXJ opened this issue Jan 15, 2025 · 12 comments

Comments

@Allen-ZXJ
Copy link

Checklist before submitting a bug report

Java version

java 17

Android version

API34

Android SDK version

com.facebook.android:facebook-core:18.0.0

Installation platform & version

AGP8.0

Package

Core & AppEvents

Goals

To build the Android project.

Expected results

Build SUCCESS

Actual results

Image

Steps to reproduce

Just to update SDK to the latest version[18.0.0]

Code samples & details

when I change 
    [implementation 'com.facebook.android:facebook-android-sdk:latest.release'
    implementation 'com.facebook.android:facebook-login:latest.release'
    //facebook分享
    implementation 'com.facebook.android:facebook-share:latest.release']
    to
       [implementation 'com.facebook.android:facebook-android-sdk:17.0.2'
    implementation 'com.facebook.android:facebook-login:17.0.2'
    //facebook分享
    implementation 'com.facebook.android:facebook-share:17.0.2'],the error disappears
@daniel-rhld
Copy link

Same problem here, after downgrading to Facebook Android SDK 17.0.2 the error doesn't exists anymore.

@Allen-ZXJ
Copy link
Author

Yes, because the latest Facebook Android SDK version[18.0.0] was only updated 12 hours ago

@qq4010118
Copy link

Same, I just downgrade it to 17.0.2 and it works with com.google.android.gms:play-services-measurement-api:22.1.2 .
The android.adservices.AD_SERVICES_CONFIG property tag add in 18.0.0 manifest is conflict with play-services-measurement-api.

@finchatticus
Copy link

Same problem

@rehan-505
Copy link

Facing same issue

@ChristaCmb
Copy link

I am also blocked from upgrading due to this issue.

@georgest
Copy link

Facing the same issue.

@pranavkapoorlokal
Copy link

Issue was introduced in 17.0.2. Had to downgrade to 17.0.1 to fix the issue.

@Dream403
Copy link

Image
Same problem

@manan057
Copy link

manan057 commented Jan 20, 2025

I updated my build.gradle to use the older sdk and the Android builds work now.

Changed
implementation 'com.facebook.android:facebook-android-sdk:latest.release'
to
implementation 'com.facebook.android:facebook-android-sdk:17.0.2'

works for 17.0.1 and 17.0.2

@whitipet
Copy link

Updating the version of Firebase Analytics helped me (the version of play-services-measurement has also changed) https://firebase.google.com/support/release-notes/android#analytics_v22-2-0

facebook-github-bot pushed a commit that referenced this issue Jan 27, 2025
Summary: The sandbox property causes [error](#1292) in advertisers app. Based on initial investigation, the issue is caused by Google and Meta both declare the same property in their own namespaces. This diff removes Meta's setting to provide a quick fix to the issue. Long term solutions need to be discussed with Google.

Reviewed By: maxalbrightmeta

Differential Revision: D68725513

fbshipit-source-id: 407a91feeaf1eeb7e8b7443e82ea0c5c169e19b6
@AbdullahJaved-dev
Copy link

Updating firebase analytics dependency resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests