• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android [SOLVED] YYC works without libpng error, but only with old Google extension

Pushloop

Member
Hi,

I've got everything updated with the fantastic "Playlight" set-up. Running 1760, windows 64, NDKr12b, jdk1.8.0_101, target24, min 9, compile24, build 24.0.2, support 24.2.1 and unchecked the lint box.
With this setup i'm able to create YYC apk's without libpng problems, but only if i use the old Google Mobile Ads and Analytics extensions.

It appears it's using version 5.1 Google play service Ads sdk, and that i should update. But if i replace the extensions with the current ones from the library, it shows errors like:

09-23 11:16:18.429 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-23 11:16:18.437 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-23 11:16:18.439 1199 1213 I yoyo : Exception thrown trying to call method GoogleAnalytics_Init on GoogleAnalyticsExt
09-23 11:16:18.441 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_AddBanner on GoogleMobileAdsExt
09-23 11:16:18.443 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetWidth on GoogleMobileAdsExt
09-23 11:16:18.445 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetHeight on GoogleMobileAdsExt
09-23 11:16:18.448 1199 1213 I yoyo : ShowMessage("
09-23 11:16:18.448 1199 1213 I yoyo : ___________________________________________
09-23 11:16:18.448 1199 1213 I yoyo : ############################################################################################
09-23 11:16:18.448 1199 1213 I yoyo : FATAL ERROR in
09-23 11:16:18.448 1199 1213 I yoyo : action number 1
09-23 11:16:18.448 1199 1213 I yoyo : of Create Event
09-23 11:16:18.448 1199 1213 I yoyo : for object resizeObj:
09-23 11:16:18.448 1199 1213 I yoyo :
09-23 11:16:18.448 1199 1213 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-23 11:16:18.448 1199 1213 I yoyo : ############################################################################################
09-23 11:16:18.448 1199 1213 I yoyo : --------------------------------------------------------------------------------------------
09-23 11:16:18.448 1199 1213 I yoyo : called from - gml_Object_resizeObj_Create_0 (line 5)
09-23 11:16:18.448 1199 1213 I yoyo : ")
09-23 11:16:18.671 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.757 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.758 1199 1199 I yoyo : onWindowFocusChanged(false|false)
09-23 11:16:18.758 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.758 1199 1199 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3657e7c
09-23 11:16:18.791 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:19.172 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:19.258 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:21.834 1199 1213 I yoyo : ERROR!!! :: ############################################################################################
09-23 11:16:21.834 1199 1213 I yoyo : FATAL ERROR in
09-23 11:16:21.834 1199 1213 I yoyo : action number 1
09-23 11:16:21.834 1199 1213 I yoyo : of Create Event
09-23 11:16:21.834 1199 1213 I yoyo : for object resizeObj:
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.834 1199 1213 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-23 11:16:21.834 1199 1213 I yoyo : ############################################################################################
09-23 11:16:21.834 1199 1213 I yoyo : --------------------------------------------------------------------------------------------
09-23 11:16:21.834 1199 1213 I yoyo : called from - gml_Object_resizeObj_Create_0 (line 5)
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.857 1199 1199 I yoyo : onWindowFocusChanged(true|false)
09-23 11:16:21.859 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:21.859 1199 1199 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3657e7c
09-23 11:16:21.980 295 295 E DEBUG : unexpected waitpid response: n=1199, status=00000100
09-23 11:16:21.980 295 295 E DEBUG : tid exited before attach completed: tid 1199

Anyone got an idea?
 
P

PlayLight

Guest
Hi,

I've got everything updated with the fantastic "Playlight" set-up. Running 1760, windows 64, NDKr12b, jdk1.8.0_101, target24, min 9, compile24, build 24.0.2, support 24.2.1 and unchecked the lint box.
With this setup i'm able to create YYC apk's without libpng problems, but only if i use the old Google Mobile Ads and Analytics extensions.

It appears it's using version 5.1 Google play service Ads sdk, and that i should update. But if i replace the extensions with the current ones from the library, it shows errors like:

09-23 11:16:18.429 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-23 11:16:18.437 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-23 11:16:18.439 1199 1213 I yoyo : Exception thrown trying to call method GoogleAnalytics_Init on GoogleAnalyticsExt
09-23 11:16:18.441 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_AddBanner on GoogleMobileAdsExt
09-23 11:16:18.443 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetWidth on GoogleMobileAdsExt
09-23 11:16:18.445 1199 1213 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetHeight on GoogleMobileAdsExt
09-23 11:16:18.448 1199 1213 I yoyo : ShowMessage("
09-23 11:16:18.448 1199 1213 I yoyo : ___________________________________________
09-23 11:16:18.448 1199 1213 I yoyo : ############################################################################################
09-23 11:16:18.448 1199 1213 I yoyo : FATAL ERROR in
09-23 11:16:18.448 1199 1213 I yoyo : action number 1
09-23 11:16:18.448 1199 1213 I yoyo : of Create Event
09-23 11:16:18.448 1199 1213 I yoyo : for object resizeObj:
09-23 11:16:18.448 1199 1213 I yoyo :
09-23 11:16:18.448 1199 1213 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-23 11:16:18.448 1199 1213 I yoyo : ############################################################################################
09-23 11:16:18.448 1199 1213 I yoyo : --------------------------------------------------------------------------------------------
09-23 11:16:18.448 1199 1213 I yoyo : called from - gml_Object_resizeObj_Create_0 (line 5)
09-23 11:16:18.448 1199 1213 I yoyo : ")
09-23 11:16:18.671 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.757 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.758 1199 1199 I yoyo : onWindowFocusChanged(false|false)
09-23 11:16:18.758 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:18.758 1199 1199 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3657e7c
09-23 11:16:18.791 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:19.172 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:19.258 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:21.834 1199 1213 I yoyo : ERROR!!! :: ############################################################################################
09-23 11:16:21.834 1199 1213 I yoyo : FATAL ERROR in
09-23 11:16:21.834 1199 1213 I yoyo : action number 1
09-23 11:16:21.834 1199 1213 I yoyo : of Create Event
09-23 11:16:21.834 1199 1213 I yoyo : for object resizeObj:
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.834 1199 1213 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-23 11:16:21.834 1199 1213 I yoyo : ############################################################################################
09-23 11:16:21.834 1199 1213 I yoyo : --------------------------------------------------------------------------------------------
09-23 11:16:21.834 1199 1213 I yoyo : called from - gml_Object_resizeObj_Create_0 (line 5)
09-23 11:16:21.834 1199 1213 I yoyo :
09-23 11:16:21.857 1199 1199 I yoyo : onWindowFocusChanged(true|false)
09-23 11:16:21.859 1199 1199 I yoyo : Setting vis flags to 5894
09-23 11:16:21.859 1199 1199 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3657e7c
09-23 11:16:21.980 295 295 E DEBUG : unexpected waitpid response: n=1199, status=00000100
09-23 11:16:21.980 295 295 E DEBUG : tid exited before attach completed: tid 1199

Anyone got an idea?
Hey Pushloop,

Not sure who told you to uncheck 'Run Lint Code Analysis', but personally i would recommend always keep this checked.
I haven't come across any issues which would require this unchecked (if you have though, please let me know).

Could you post your full log for me?
I do not use the Google Ads extension, but i'll see what i can do for you.
 

Pushloop

Member
Ah great for helping!
Here are some findings, from testing various settings:

- having lint checked fails all the compiles in all different set-ups (44 issues found), so i have to uncheck it, or else i dont have an apk at all. I found it here on the forums somewhere
- it doesnt matter if i use 32 bit setup: (NDK10e-jdk8101) or 64 bit setup: (NDK12b-jdk8_102) . Except that ndkr12b gives warnings about previous definitions, but compiles anyway
- the previous google ads work fine in both setups, but are outdated
- the error i get is located in this section :
GoogleMobileAds_AddBanner(global.bannerId, GoogleMobileAds_Banner);
//bw = GoogleMobileAds_BannerGetWidth();
//bh = GoogleMobileAds_BannerGetHeight();
//var px = (display_get_gui_width() / 2) - (bw / 2);
//var py = display_get_height() - bh;
//GoogleMobileAds_MoveBanner(px, py);

But by uncommenting this, like above, it doesnt show any banners or interstitals anymore, so i think the extension is buggy.

Here is the log from the command window, nkd12b, jdk8_102, 24.0.2, 24,2,1, 24,9,24 :
ation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_binning_control GL_QCOM_extended_get GL_QCOM_tiled_rendering
09-25 12:35:12.668 9467 9480 I yoyo : Device supports 32bit display formats
09-25 12:35:12.674 9467 9480 I yoyo : 16 bit colour depth forced
09-25 12:35:12.677 9467 9480 I yoyo : Trying EGL config : EGLConfig 3: rgba=5650 depth=24 stencil=8 EGL_ALPHA_MASK_SIZE=0 EGL_BUFFER_SIZE=16 EGL_COLOR_BUFFER_TYPE=12430 EGL_CONFIG_CAVEAT=0x3038 EGL_LEVEL=0 EGL_LUMINANCE_SIZE=0 EGL_MAX_PBUFFER_WIDTH=4096 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_MAX_PBUFFER_PIXELS=16777216 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_NATIVE_RENDERABLE=0 EGL_NATIVE_VISUAL_TYPE=0 EGL_RENDERABLE_TYPE=69 EGL_SAMPLE_BUFFERS=0 EGL_SAMPLES=0 EGL_SURFACE_TYPE=1445 EGL_TRANSPARENT_TYPE=12344 EGL_TRANSPARENT_RED_VALUE=-1 EGL_TRANSPARENT_GREEN_VALUE=-1 EGL_TRANSPARENT_BLUE_VALUE=-1
09-25 12:35:12.687 9467 9480 I yoyo : Selected EGL config working
09-25 12:35:12.724 9467 9480 I yoyo : Renderer instance is gl1.1, framebuffer object is: 0
09-25 12:35:12.726 9467 9480 I yoyo : APK File Path :: /data/app/com.PiggyFree.PiggySnake-1/base.apk
09-25 12:35:12.726 9467 9480 I yoyo : OpenGL ES-2.0 is supported: 196608
09-25 12:35:12.741 9467 9467 I yoyo : onWindowFocusChanged(true|false)
09-25 12:35:12.741 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:12.751 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:12.775 9467 9480 I yoyo : onSurfaceChanged :: width=540 height=960
09-25 12:35:12.777 9467 9480 I yoyo : State->Splash
09-25 12:35:12.780 9467 9480 I yoyo : State->Splash time: 1474799712780
09-25 12:35:12.780 9467 9480 I yoyo : State->Splash endTime: 1474799712780
09-25 12:35:12.780 9467 9480 I yoyo : State->InitRunner
09-25 12:35:12.796 9467 9467 D yoyo : doSetup called - /data/app/com.PiggyFree.PiggySnake-1/base.apk
09-25 12:35:12.796 9467 9467 I yoyo : checking 3 extensions for ad interface
09-25 12:35:12.796 9467 9467 I yoyo : BILLING: setupInAppBilling
09-25 12:35:12.799 9467 9467 I yoyo : Exception thrown trying to call method InitRunnerBilling on GooglePlayServicesExtension
09-25 12:35:12.802 9467 9467 I yoyo : BILLING: Google Play permissions not available, selecting NULL billing solution
09-25 12:35:12.802 9467 9467 I yoyo : -----setup Push------
09-25 12:35:12.803 9467 9467 I yoyo : iCade Support in "Global Game Settings/Android" not selected
09-25 12:35:12.804 9467 9467 D yoyo : ****** Found API level 12 function! Joysticks supported
09-25 12:35:12.810 9467 9467 I yoyo : GAMEPAD: Enumeration complete
09-25 12:35:12.810 9467 9467 I yoyo : RestrictOrientation setting from YYPrefs
09-25 12:35:12.810 9467 9467 I yoyo : RestrictOrientation("false", "true"false"true")
09-25 12:35:12.871 9467 9480 W yoyo : AL lib: (EE) alc_opensl_init: Using OpenSLES
09-25 12:35:12.875 9467 9480 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_ENGINE :: a367de84
09-25 12:35:12.875 9467 9480 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_ANDROIDSIMPLEBUFFERQUEUE :: a367de54
09-25 12:35:12.875 9467 9480 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_BUFFERQUEUE :: a367de50
09-25 12:35:12.875 9467 9480 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_PLAY :: a367de30
09-25 12:35:12.875 9467 9480 W yoyo : AL lib: (EE) opensl_open_playback: engine->GetInterface 0 -- 0xb9f62334
09-25 12:35:12.876 9467 9480 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a367de7c
09-25 12:35:12.900 9467 9480 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-25 12:35:12.903 9467 9480 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-25 12:35:12.906 9467 9480 I yoyo : Exception thrown trying to call method GoogleAnalytics_Init on GoogleAnalyticsExt
09-25 12:35:12.908 9467 9480 I yoyo : Exception thrown trying to call method GoogleMobileAds_AddBanner on GoogleMobileAdsExt
09-25 12:35:12.910 9467 9480 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetWidth on GoogleMobileAdsExt
09-25 12:35:12.911 9467 9480 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetHeight on GoogleMobileAdsExt
09-25 12:35:12.914 9467 9480 I yoyo : ShowMessage("
09-25 12:35:12.914 9467 9480 I yoyo : ___________________________________________
09-25 12:35:12.914 9467 9480 I yoyo : ############################################################################################
09-25 12:35:12.914 9467 9480 I yoyo : FATAL ERROR in
09-25 12:35:12.914 9467 9480 I yoyo : action number 1
09-25 12:35:12.914 9467 9480 I yoyo : of Create Event
09-25 12:35:12.914 9467 9480 I yoyo : for object obj_start:
09-25 12:35:12.914 9467 9480 I yoyo :
09-25 12:35:12.914 9467 9480 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-25 12:35:12.914 9467 9480 I yoyo : ############################################################################################
09-25 12:35:12.914 9467 9480 I yoyo : --------------------------------------------------------------------------------------------
09-25 12:35:12.914 9467 9480 I yoyo : called from - gml_Object_obj_start_Create_0 (line 5)
09-25 12:35:12.914 9467 9480 I yoyo : ")
09-25 12:35:12.987 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.070 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.070 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.083 9467 9467 I yoyo : onWindowFocusChanged(false|false)
09-25 12:35:13.084 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.084 9467 9467 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a367de7c
09-25 12:35:13.242 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.259 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.488 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:13.585 9467 9467 I yoyo : Setting vis flags to 5894
09-25 12:35:24.117 9467 9480 I yoyo : ERROR!!! :: ############################################################################################
09-25 12:35:24.117 9467 9480 I yoyo : FATAL ERROR in
09-25 12:35:24.117 9467 9480 I yoyo : action number 1
09-25 12:35:24.117 9467 9480 I yoyo : of Create Event
09-25 12:35:24.117 9467 9480 I yoyo : for object obj_start:
09-25 12:35:24.117 9467 9480 I yoyo :
09-25 12:35:24.117 9467 9480 I yoyo :
09-25 12:35:24.117 9467 9480 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-25 12:35:24.117 9467 9480 I yoyo : ############################################################################################
09-25 12:35:24.117 9467 9480 I yoyo : --------------------------------------------------------------------------------------------
09-25 12:35:24.117 9467 9480 I yoyo : called from - gml_Object_obj_start_Create_0 (line 5)
09-25 12:35:24.117 9467 9480 I yoyo :
09-25 12:39:21.189 9652 9652 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
09-25 12:39:21.547 9652 9652 I AndroidRuntime: VM exiting with result code 0.
09-25 12:39:25.095 9798 9798 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
09-25 12:39:25.100 9798 9798 D AndroidRuntime: CheckJNI is OFF
09-25 12:39:25.235 9798 9798 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
09-25 12:39:31.730 9798 9798 I AndroidRuntime: VM exiting with result code 0.
09-25 12:39:32.865 9919 9919 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
09-25 12:39:32.870 9919 9919 D AndroidRuntime: CheckJNI is OFF
09-25 12:39:33.000 9919 9919 D AndroidRuntime: Calling main entry com.android.commands.am.Am
09-25 12:39:33.018 9919 9919 D AndroidRuntime: Shutting down VM
09-25 12:39:33.171 9981 9981 I yoyo : onCreate
09-25 12:39:33.172 9981 9981 I yoyo : #######!!!!!!! Checking for runner - found assets
09-25 12:39:33.180 9981 9981 I yoyo : ###@@@@!!!~~~~###### default orientation - 1
09-25 12:39:33.180 9981 9981 I yoyo : #####!!!! package name is com.PiggyFree.PiggySnake
09-25 12:39:33.181 9981 9981 I yoyo : Loading INI from manifest file
09-25 12:39:33.182 9981 9981 I yoyo : INI loaded from AndroidManifest.xml
09-25 12:39:33.182 9981 9981 I yoyo : Attempting to initialise extension class com.PiggyFree.PiggySnake.GoogleMobileAdsExt
09-25 12:39:33.183 9981 9981 I yoyo : Exception thrown attempting to create extension class com.PiggyFree.PiggySnake.GoogleMobileAdsExt
09-25 12:39:33.185 9981 9981 I yoyo : Attempting to initialise extension class com.PiggyFree.PiggySnake.GoogleAnalyticsExt
09-25 12:39:33.185 9981 9981 I yoyo : Exception thrown attempting to create extension class com.PiggyFree.PiggySnake.GoogleAnalyticsExt
09-25 12:39:33.187 9981 9981 I yoyo : @@@@@@@ Build.Display = MPI24.65-39 BRAND=motorola DEVICE=surnia_umts MANUFACTURER=motorola MODEL=MotoE2(4G-LTE) PRODUCT=surnia_reteu
09-25 12:39:33.187 9981 9981 I yoyo : @@@@@@@ XPeriaPlay=false manufacturer=false model=false
09-25 12:39:33.187 9981 9981 I yoyo : Exception thrown trying to call method checkLicensing on GooglePlayLicensingAsExt
09-25 12:39:33.189 9981 9981 I yoyo : !!!!!!! Checking if APK Expansion file required...
09-25 12:39:33.189 9981 9981 I yoyo : + + + + setupView + + + +
09-25 12:39:33.205 9981 9981 I yoyo : #####!!!! package name is com.PiggyFree.PiggySnake
09-25 12:39:33.205 9981 9981 I yoyo : Loading INI from manifest file
09-25 12:39:33.205 9981 9981 I yoyo : INI loaded from AndroidManifest.xml
09-25 12:39:33.205 9981 9981 I yoyo : RestrictOrientation setting from YYPrefs
09-25 12:39:33.206 9981 9981 I yoyo : RestrictOrientation("false", "true"false"true")
09-25 12:39:33.212 9981 9981 I yoyo : Reading GL config option...
09-25 12:39:33.213 9981 9981 I yoyo : Using OpenGL ES 1 renderer
09-25 12:39:33.214 9981 9981 I yoyo : DemoGLSurfaceView: CREATED
09-25 12:39:33.228 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.232 9981 9981 I yoyo : onStart
09-25 12:39:33.233 9981 9981 I yoyo : onResume
09-25 12:39:33.234 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.343 9981 9993 I yoyo : chooseConfig
09-25 12:39:33.358 9981 9993 I yoyo : OpenGL ES Extensions : GL_EXT_debug_marker GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_APPLE_texture_2D_limited_npot GL_ARB_vertex_buffer_object GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_mirrored_repeat GL_QCOM_binning_control GL_QCOM_extended_get GL_QCOM_tiled_rendering
09-25 12:39:33.359 9981 9993 I yoyo : Device supports 32bit display formats
09-25 12:39:33.365 9981 9993 I yoyo : 16 bit colour depth forced
09-25 12:39:33.367 9981 9993 I yoyo : Trying EGL config : EGLConfig 3: rgba=5650 depth=24 stencil=8 EGL_ALPHA_MASK_SIZE=0 EGL_BUFFER_SIZE=16 EGL_COLOR_BUFFER_TYPE=12430 EGL_CONFIG_CAVEAT=0x3038 EGL_LEVEL=0 EGL_LUMINANCE_SIZE=0 EGL_MAX_PBUFFER_WIDTH=4096 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_MAX_PBUFFER_PIXELS=16777216 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_MAX_PBUFFER_HEIGHT=4096 EGL_NATIVE_RENDERABLE=0 EGL_NATIVE_VISUAL_TYPE=0 EGL_RENDERABLE_TYPE=69 EGL_SAMPLE_BUFFERS=0 EGL_SAMPLES=0 EGL_SURFACE_TYPE=1445 EGL_TRANSPARENT_TYPE=12344 EGL_TRANSPARENT_RED_VALUE=-1 EGL_TRANSPARENT_GREEN_VALUE=-1 EGL_TRANSPARENT_BLUE_VALUE=-1
09-25 12:39:33.405 9981 9993 I yoyo : Selected EGL config working
09-25 12:39:33.420 9981 9981 I yoyo : onWindowFocusChanged(true|false)
09-25 12:39:33.420 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.422 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.435 9981 9993 I yoyo : Renderer instance is gl1.1, framebuffer object is: 0
09-25 12:39:33.436 9981 9993 I yoyo : APK File Path :: /data/app/com.PiggyFree.PiggySnake-1/base.apk
09-25 12:39:33.436 9981 9993 I yoyo : OpenGL ES-2.0 is supported: 196608
09-25 12:39:33.476 9981 9993 I yoyo : onSurfaceChanged :: width=540 height=960
09-25 12:39:33.477 9981 9993 I yoyo : State->Splash
09-25 12:39:33.479 9981 9993 I yoyo : State->Splash time: 1474799973479
09-25 12:39:33.480 9981 9993 I yoyo : State->Splash endTime: 1474799973479
09-25 12:39:33.480 9981 9993 I yoyo : State->InitRunner
09-25 12:39:33.496 9981 9981 D yoyo : doSetup called - /data/app/com.PiggyFree.PiggySnake-1/base.apk
09-25 12:39:33.496 9981 9981 I yoyo : checking 3 extensions for ad interface
09-25 12:39:33.496 9981 9981 I yoyo : BILLING: setupInAppBilling
09-25 12:39:33.498 9981 9981 I yoyo : Exception thrown trying to call method InitRunnerBilling on GooglePlayServicesExtension
09-25 12:39:33.501 9981 9981 I yoyo : BILLING: Google Play permissions not available, selecting NULL billing solution
09-25 12:39:33.502 9981 9981 I yoyo : -----setup Push------
09-25 12:39:33.503 9981 9981 I yoyo : iCade Support in "Global Game Settings/Android" not selected
09-25 12:39:33.504 9981 9981 D yoyo : ****** Found API level 12 function! Joysticks supported
09-25 12:39:33.511 9981 9981 I yoyo : GAMEPAD: Enumeration complete
09-25 12:39:33.511 9981 9981 I yoyo : RestrictOrientation setting from YYPrefs
09-25 12:39:33.511 9981 9981 I yoyo : RestrictOrientation("false", "true"false"true")
09-25 12:39:33.585 9981 9993 W yoyo : AL lib: (EE) alc_opensl_init: Using OpenSLES
09-25 12:39:33.588 9981 9993 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_ENGINE :: a3ab8e84
09-25 12:39:33.588 9981 9993 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_ANDROIDSIMPLEBUFFERQUEUE :: a3ab8e54
09-25 12:39:33.588 9981 9993 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_BUFFERQUEUE :: a3ab8e50
09-25 12:39:33.588 9981 9993 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_PLAY :: a3ab8e30
09-25 12:39:33.588 9981 9993 W yoyo : AL lib: (EE) opensl_open_playback: engine->GetInterface 0 -- 0xb9f33384
09-25 12:39:33.589 9981 9993 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3ab8e7c
09-25 12:39:33.611 9981 9993 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-25 12:39:33.614 9981 9993 I yoyo : Exception thrown trying to call method GoogleMobileAds_Init on GoogleMobileAdsExt
09-25 12:39:33.618 9981 9993 I yoyo : Exception thrown trying to call method GoogleAnalytics_Init on GoogleAnalyticsExt
09-25 12:39:33.619 9981 9993 I yoyo : Exception thrown trying to call method GoogleMobileAds_AddBanner on GoogleMobileAdsExt
09-25 12:39:33.621 9981 9993 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetWidth on GoogleMobileAdsExt
09-25 12:39:33.622 9981 9993 I yoyo : Exception thrown trying to call method GoogleMobileAds_BannerGetHeight on GoogleMobileAdsExt
09-25 12:39:33.625 9981 9993 I yoyo : ShowMessage("
09-25 12:39:33.625 9981 9993 I yoyo : ___________________________________________
09-25 12:39:33.625 9981 9993 I yoyo : ############################################################################################
09-25 12:39:33.625 9981 9993 I yoyo : FATAL ERROR in
09-25 12:39:33.625 9981 9993 I yoyo : action number 1
09-25 12:39:33.625 9981 9993 I yoyo : of Create Event
09-25 12:39:33.625 9981 9993 I yoyo : for object obj_start:
09-25 12:39:33.625 9981 9993 I yoyo :
09-25 12:39:33.625 9981 9993 I yoyo : invalid type for /= lhs=undefined (type=5), rhs=2 (type=0)
09-25 12:39:33.625 9981 9993 I yoyo : ############################################################################################
09-25 12:39:33.625 9981 9993 I yoyo : --------------------------------------------------------------------------------------------
09-25 12:39:33.625 9981 9993 I yoyo : called from - gml_Object_obj_start_Create_0 (line 5)
09-25 12:39:33.625 9981 9993 I yoyo : ")
09-25 12:39:33.703 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.787 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.788 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.788 9981 9981 I yoyo : onWindowFocusChanged(false|false)
09-25 12:39:33.788 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.788 9981 9981 W yoyo : AL lib: (EE) dlGetIID: dlsymIID :: SL_IID_VOLUME :: a3ab8e7c
09-25 12:39:33.921 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:33.925 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:34.203 9981 9981 I yoyo : Setting vis flags to 5894
09-25 12:39:34.289 9981 9981 I yoyo : Setting vis flags to 5894
 
P

PlayLight

Guest
If Lint is finding errors with your project, then it is very important to find out what they are and fix them.

It sounds like you have edited the extension so it would be best to refresh your google extensions before we go any further.
- Remove the google extensions from your project.
- Save your project.
- Check for any updates to the google extensions you are using, and download them if available.
- Re-apply the google extensions to your project.

Once you have done that we will get you compiling successfully.
Any Lint errors or build errors that come up we can attend to as we go and i'll also explain why these errors are appearing.
 

Pushloop

Member
Hi,
Yep i always do the steps above for updating the extensions. Even closed and opened GM. I didnt have to edit the extensions, the code you're seeing is part of displaying and moving the ad to the bottom of the screen. With the old extensions there were no problems.
For the lint issue, i took the liberty to email you some logs (to big for here it seems).
 
P

PlayLight

Guest
N
Hi,
Yep i always do the steps above for updating the extensions. Even closed and opened GM. I didnt have to edit the extensions, the code you're seeing is part of displaying and moving the ad to the bottom of the screen. With the old extensions there were no problems.
For the lint issue, i took the liberty to email you some logs (to big for here it seems).
no worries, got them.
Can you send me your Lint report?
location will be: C:\Cache\PiggySnake_102\Android_YYC\Default\com.PiggyFree.PiggySnake\build\outputs\lint-results.html

edit:
if you would prefer we can converse via email.
 
Last edited by a moderator:
P

PlayLight

Guest
N

no worries, got them.
Can you send me your Lint report?
location will be: C:\Cache\PiggySnake_102\Android_YYC\Default\com.PiggyFree.PiggySnake\build\outputs\lint-results.html

edit:
if you would prefer we can converse via email.
Email you back, all fixed.
Let me know if you do not receive it, it's 10MB+.
Details are on the email.
 

Pushloop

Member
Thanks to the fantastic help from Playlight !, the issues are fixed! Here are some highlights for people with the same problem:

- the google extensions had to be re-installed several times, the connection with the marketplace might be the problem
- delete extensions, clean the cache, save project, close GM, open project and import the extension again, helps a lot
- google mobile ads are now part of the GooglePlayServicesExtension, dont know if the stand-alone also works
- the gradle depencies for GooglepPlayserviceExtension looks something like this:
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'org.jbundle.util.osgi.wrapped:eek:rg.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
- make sure you have the same build version number(in this case 24.2.1) in the gradle, as in the global game setting / android

The lint code analysis has no fatal errors anymore and can be ticked to run, in the global game settings.
And the min SDK is now possible from 9, so i'm very happy!
 
P

PlayLight

Guest
Thanks to the fantastic help from Playlight !, the issues are fixed! Here are some highlights for people with the same problem:

- the google extensions had to be re-installed several times, the connection with the marketplace might be the problem
- delete extensions, clean the cache, save project, close GM, open project and import the extension again, helps a lot
- google mobile ads are now part of the GooglePlayServicesExtension, dont know if the stand-alone also works
- the gradle depencies for GooglepPlayserviceExtension looks something like this:
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'org.jbundle.util.osgi.wrapped:eek:rg.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
- make sure you have the same build version number(in this case 24.2.1) in the gradle, as in the global game setting / android

The lint code analysis has no fatal errors anymore and can be ticked to run, in the global game settings.
And the min SDK is now possible from 9, so i'm very happy!
Just a quick amendment to @Pushloop 's post.
Those Gradle dependencies are injected into the Google Play Licensing Extension, not the Google Play Services Extension :)
I also find no harm in using a dynamic version with this extension for convenience, if you would prefer:
Code:
compile 'com.android.support:appcompat-v7:+'
provided 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
ether way is ok.
 
Last edited by a moderator:

Pushloop

Member
I fine-tuned the process even more. Whenever you save the project with a new name the extensions don't work anymore. So what works for me:
- Delete the google play extensions from your project
- Save project under a new name. Close GM, start and open project again
- import GooglePlayServicesExtension (and GoogleAnaliticsExt )
- within GooglePlayServicesExtension : delete GooglePlayServicesExtension.ext and in the properties, delete the billing permissions

Dont have to worry about gradle dependencies in this case.
 
P

PlayLight

Guest
I fine-tuned the process even more. Whenever you save the project with a new name the extensions don't work anymore. So what works for me:
- Delete the google play extensions from your project
- Save project under a new name. Close GM, start and open project again
- import GooglePlayServicesExtension (and GoogleAnaliticsExt )
- within GooglePlayServicesExtension : delete GooglePlayServicesExtension.ext and in the properties, delete the billing permissions

Dont have to worry about gradle dependencies in this case.
That's a strange one, i haven't come across this at all.
Extensions seem fine for me when changing project names.
If you can put together an example project which can replicate this when changing the project name, it might be a good idea to submit it to YoYo.
 
Top