Coder Social home page Coder Social logo

Comments (6)

ammarahm-ed avatar ammarahm-ed commented on June 1, 2024

add Admob App IDs to your AndroidManifest.xml and info.plist on iOS respectively

from react-native-admob-native-ads.

dan-lee avatar dan-lee commented on June 1, 2024

I'm experiencing the same. Not sure if too helpful but my ADB logs say:

2020-06-26 15:27:56.554 3820-3957/? E/SoLoader: couldn't find DSO to load: libfbjni.so
    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.myapp/lib-main flags = 1]
    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.myapp-0zwhmjVxrwR80UNeACugQg==/lib/x86 flags = 0]
    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
    	Native lib dir: /data/app/com.myapp-0zwhmjVxrwR80UNeACugQg==/lib/x86
     result: 0
    
    --------- beginning of crash
2020-06-26 15:27:56.558 3820-3957/? E/AndroidRuntime: FATAL EXCEPTION: FlipperEventBaseThread
    Process: com.myapp, PID: 3820
    java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libfbjni.so
    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.myapp/lib-main flags = 1]
    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.myapp-0zwhmjVxrwR80UNeACugQg==/lib/x86 flags = 0]
    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
    	Native lib dir: /data/app/com.myapp-0zwhmjVxrwR80UNeACugQg==/lib/x86
     result: 0
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:896)
        at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:725)
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:649)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:629)
        at com.facebook.soloader.NativeLoaderToSoLoaderDelegate.loadLibrary(NativeLoaderToSoLoaderDelegate.java:29)
        at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:51)
        at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:30)
        at com.facebook.jni.HybridData.<clinit>(HybridData.java:34)
        at com.facebook.flipper.android.FlipperThread.run(FlipperThread.java:25)

from react-native-admob-native-ads.

ammarahm-ed avatar ammarahm-ed commented on June 1, 2024

The log you have sent does not say anything about this library. Run yarn, clean build folders etc and check your project. Seems above that flipper is causing the crash.

from react-native-admob-native-ads.

dan-lee avatar dan-lee commented on June 1, 2024

Yeah I also noticed that, but that's the only thing that changes when I install this library. Just wanted to add this information

from react-native-admob-native-ads.

ammarahm-ed avatar ammarahm-ed commented on June 1, 2024

@dan-lee share details about your React Native version / react version & if you are using hermes or JSC. You can also check the example app to see what you might be missing.

from react-native-admob-native-ads.

ammarahm-ed avatar ammarahm-ed commented on June 1, 2024

closing due to inactivity

from react-native-admob-native-ads.

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.