YoYoGames / GMEXT-AdMob

Repository for GameMaker's AdMob Extension
Other
9 stars 3 forks source link

Error when running build in empty project #32

Closed samuelrl86 closed 7 months ago

samuelrl86 commented 10 months ago

I am trying to use the newest version of Google Admob and when I run directly after importing the AdMob extension I receive an error with build failure. I am using IDE v2023.4.0.84 Runtime v2023.4.0.113 . The error shows when I am running try to run the project from a new project file as well. Thank you, -Sam

build failure with AdMob extension

Task :com.company.game:compileDebugJavaWithJavac FAILED C:\Users\Sam\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Mobile_Gam_E5DBE4E6_DDFB8925\Android\Default\com.company.game\src\main\java\com\company\game\GoogleMobileAdsGM.java:1352: error: cannot find symbol builder.setRequestAgent("gmext-admob-" + RunnerJNILib.extGetVersion("AdMob")); ^ symbol: method extGetVersion(String) location: class RunnerJNILib Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

samuelrl86 commented 10 months ago

More Info about the issue, entire build output. build failure with AdMob extension.txt

DiasFranciscoA commented 10 months ago

Please check the release notes for compatible IDE and runtime versions.

https://github.com/YoYoGames/GMEXT-AdMob/releases

This extension requires 2023.11 or later.