Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to parse XML resource file #46

Open
flashmandv opened this issue Oct 5, 2022 · 0 comments
Open

Failed to parse XML resource file #46

flashmandv opened this issue Oct 5, 2022 · 0 comments

Comments

@flashmandv
Copy link

flashmandv commented Oct 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant