Problem using admob extension

i was trying out admob extension on my game but i keep getting this error: attempt to index global ‘admob’ (a nil value)
i followed the instructions on the readme as well. i included the zip file’s url as a dependency and fetched it. i got an admob folder in my project. i also set the manifest and other game settings. thanks

1 Like

Could you test and compare to the included example? Does that project work for you?

What editor are you using, and what platform are you on?

thanks @Pkeod, yup, i got the same error along with a series of gui related errors.

i’m using version 2, I haven’t tried on defold 1 yet, (my net’s busted right now, current alternative is too slow).
and i’m on linux btw. thanks @Mathias_Westerdahl

@Pkeod just tried the example project. on mac this time. i got the same error :
“The file ‘/dirtylarry/button.gui’ could not be found.”

thanks

Ok, perhaps the dirtylarry-lib has changed and the example project needs fixing.
But that shouldn’t break your first case of just building with the extension.

What platform are you building for?
In your first test, did you get a build error?
Linux isn’t supported yet I’m afraid, I’m working on that though (eta 1-4 weeks)

Just an idea I am throwing out there, but are there any files you need to include under custom_resources? I was trying to get an extension working last week in which this was the problem (with a similar error message).

sorry i forgot to mention im building for android. and hopefully ios as well. my dev machine is running linux. and mac.

Are you trying to package, or trying to run directly from dmengine as your target to an android device?

yes. i have a res folder that holds my image that i load at runtime. i set it as a custom resources/asset. is that what you’re referring to? thanks

yes. I’m building it to an Android device running dmengine.

If you are using the default dmengine, it won’t allow you to run it with native extensions. What you will need to do is build the package for android in debug mode. Move that apk to the device and install it. Once you do that, open the app, and let it run like you would normally with dmengine. Once you do this, the device should appear in the target’s list still. Build it to that target and it should run.

EDIT: to clarify, you are building your own android project as a package, deploying that to your device. Run your app, and leave it running, which will allow you to do remote debugging and everything else that the normal dmengine apk would let you do.

2 Likes

cool will try that @mudcat thanks will post an update asap

hey @mudcat thanks for the previous response.
I created a package and installed the apk o my phone. its crashing on startup. i hooked up to android studio to get the error log.

10-06 18:02:05.507 26649-26649/? E/Zygote: v2
10-06 18:02:05.508 26649-26649/? E/Zygote: accessInfo : 0
10-06 18:02:05.517 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:05.576 26665-26665/? E/Zygote: v2
10-06 18:02:05.577 26665-26665/? E/Zygote: accessInfo : 0
10-06 18:02:05.657 26665-26665/? E/GameTools: GameToolsApplication onCreate
10-06 18:02:05.668 26665-26665/? E/GameTools: SettingData.getAutoBPS : 6451200
10-06 18:02:05.668 26665-26665/? E/GameTools: SettingData.getAutoBPS : 6451200
10-06 18:02:05.695 26665-26691/? E/GameTools: TNC curVersion : 0
10-06 18:02:05.695 26665-26691/? E/GameTools: TNC newVersion : 4
10-06 18:02:05.750 26665-26665/? E/GameTools: com.samsung.android.game.gamehomeis disabled
10-06 18:02:05.750 26665-26665/? E/GameTools: isGameHomeEnableSync() false false
10-06 18:02:06.000 3820-8302/? E/SensorService: getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:02:06.001 3820-8302/? E/SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:02:06.057 26649-26683/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x70 in tid 26683 (Thread-15)

                                     [ 10-06 18:02:06.058  3098: 3098 W/         ]
                                     debuggerd: handling request: pid=26649 uid=10424 gid=10424 tid=26683

10-06 18:02:06.071 3246-3246/? E/audit: type=1400 audit(1507284126.067:11641): avc: denied { search } for pid=26722 comm=“debuggerd” name=“com.palawenos.whatintagalog” dev=“dm-1” ino=425988 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0006
10-06 18:02:06.071 3246-3246/? E/audit: type=1300 audit(1507284126.067:11641): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=ef173460 a2=20000 a3=0 items=0 ppid=3098 pid=26722 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“debuggerd” exe="/system/bin/debuggerd" subj=u:r:debuggerd:s0 key=(null)
10-06 18:02:06.071 3246-3246/? E/audit: type=1327 audit(1507284126.067:11641): proctitle="/system/bin/debuggerd"
10-06 18:02:06.071 3246-3246/? E/audit: type=1320 audit(1507284126.067:11641):
10-06 18:02:06.076 3246-3246/? E/audit: type=1400 audit(1507284126.067:11642): avc: denied { search } for pid=26722 comm=“debuggerd” name=“com.palawenos.whatintagalog” dev=“dm-1” ino=425988 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0006
10-06 18:02:06.076 3246-3246/? E/audit: type=1300 audit(1507284126.067:11642): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=ef175940 a2=20000 a3=0 items=0 ppid=3098 pid=26722 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“debuggerd” exe="/system/bin/debuggerd" subj=u:r:debuggerd:s0 key=(null)
10-06 18:02:06.076 3246-3246/? E/audit: type=1327 audit(1507284126.067:11642): proctitle="/system/bin/debuggerd"
10-06 18:02:06.076 3246-3246/? E/audit: type=1320 audit(1507284126.067:11642):
10-06 18:02:06.083 3246-3246/? E/audit: type=1320 audit(1507284126.077:11643):
10-06 18:02:06.092 3246-3246/? E/audit: type=1320 audit(1507284126.087:11644):
10-06 18:02:06.100 3246-3246/? E/audit: type=1320 audit(1507284126.097:11645):
10-06 18:02:06.109 3246-3246/? E/audit: type=1320 audit(1507284126.107:11646):
10-06 18:02:06.158 26722-26722/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-06 18:02:06.158 26722-26722/? A/DEBUG: Build fingerprint: 'samsung/hero2ltexx/hero2lte:7.0/NRD90M/G935FXXS1DQHV:user/release-keys’
10-06 18:02:06.158 26722-26722/? A/DEBUG: Revision: '9’
10-06 18:02:06.158 26722-26722/? A/DEBUG: ABI: 'arm’
10-06 18:02:06.159 26722-26722/? A/DEBUG: pid: 26649, tid: 26683, name: Thread-15 >>> com.palawenos.whatintagalog <<<
10-06 18:02:06.159 26722-26722/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x70
10-06 18:02:06.159 26722-26722/? A/DEBUG: r0 00000068 r1 eb6fdb5c r2 ef26d2f4 r3 00000070
10-06 18:02:06.160 26722-26722/? A/DEBUG: r4 e0e608c4 r5 e0e60440 r6 e0e608a0 r7 eb6fdbac
10-06 18:02:06.160 26722-26722/? A/DEBUG: r8 00000000 r9 00000001 sl 00000001 fp e0e608b4
10-06 18:02:06.160 26722-26722/? A/DEBUG: ip ef263948 sp eb6fdb54 lr ccae676c pc cc8f4538 cpsr 000f0010
10-06 18:02:06.183 26722-26722/? A/DEBUG: backtrace:
10-06 18:02:06.184 26722-26722/? A/DEBUG: #00 pc 000ad538 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZNSs4_Rep10_M_disposeERKSaIcE.part.11+12)
10-06 18:02:06.184 26722-26722/? A/DEBUG: #01 pc 0029f768 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZNSsD2Ev+52)
10-06 18:02:06.184 26722-26722/? A/DEBUG: #02 pc 000b1a1c /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZN8firebase10AppOptionsD2Ev+40)
10-06 18:02:06.184 26722-26722/? A/DEBUG: #03 pc 000b68e1 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZN8firebase3AppD1Ev+48)
10-06 18:02:06.184 26722-26722/? A/DEBUG: #04 pc 000b6dd7 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZN8firebase3App6CreateERKNS_10AppOptionsEPKcP7_JNIEnvP8_jobject+390)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #05 pc 000b4fe0 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZL22AppInitializeExtensionPN11dmExtension9AppParamsE+204)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #06 pc 001dd144 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZN11dmExtension13AppInitializeEPNS_9AppParamsE+40)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #07 pc 000c3ab8 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_ZN8dmEngine4InitEPNS_6EngineEiPPc+880)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #08 pc 000c5370 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (ZN8dmEngineL7InitRunEPN15dmEngineService13EngineServiceEiPPcPFvPNS_6EngineEPvES9_S7+104)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #09 pc 000c5450 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (ZN8dmEngine6LaunchEiPPcPFvPNS_6EngineEPvES6_S4+72)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #10 pc 000c1820 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_Z11engine_mainiPPc+112)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #11 pc 000b1758 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (main+24)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #12 pc 00265b34 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (_glfwPreMain+236)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #13 pc 000b1780 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (android_main+20)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #14 pc 00266354 /data/app/com.palawenos.whatintagalog-1/lib/arm/libWhat_In_Tagalog.so (android_app_entry+176)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #15 pc 00047423 /system/lib/libc.so (_ZL15__pthread_startPv+22)
10-06 18:02:06.185 26722-26722/? A/DEBUG: #16 pc 00019efd /system/lib/libc.so (__start_thread+6)
10-06 18:02:07.366 5317-5376/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 2ms lastUpdatedAfter : 60084 ms mFlush_time_threasold : 2000 mCurrentSize : 539
10-06 18:02:07.524 3246-3246/? E/audit: type=1701 audit(1507284127.517:11647): auid=4294967295 uid=10424 gid=10424 ses=4294967295 subj=u:r:untrusted_app:s0:c512,c768 pid=26683 comm=“Thread-15” exe="/system/bin/app_process32" sig=11
10-06 18:02:07.536 3113-3113/? E/lowmemorykiller: Error writing /proc/26649/oom_score_adj; errno=22
10-06 18:02:07.548 26665-26731/? E/NoAlertsUtil: enableNotifications
10-06 18:02:07.586 26665-26665/? E/NoAlertsUtil: enableNotifications
10-06 18:02:07.611 3820-3966/? E/InputDispatcher: channel ~ Channel is unrecoverably broken and will be disposed!
10-06 18:02:07.690 3246-3246/? E/audit: type=1320 audit(1507284127.687:11648):
10-06 18:02:07.701 3246-3246/? E/audit: type=1320 audit(1507284127.697:11649):
10-06 18:02:07.714 3246-3246/? E/audit: type=1320 audit(1507284127.707:11650):
10-06 18:02:07.726 3246-3246/? E/audit: type=1320 audit(1507284127.717:11651):
10-06 18:02:08.541 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:11.223 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:12.740 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:02:12.740 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:02:12.852 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:12.873 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:12.956 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:12.965 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:12.972 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:02:12.972 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:02:12.975 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:12.982 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.019 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.024 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.041 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.055 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.103 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.116 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.125 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:13.125 4115-4115/? E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
10-06 18:02:13.161 5317-5376/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 5ms lastUpdatedAfter : 5795 ms mFlush_time_threasold : 2000 mCurrentSize : 184
10-06 18:02:13.266 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:13.293 4115-4115/? E/PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
10-06 18:02:13.384 4447-4554/? E/TelephonyManagerWrapper: use backup gid : null
10-06 18:02:15.289 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:17.182 5317-5376/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 3Kb duration : 6ms lastUpdatedAfter : 4020 ms mFlush_time_threasold : 2000 mCurrentSize : 2013
10-06 18:02:18.228 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:20.704 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:22.984 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:25.391 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:25.861 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:02:26.888 24888-24888/? E/MTPJNIInterface: In MTPJNIINterface onReceive:com.android.MTP.OBJECT_ADDED
10-06 18:02:26.888 24888-24888/? E/MTPJNIInterface: ***** file path of sendObjectAdded
10-06 18:02:32.123 3820-4659/? E/Watchdog: !@Sync 680 [06_Oct_18_02_32.122]
10-06 18:03:01.089 26810-26810/? E/Zygote: v2
10-06 18:03:01.090 26810-26810/? E/Zygote: accessInfo : 0
10-06 18:03:02.124 3820-4659/? E/Watchdog: !@Sync 681 [06_Oct_18_03_02.124]
10-06 18:03:05.636 5252-5252/? E/CatchNotificationsService: Invalid notification data
10-06 18:03:07.490 5317-5376/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 5ms lastUpdatedAfter : 50308 ms mFlush_time_threasold : 2000 mCurrentSize : 540
10-06 18:03:07.585 5280-5581/? E/ApplicationPackageManager: checkSettingsForIconTray value : 0
10-06 18:03:07.600 26665-26665/? E/GameTools: IdleSuicideReceiver : Stop Game Tools Service
10-06 18:03:07.603 26665-26665/? E/NoAlertsUtil: enableNotifications
10-06 18:03:13.813 24888-24888/? E/MTPJNIInterface: In MTPJNIINterface onReceive:com.android.MTP.OBJECT_REMOVED
10-06 18:03:13.814 24888-24888/? E/MTPJNIInterface: ***** file path of sendObjectRemoved
10-06 18:03:13.911 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:03:13.911 29644-29644/? E/SignalClusterView: setSlotFocusVisible : subId 1
10-06 18:03:23.865 26855-26855/? E/Zygote: v2
10-06 18:03:23.867 26855-26855/? E/Zygote: accessInfo : 0
10-06 18:03:23.891 3246-3246/? E/audit: type=1320 audit(1507284203.887:11652):
10-06 18:03:23.906 3246-3246/? E/audit: type=1320 audit(1507284203.897:11653):
10-06 18:03:23.925 3246-3246/? E/audit: type=1320 audit(1507284203.917:11654):
10-06 18:03:23.943 3246-3246/? E/audit: type=1320 audit(1507284203.937:11655):
10-06 18:03:23.962 3246-3246/? E/audit: type=1320 audit(1507284203.957:11656):
10-06 18:03:23.976 3246-3246/? E/audit: type=1320 audit(1507284203.967:11657):
10-06 18:03:23.992 3246-3246/? E/audit: type=1320 audit(1507284203.987:11658):
10-06 18:03:24.007 3246-3246/? E/audit: type=1320 audit(1507284203.997:11659):
10-06 18:03:24.588 3820-4089/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=135229 target=com.android.internal.util.StateMachine$SmHandler } in state ValidNonSwitchableState
10-06 18:03:24.654 3820-4734/? E/SensorService: getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:24.654 3820-4734/? E/SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:03:24.654 3820-4734/? E/SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:24.655 3820-4734/? E/SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:24.655 3820-4734/? E/SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:03:24.655 3820-4734/? E/SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:24.655 3820-4734/? E/SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:24.655 3820-4734/? E/SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:24.859 26855-26938/? E/SQLiteLog: (21) misuse at line 136010 of [fc49f556e4]
10-06 18:03:24.859 26855-26938/? E/SQLiteLog: (21) misuse at line 136010 of [fc49f556e4]
10-06 18:03:24.859 26855-26938/? E/SQLiteLog: (21) misuse at line 136010 of [fc49f556e4]
10-06 18:03:24.872 26855-26938/? E/SQLiteLog: (283) recovered 6 frames from WAL file /data/user/0/com.plexapp.android/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
10-06 18:03:25.229 3820-3865/? E/ViewRootImpl@e7eccaa[whatintagalog]: mStopped=false mHasWindowFocus=true mPausedForTransition=false
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.229 3820-4110/? E/OpenGLRenderer: Error:glDeleteShader:: is not a value generated by OpenGL
10-06 18:03:25.230 3820-3865/? E/ViewRootImpl: sendUserActionEvent() mView == null
10-06 18:03:25.255 16146-16146/? E/PBSessionCacheImpl: sessionId[71012366251459735] not persisted.
10-06 18:03:25.956 3820-3908/? E/AASAASKS: mASKSfirstBooting : false
10-06 18:03:26.275 3254-3254/? E/SEC_DRM_PLUGIN_Omafl: OmaPlugin::onOpenDecryptSession(fd)::Drm2IsDrmFileByExtFd::file is NOT DRM by extension
10-06 18:03:26.496 26968-26968/? E/Zygote: v2
10-06 18:03:26.496 26968-26968/? E/Zygote: accessInfo : 0
10-06 18:03:29.588 3820-4089/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=135238 target=com.android.internal.util.StateMachine$SmHandler } in state ValidNonSwitchableState
10-06 18:03:30.502 16146-16146/? E/PBSessionCacheImpl: sessionId[71012366251459735] not persisted.
10-06 18:03:32.125 3820-4659/? E/Watchdog: !@Sync 682 [06_Oct_18_03_32.125]
10-06 18:03:32.696 27000-27000/? E/Zygote: v2
10-06 18:03:32.697 27000-27000/? E/Zygote: accessInfo : 0
10-06 18:03:32.712 3246-3246/? E/audit: type=1320 audit(1507284212.707:11660):
10-06 18:03:32.731 3246-3246/? E/audit: type=1320 audit(1507284212.727:11661):
10-06 18:03:32.754 3246-3246/? E/audit: type=1320 audit(1507284212.747:11662):
10-06 18:03:32.770 3246-3246/? E/audit: type=1320 audit(1507284212.767:11663):
10-06 18:03:32.781 29644-29644/? E/ApplicationPackageManager: checkSettingsForIconTray value : 0
10-06 18:03:32.781 29644-29644/? E/ApplicationPackageManager: checkSettingsForIconTray value : 0
10-06 18:03:32.784 29644-29644/? E/ApplicationPackageManager: checkSettingsForIconTray value : 0
10-06 18:03:32.808 27000-27000/? E/GameTools: GameToolsApplication onCreate
10-06 18:03:32.819 27000-27000/? E/GameTools: SettingData.getAutoBPS : 6451200
10-06 18:03:32.819 27000-27000/? E/GameTools: SettingData.getAutoBPS : 6451200
10-06 18:03:32.845 27000-27024/? E/GameTools: TNC curVersion : 0
10-06 18:03:32.845 27000-27024/? E/GameTools: TNC newVersion : 4
10-06 18:03:33.063 3820-5214/? E/SensorService: getSensorList a sensor (MAX86902) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:33.064 3820-5214/? E/SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:03:33.064 3820-5214/? E/SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:33.064 3820-5214/? E/SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:33.064 3820-5214/? E/SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
10-06 18:03:33.065 3820-5214/? E/SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:33.065 3820-5214/? E/SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
10-06 18:03:33.066 3820-5214/? E/SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
10-06 18:03:33.162 27049-27049/? E/Zygote: v2
10-06 18:03:33.164 27049-27049/? E/Zygote: accessInfo : 0
10-06 18:03:33.609 25327-25327/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘3’ on query 'MyStoryTrayQuery’
10-06 18:03:33.609 25327-25327/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘6’ on query 'MyStoryTrayQuery’
10-06 18:03:33.611 25327-25327/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘0’ on query 'FetchRankedAudienceQuery’
10-06 18:03:33.612 25327-25327/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘1’ on query 'FetchRankedAudienceQuery’
10-06 18:03:33.612 25327-25327/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘2’ on query 'FetchRankedAudienceQuery’
10-06 18:03:33.617 25327-27078/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘2’ on query 'FriendStoriesTrayQuery’
10-06 18:03:33.618 25327-27078/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘3’ on query 'FriendStoriesTrayQuery’
10-06 18:03:33.625 25327-27078/? E/fb4a.GRAPHQL_QUERY_STRING: Trying to set unknown parameter ‘inspiration_capabilities’ on query 'FriendStoriesTrayQuery’
10-06 18:03:34.977 3246-3246/? E/audit: type=1400 audit(1507284214.967:11664): avc: denied { read } for pid=25377 comm=“BackgroundBroad” name=“25327-0” dev=“debugfs” ino=696019 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sec_debugfs:s0 tclass=file permissive=0 SEPF_SECMOBILE_7.0_0006
10-06 18:03:34.977 3246-3246/? E/audit: type=1300 audit(1507284214.967:11664): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=c82dfaf8 a2=20000 a3=0 items=0 ppid=3273 pid=25377 auid=4294967295 uid=10105 gid=10105 euid=10105 suid=10105 fsuid=10105 egid=10105 sgid=10105 fsgid=10105 tty=(none) ses=4294967295 comm=“BackgroundBroad” exe="/system/bin/app_process32" subj=u:r:untrusted_app:s0:c512,c768 key=(null)
10-06 18:03:34.977 3246-3246/? E/audit: type=1327 audit(1507284214.967:11664): proctitle="com.facebook.katana"
10-06 18:03:34.977 3246-3246/? E/audit: type=1320 audit(1507284214.967:11664):
10-06 18:03:35.848 5252-5252/? E/CatchNotificationsService: Invalid notification data
01-01 00:00:00.000 0-0/? E/Internal: device ‘ad09160358f4710c04’ not found

sorry its a bit long.
btw, what I did was copy the admob folder and paste it to my project. then update the game.project, androidmanifest.xml, game.appmanifest as described on the github page.

i’m currently trying to follow the instruction completely. i copied the https://github.com/defold/extension-admob/archive/v1.0.zip to the my dependencies. and fetch libaries.
its still not done. I’ll post my results afterwards. thanks again.

I can’t tell much from the log you posted since there is a lot of noise with other tasks and programs interfering. The easiest way I have foudn for getting Defold-specific logs while debugging on an Android device is by using the adb command:

adb logcat -s “defold”

This is suggested on the Android development for Defold page here: https://www.defold.com/manuals/android/

This will filter Defold specific messages.

1 Like

yeah i thought so.
thanks, I did try using adb logcat before but it didn’t work, i tried it again this time it worked.
here’s an interesting error i got: WARNING:CRASH: Number of modules exceeds capacity

i’m trying to find out what’s causing that right now.
what do you think? thanks

still stuck. i can’t create a bundle it just hangs. same thing happens when i try to create a bundle for the example project. (i’m on linux). does that matter? i’ll try on another os.

i tried building the sample project for android. i’m using a mac.
got this build error : java.net.UnknownHostException: codeload.github.com

This is related to the crash handler not being able to store all of the crash data. It’s not the cause of your problem.

Please report this from within the editor Help->Report Issue

What’s codeload? Is that your username on GitHub or something?

1 Like