Clickteam Fusion 2.5

Clickteam Fusion 2.5

yuyu 4 ABR 2019 a las 11:25
Admob crashes android build
This is my first time trying to use AdMob so i have nearly no idea on how to make it work.
Whenever i try to build the app, it just crashes leaving this ErrorLog:

> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript
> Task :app:checkDebugManifest
> Task :app:generateDebugBuildConfig
> Task :app:prepareLintJar
> Task :app:generateDebugSources
> Task :app:javaPreCompileDebug
> Task :app:mainApkListPersistenceDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:mergeDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:processDebugManifest
> Task :app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/3b2bbee48ba1d0a17e5473a5b826c3ae/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.

C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/3b2bbee48ba1d0a17e5473a5b826c3ae/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.

C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/3b2bbee48ba1d0a17e5473a5b826c3ae/res/values-v26/values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.

C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/constraint-layout-1.1.3.aar/84b1e6e86d23cdcdb917926826036bcf/res/values/values.xml:131:5-108: AAPT: error: resource android:attr/fontStyle not found.

C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/constraint-layout-1.1.3.aar/84b1e6e86d23cdcdb917926826036bcf/res/values/values.xml:131:5-108: AAPT: error: resource android:attr/font not found.

C:/Users/pcp/.gradle/caches/transforms-1/files-1.1/constraint-layout-1.1.3.aar/84b1e6e86d23cdcdb917926826036bcf/res/values/values.xml:131:5-108: AAPT: error: resource android:attr/fontWeight not found.

error: failed linking references.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
12 actionable tasks: 12 executed


Does anyone know what might be the problem?
Publicado originalmente por CT_Yves:
Developer says: please set Build API to 28 and retry.
< >
Mostrando 1-10 de 10 comentarios
CT_Yves  [desarrollador] 4 ABR 2019 a las 11:37 
Forwarded to developer.
El autor de este hilo ha indicado que este mensaje responde al tema original.
CT_Yves  [desarrollador] 4 ABR 2019 a las 11:38 
Developer says: please set Build API to 28 and retry.
yuyu 4 ABR 2019 a las 12:15 
Setting the Build API to 28 seems to work. but now i'm having an other issue, i can't seem to make the app to show any apps no matter what i do, i checked all the Campaign IDs and they're all like they are supposed to be, so i'm not sure whats wrong.
CT_Yves  [desarrollador] 4 ABR 2019 a las 12:27 
What version of the platform tools have you in the Android SDK Manager? if it's less than 28 update it and rebuild your app.
yuyu 4 ABR 2019 a las 12:35 
I have it on version 28.0.2 so its probably not the problem.
CT_Yves  [desarrollador] 4 ABR 2019 a las 12:56 
Fernando asks if you see test ads when you run this app: http://www.clickteam.com/webftp/files/mmf2/misc/Test%20AdMob%20Android.mfa

If so, then the object and libs are OK, and the problem comes from somewhere else (problem in admob account, country issue, etc not sure)
CT_Yves  [desarrollador] 4 ABR 2019 a las 12:57 
PS: in your MFA did you correctly setup the App IDs? (not the campaign IDs) - well probably, just checking...
yuyu 4 ABR 2019 a las 13:34 
I do see ads in the app you sent.
And i think i setup the App IDs correctly though i'm not sure,
i placed the ID AdMob's website gave me https://imgur.com/a/hxQM7Nw.
76561198167343041 25 OCT 2022 a las 11:32 
Hello any one can help ? i'm geting this message "admob now requires an application id to build correctly " From admob app i setup all perfect with ID
CT_Yves  [desarrollador] 26 OCT 2022 a las 13:50 
AFAIK this message is displayed if the "Android App. ID" property is empty, I guess you just have to copy/paste it from the admob dashboard?
< >
Mostrando 1-10 de 10 comentarios
Por página: 1530 50

Publicado el: 4 ABR 2019 a las 11:25
Mensajes: 10