YoYoGames / GMEXT-AdMob

Repository for GameMaker's AdMob Extension
Other
7 stars 2 forks source link

This error happends when i put admob extension, since may 8th update #49

Open kerimyakamercan opened 4 weeks ago

kerimyakamercan commented 4 weeks ago

Execution failed for task ':release.cubic.planet:generateDebugBuildConfig'.

Error while evaluating property 'versionCode' of task ':release.cubic.planet:generateDebugBuildConfig' Failed to calculate the value of task ':release.cubic.planet:generateDebugBuildConfig' property 'versionCode'. org.xml.sax.SAXParseException; systemId: file:/C:/Users/mypc2/AppData/Roaming/GameMakerStudio2/Cache/GMS2CACHE/cubic_plan_5B457EBE_973B1148/android/Default/release.cubic.planet/src/main/AndroidManifest.xml; lineNumber: 17; columnNumber: 14; Element type "meta-data" must be followed by either attribute specifications, ">" or "/>".

DiasFranciscoA commented 4 weeks ago

What is the version of the IDE? Please go to Settings -> Runtime -> Master and make sure you are in the latest runner version 2024.4.1.202 (there were runner updates fixing this error)

kerimyakamercan commented 4 weeks ago

thank you

kerimyakamercan commented 4 weeks ago

Task :release.cubic.planet:processDebugMainManifest FAILED package="release.cubic.planet" found in source AndroidManifest.xml: C:\Users\mypc2\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\cubic_plan_5B457EBE_973B1148\android\Default\release.cubic.planet\src\main\AndroidManifest.xml. Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated. Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information. C:\Users\mypc2\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\cubic_plan_5B457EBE_973B1148\android\Default\release.cubic.planet\src\main\AndroidManifest.xml:15:1-75 Warning: Element uses-permission#android.permission.ACCESS_NETWORK_STATE at AndroidManifest.xml:15:1-75 duplicated with element declared at AndroidManifest.xml:9:1-75 C:\Users\mypc2\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\cubic_plan_5B457EBE_973B1148\android\Default\release.cubic.planet\src\main\AndroidManifest.xml:58:1-158 Error: Element meta-data#com.google.android.gms.ads.APPLICATION_ID at AndroidManifest.xml:58:1-158 duplicated with element declared at AndroidManifest.xml:49:4-139 C:\Users\mypc2\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\cubic_plan_5B457EBE_973B1148\android\Default\release.cubic.planet\src\main\AndroidManifest.xml Error: Validation failed, exiting

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

DiasFranciscoA commented 4 weeks ago

we will need a copy of the manifest file that has this problem,:

C:\Users\mypc2\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\cubic_plan_5B457EBE_973B1148\android\Default\release.cubic.planet\src\main\AndroidManifest.xml

Also are you able to run the AdMob extension demo project provided with the extension if you are able to run it then this is an integration problem and not a extension problem. Please also make sure you clean the build from the IDE before attempting a new build as some files can be kept in cache and create problems.

[!TIP] For a better support experience please file the bug from within the IDE. This will make sure a copy of the current project is inlcuded so we can test it locally.