Search Unity

Admob Not Working( Log Included ) "NullReferenceException"

Discussion in 'Scripting' started by PayandaOnline, May 26, 2019.

  1. PayandaOnline

    PayandaOnline

    Joined:
    May 5, 2018
    Posts:
    13
    Admob and Unity Ads Not Working on Builded Android. Editor is Working Fine but Not Working After Build.




    Code (CSharp):
    1. --------- beginning of main
    2. 05-26 18:36:44.569  2831  2831 I Unity   : onResume
    3. 05-26 18:36:44.659  2831  2855 D Unity   : SetWindow 0 0x9c90d008
    4. 05-26 18:36:44.659  2831  2855 D Unity   : SetWindow 0 0x9c90d008
    5. 05-26 18:36:44.689  2831  2831 I Unity   : windowFocusChanged: true
    6. 05-26 18:36:44.714  2831  2855 D Unity   : [VFS] Mount /data/app/com.myproject.admobtest-1/base.apk
    7. 05-26 18:36:44.729  2831  2855 I Unity   : SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 8, Memory = 2827mb
    8. 05-26 18:36:44.729  2831  2855 I Unity   : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
    9. 05-26 18:36:44.734  2831  2855 I Unity   : ApplicationInfo com.myproject.admobtest version 1.0.5 build 13eebe62-6969-432d-b75a-f7765668df5a
    10. 05-26 18:36:44.734  2831  2855 I Unity   : Built from '2018.4/staging' branch, Version '2018.4.0f1 (b6ffa8986c8d)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    11. 05-26 18:36:44.734  2831  2855 D Unity   : [EGL] Attaching window :0x9c90d008
    12. 05-26 18:36:44.739  2831  2855 D Unity   : Mono path[0] = '/data/app/com.myproject.admobtest-1/base.apk/assets/bin/Data/Managed'
    13. 05-26 18:36:44.739  2831  2855 D Unity   : Mono config path = 'assets/bin/Data/Managed/etc'
    14. 05-26 18:36:44.739  2831  2855 D Unity   : PlayerConnection initialized from /data/app/com.myproject.admobtest-1/base.apk/assets/bin/Data (debug = 0)
    15. 05-26 18:36:44.739  2831  2855 D Unity   : PlayerConnection initialized network socket : 0.0.0.0 55175
    16. 05-26 18:36:44.739  2831  2855 D Unity   : PlayerConnection initialized unix socket : Unity-com.myproject.admobtest05-26 18:36:44.744  2831  2855 D Unity   : Multi-casting "[IP] 192.168.1.105 [Port] 55175 [Flags] 3 [Guid] 1641182715 [EditorId] 765921864 [Version] 1048832 [Id] AndroidPlayer(samsung_SM-N910C@192.168.1.105) [Debug] 1 [PackageName] AndroidPlayer"##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1558885343793,"processId":2831,"allocatedMemory":22950,"memoryLabels":[{"Default":56},{"NewDelete":15116},{"Thread":8},{"Manager":192},{"GfxDevice":4352},{"Physics":24},{"Serialization":24},{"File":56},{"Terrain":60},{"String":1986},{"DynamicArray":260},{"Utility":360},{"PoolAlloc":4294967236},{"Sprites":32},{"VR":268},{"SceneManager":432},{"SceneLoad":4294967080}]}
    17. 05-26 18:42:23.899  2831  2831 I Unity   : onDestroy
    18. 05-26 18:42:49.039  2831  2831 I Unity   : onResume
    19. 05-26 18:42:49.079  2831  3501 D Unity   : SetWindow 0 0x957e2008
    20. 05-26 18:42:49.079  2831  3501 D Unity   : SetWindow 0 0x957e2008
    21. 05-26 18:42:49.094  2831  2831 I Unity   : windowFocusChanged: true
    22. 05-26 18:42:49.119  2831  3501 D Unity   : [VFS] Mount /data/app/com.myproject.admobtest-1/base.apk
    23. 05-26 18:42:49.129  2831  3501 I Unity   : SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 8, Memory = 2827mb
    24. 05-26 18:42:49.129  2831  3501 I Unity   : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
    25. 05-26 18:42:49.129  2831  3501 I Unity   : ApplicationInfo com.myproject.admobtest version 1.0.5 build 13eebe62-6969-432d-b75a-f7765668df5a
    26. 05-26 18:42:49.129  2831  3501 I Unity   : Built from '2018.4/staging' branch, Version '2018.4.0f1 (b6ffa8986c8d)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
    27. 05-26 18:42:49.129  2831  3501 D Unity   : [EGL] Attaching window :0x957e2008
    28. 05-26 18:42:49.134  2831  3501 D Unity   : Mono path[0] = '/data/app/com.myproject.admobtest-1/base.apk/assets/bin/Data/Managed'
    29. 05-26 18:42:49.134  2831  3501 D Unity   : Mono config path = 'assets/bin/Data/Managed/etc'
    30. 05-26 18:42:49.134  2831  3501 D Unity   : PlayerConnection initialized from /data/app/com.myproject.admobtest-1/base.apk/assets/bin/Data (debug = 0)
    31. 05-26 18:42:49.139  2831  3501 D Unity   : PlayerConnection initialized network socket : 0.0.0.0 55127
    32. 05-26 18:42:49.139  2831  3501 D Unity   : PlayerConnection initialized unix socket : Unity-com.myproject.admobtest05-26 18:42:49.139  2831  3501 D Unity   : Multi-casting "[IP] 192.168.1.105 [Port] 55127 [Flags] 3 [Guid] 919964927 [EditorId] 765921864 [Version] 1048832 [Id] AndroidPlayer(samsung_SM-N910C@192.168.1.105) [Debug] 1 [PackageName] AndroidPlayer"