Open bobrokrol opened 3 years ago
There seems to be a problem with the dashes in packagedResource.platformName
in platform.xml
of an ANE when compiling for AAB.
This only affects some companion ANEs.
You will need to update to use latest ANEs (see latest sample Main.xml)
https://github.com/tuarua/AdMob-ANE/blob/master/example/src/Main-app.xml
Ideally you are using air-tools
via the air_package.json https://github.com/tuarua/AdMob-ANE/blob/master/example/air_package.json
N.B. this is not the same as apm
from airsdk GitHub. I introduced mine 1 year ago as a way to easily install ANEs with required manifest entries, companion extensions etc.
I have updated the 2 offending ANEs at https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.legacy.legacy-support-v4-1.0.0.ane?raw=true https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.room.room-runtime-2.3.0.ane?raw=true
I have now built an AAB with these updated ANEs and it now builds successfully
There seems to be a problem with the dashes in
packagedResource.platformName
inplatform.xml
of an ANE when compiling for AAB. This only affects some companion ANEs.
- You will need to update to use latest ANEs (see latest sample Main.xml) https://github.com/tuarua/AdMob-ANE/blob/master/example/src/Main-app.xml Ideally you are using
air-tools
via the air_package.json https://github.com/tuarua/AdMob-ANE/blob/master/example/air_package.json N.B. this is not the same asapm
from airsdk GitHub. I introduced mine 1 year ago as a way to easily install ANEs with required manifest entries, companion extensions etc.I have updated the 2 offending ANEs at https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.legacy.legacy-support-v4-1.0.0.ane?raw=true https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.room.room-runtime-2.3.0.ane?raw=true
I have now built an AAB with these updated ANEs and it now builds successfully
Thank you very much, I wil try
I just downloaded latest AdMob-ANE-3.1.0 release run airtools install
Downloading: https://github.com/tuarua/AdMob-ANE/releases/download/3.1.0/AdMobANE.ane?raw=true to AppData folder
Using cached AppData version of com.tuarua.AdMobANE version 3.1.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/kotlin/com.tuarua.frekotlin-1.42.0.ane?raw=true to AppData folder
Using cached AppData version of com.tuarua.frekotlin version 1.42.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/misc/com.google.code.gson.gson-2.8.6.ane?raw=true to AppData folder
Using cached AppData version of com.google.code.gson.gson version 2.8.6
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.legacy.legacy-support-v4-1.0.0.ane?raw=true to AppData folder
Using cached AppData version of androidx.legacy.legacy-support-v4 version 1.0.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.room.room-runtime-2.3.0.ane?raw=true to AppData folder
Using cached AppData version of androidx.room.room-runtime version 2.3.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.sqlite.sqlite-framework-2.1.0.ane?raw=true to AppData folder
Using cached AppData version of androidx.sqlite.sqlite-framework version 2.1.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/support/androidx.work.work-runtime-2.5.0.ane?raw=true to AppData folder
Using cached AppData version of androidx.work.work-runtime version 2.5.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-measurement-19.0.0.ane?raw=true to AppData folder
Using cached AppData version of com.google.android.gms.play-services-measurement version 19.0.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-base-17.6.0.ane?raw=true to AppData folder
Using cached AppData version of com.google.android.gms.play-services-base version 17.6.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.gms.play-services-ads-lite-20.2.0.ane?raw=true to AppData folder
Using cached AppData version of com.google.android.gms.play-services-ads-lite version 20.2.0
Downloading: https://github.com/tuarua/Android-ANE-Dependencies/blob/master/anes/play-services/com.google.android.ump.user-messaging-platform-1.0.0.ane?raw=true to AppData folder
Using cached AppData version of com.google.android.ump.user-messaging-platform version 1.0.0
Downloading: https://github.com/tuarua/Swift-IOS-ANE/releases/download/5.2.0/ios_dependencies.zip to AppData folder
Using cached AppData version of com.tuarua.iOS.FreSwift version 5.2.0
Downloading: https://github.com/tuarua/AdMob-ANE/releases/download/3.1.0/ios_dependencies.zip?raw=true to AppData folder
Using cached AppData version of com.tuarua.AdMobANE.IosDependencies version 3.1.0
Merging Manifests
Updating App Descriptor XML with Manifest Additions
I have tried AIRSDK_Windows_33.1.1.217 AIRSDK_Windows_33.1.1.575
and I got an error:
aapt tool failed:C:\Users\Lenovo\AppData\Local\Temp\7a6eef14-9b4c-47a3-9eab-c8c6a5770d46\androidx.lifecycle-lifecycle-viewmodel-2.3.0-res\values\values.xml:3: error: Found tag id where item is expected
C:\Users\Lenovo\AppData\Local\Temp\7a6eef14-9b4c-47a3-9eab-c8c6a5770d46\androidx.lifecycle-lifecycle-runtime-2.3.0-res\values\values.xml:3: error: Found tag id where item is expected
I am not seeing the same, tho I am building on macOS. I am using Android Build Tools 30.0.3 and java 1.8
From what I can find, this is related to aapt2 https://github.com/sthewissen/Xamarin.Forms.PancakeView/issues/131 https://github.com/sthewissen/Xamarin.Forms.PancakeView/issues/153
You may try raising your minSdkVersion
to 21
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30" />
You may need to raise this on Adobe Runtime Support https://github.com/airsdk/Adobe-Runtime-Support/issues?q=is%3Aissue+aab
Helllo, I did not have any issues creating .apk. But when I tried to create .aab I got this error .aab is required since august in google play for new apps and will be required for updates soon
my android app xml part