Skip to main content

All Questions

0 votes
1 answer
25 views

How to set facebook au banner ads in 1 activity and it show in multiple Activity

I set this code in /res/layout/activity_main.xml <LinearLayout android:id="@+id/banner_container" android:layout_width="match_parent" android:layout_height="...
Bayzid Hossain's user avatar
0 votes
0 answers
146 views

Package com.facebook.react.defaults does not exist in react native 0.64.2

I need to downgrade the react native version 0.72.1 to 0.64.2 in a project. Everything seems correct, I can build and run the project, but when I try to import com.facebook.react.defaults....
Gabriel Andrade Vianna's user avatar
1 vote
0 answers
313 views

Android - How to use Facebook deferred deep linking feature for new installs and to test the same before publishing Android play store?

Followed all the steps given in following link: https://developers.facebook.com/docs/android/deep-linking But I'm not able to test deferred deeplink as app is not available on play store. I followed ...
Abhi's user avatar
  • 1,063
9 votes
2 answers
2k views

Issue with Facebook links in Android WebviewFragment ERR_UKNOWN_URL_SCHEME

I've started to have an issue with a WebviewFragment which opens inside my Android app which is meant to open a Facebook Page within the webview, this was working until recently (can't say exactly ...
omega1's user avatar
  • 1,113
1 vote
1 answer
2k views

getting "Duplicate class" error after adding Meta Audience Network - Android

whenever I try to build my app after adding meta dependency I get this error message: Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.9.0-runtime (androidx.core:...
Karim Sinouh's user avatar
  • 1,622
-1 votes
4 answers
588 views

ERROR : E/AndroidRuntime: FATAL EXCEPTION: main : Caused by: The Facebook sdk must be initialized before calling activateApp

hello everyone i have error in my android/java project E/AndroidRuntime: FATAL EXCEPTION: main Caused by: The Facebook sdk must be initialized before calling activateApp screenshots: image 1 image 2
RAGIP MULLAMUSA's user avatar
0 votes
1 answer
2k views

Task :app:processDebugResources FAILED > A failure occurred while executing com.android.build.gradle.internal.tasks

Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed /home/lipl245/...
Shubham Pal's user avatar
0 votes
1 answer
98 views

Adding a Layout Container for the Android Banner Ad with FAN

I'm trying to add facebook audience Banner Ad to an existing project, The documentation provided by facebook at (https://developers.facebook.com/docs/audience-network/setting-up/ad-setup/android/...
Senko Stone's user avatar
2 votes
2 answers
2k views

My android app Crash when trying to load a facebook Native Ad (java.lang.NoSuchMethodError: No static method isChildDirected())

My application crashes when trying to load a facebook Native Ad, here is the log Error : 2020-11-14 12:31:15.968 5710-5710/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.demopackage.name, ...
Hamid Noureddine's user avatar
0 votes
1 answer
2k views

error: cannot find symbol method setAdListener(<anonymous InterstitialAdListener>) & (<anonymous InterstitialAdListener>)

error: cannot find symbol method setAdListener() error: cannot find symbol method setAdListener() com.facebook.ads.AdView adView_banner = new com.facebook.ads.AdView(this, getString(R.string....
YOUNESS EL OUARDI's user avatar
1 vote
0 answers
3k views

Android.Malware.General (score:6) engine detected

I'm trying to implement Facebook ads on my app, but Facebook doesn't approve my app because they say it has malware. This malware appears only when I publish my app on Play Store, before publishing, ...
Regex's user avatar
  • 580
1 vote
0 answers
102 views

Open a post ID on Facebook app with Intent

I have installed 2 Facebook app on my android device (com.facebook.katana, com.facebook.katanb). Now, I want to open a post id on com.facebook.katanb package. I tried as below: Intent ...
phong dep trai's user avatar
0 votes
2 answers
106 views

why I cannot get facebook Key hash but get 'YOR7'

I want to get my release key hash for Facebook Android SDK. I followed facebook getting started tutorial paste following code to my cmd keytool -exportcert -alias androiddebugkey -keystore C:\Users\...
qiantext's user avatar
0 votes
1 answer
194 views

how to remove cache from webView

I have recyclerView and in each items I've have displaced facebook in webView. I loged in one of the item (position 1) of the webview by facebook. And, all other items (position 1,2,3..) are ...
madan's user avatar
  • 119
0 votes
1 answer
267 views

How to add two override onActivityResult methods in one java activity?

I am unable to use two override onActivityResult methods in one java activity. I tried loop but that doesn't make any sense to use loop in this. I am attaching the code help me out in this. @Override ...
Ahmad Hassan's user avatar

15 30 50 per page
1
2 3 4 5
15