Advertisingidclient Asking For Meta-data Although It Has Been Included
Solution 1:
Your metadata usage seems fine. The issue lies with the android build system not being able to resolve @integer/google_play_services_version
which comes from res/values/version.xml
.
This wouldn't have even been an issue on just another android project but since this is an ANE project, it is up to ADT to put the res
folder in the right place inside the final APK. That's what packagedResources are for.
NOTE: It is not necessary to have any packagedDependencies specified inside Platform.xml in order to use packagedResources. It is perfectly alright to have a Platform.xml that only has packagedResources specified.
Here's the Link to Adobe's page about including resources in your ANE builds with relevant examples.
Worst case you can replace @integer/google_play_services_version
with the value inside version.xml
.
Post a Comment for "Advertisingidclient Asking For Meta-data Although It Has Been Included"