Skip to content

Failed to parse XML resource file #46

@flashmandv

Description

@flashmandv

Hello,

I'm trying your AdMob extension on a small AIR (Flex) project and the Android gradle compilation fails with the following error:

OTE: Multiple Android build-tools folders exist, choosing the latest version (31.0.0) for packaging unexpected failure: Unable to run java: com.adobe.air.ADTException: gradle tool failed: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':androidx.core.core:parseDebugLocalResources'. > A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable > Failed to parse XML resource file 'C:\Users\flashman\AppData\Local\Temp\2d784423-97a2-4888-aa8d-9e365dcd9c53\androidx.core.core\build\intermediates\packaged_res\debug\values\values.xml'

I'm using latest AIR SDK (33.1.1.929)
I've installed the build tools and the Android SDK 31 and 33 (already compiled other project with this AIR SDK).

What is strange is that I was using old myflashlab AdMob ANE plugin until today and it failed with same error when tried with this new AIR SDK.

As per your instructions I downloaded the libs using your air-tools
image

I'm attaching my air desciptor/manifest file
Game-app.txt

Here is the actual xml file that the gradle fails to parse (but is very much parsable):
values.xml.txt

Any help is welcome.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions