Code Monkey home page Code Monkey logo

ane-androidsupport's People

Contributors

marchbold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ane-androidsupport's Issues

AAB - Failed to parse XML resource file \androidx.appcompat\build\intermediates\packaged_res\release\values\values.xml

Expected behaviour

Generate AAB file or APK-DEBUG file
androidx.appcompat.ane required by com.distriqt.MediaPlayer.ane

Actual behaviour
Environment
  • AIR SDK version: 33.1.1.713
  • Device OS: Android
  • Device version:
  • Development IDE: Flash CC to generate SWF and command line to generate APK / AAB
  • Development OS: Windows 10 21H2 (Java 11.0.12 x64)
ANEs
androidx.appcompat-1.2.0
androidx.core-1.3.2
androidx.vectordrawable-1.1.0
com.distriqt.Application-6.8.2
com.distriqt.Core-6.4.3
com.distriqt.Exceptions-3.0.8
com.distriqt.MediaPlayer-4.4.8
com.distriqt.PackageManager-3.1.025
com.distriqt.RestartApp-3.0.013
com.google.code.gson.gson-2.8.6
com.mesmotronic.ane.fullscreen-1.5.0
com.tuarua.frekotlin-1.42.0
WebViewANE-2.24.0
Logs

`NOTE: 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.appcompat:parseReleaseLocalResources'.

A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable
Failed to parse XML resource file 'C:\Users\XXX\AppData\Local\Temp\f8580962-92de-4c7e-a6ea-67211aa38ed2\androidx.appcompat\build\intermediates\packaged_res\release\values\values.xml'

  • 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.

BUILD FAILED in 20s

java.io.IOException: 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.appcompat:parseReleaseLocalResources'.

A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable
Failed to parse XML resource file 'C:\Users\XXX\AppData\Local\Temp\f8580962-92de-4c7e-a6ea-67211aa38ed2\androidx.appcompat\build\intermediates\packaged_res\release\values\values.xml'

  • 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.

BUILD FAILED in 20s

    at com.adobe.air.apk.AABOutputStream.buildGradle(AABOutputStream.java)
    at com.adobe.air.apk.AABPackager.renameOutput(AABPackager.java)
    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java)
    at com.adobe.air.apk.AABPackager.createPackage(AABPackager.java)
    at com.adobe.air.ADT.parseArgsAndGo(ADT.java)
    at com.adobe.air.ADT.run(ADT.java)
    at com.adobe.air.ADT.main(ADT.java)

`

Device logs if relevant

Crash and not start after update uo last release of Androix.core

Hi!

Before was : Application-6.8.4 and Androix.core-1.6.0 and was working.
After update these two, My app crash before start, this is the logcat:


03-15 19:30:19.318  3763  3763 D MiTv-Service-TvService-Parent: current foreground packagename is my.app.id
03-15 19:30:19.322  2991  5895 E MesonHwc: mi version
03-15 19:30:19.350 26860 26860 I MultiDex: VM with version 2.1.0 has multidex support
03-15 19:30:19.350 26860 26860 I MultiDex: Installing application
03-15 19:30:19.350 26860 26860 I MultiDex: VM has multidex support, MultiDex support library is disabled.
03-15 19:30:19.368 26860 26860 D AndroidRuntime: Shutting down VM
03-15 19:30:19.370 26860 26860 E AndroidRuntime: FATAL EXCEPTION: main
03-15 19:30:19.370 26860 26860 E AndroidRuntime: Process: my.app.id, PID: 26860
03-15 19:30:19.370 26860 26860 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider androidx.lifecycle.ProcessLifecycleOwnerInitializer: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList[[zip file "/data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/base.apk"],nativeLibraryDirectories=[/data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/lib/arm, /data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.installProvider(ActivityThread.java:6407)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.installContentProviders(ActivityThread.java:5949)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5864)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.access$1100(ActivityThread.java:200)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1651)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6680)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList[[zip file "/data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/base.apk"],nativeLibraryDirectories=[/data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/lib/arm, /data/app/my.app.id--JxU9ENUPnAZtfzLU-O-RA==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:121)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	at android.app.ActivityThread.installProvider(ActivityThread.java:6391)
03-15 19:30:19.370 26860 26860 E AndroidRuntime: 	... 10 more
03-15 19:30:19.383  3199  5154 W ActivityManager:   Force finishing activity my.app.id/.AIRAppEntry

Error when apk/ipa Build & SWF Launch on VScode

Case 1. When launch SWF, the following error occurs.

Error launching SWF debug session. Process exited with code: 5
Error: The extension androidx.browser has either a namespace version or library.swf with a version that is incompatible with the applications namespace or root SWF.

Case 2. When building the "apk/ipa" file, the following error occurs.

Included native extension 'androidx.constraintlayout' includes a SWF version 44 which is greater than the version of the root SWF of this application: 43
The terminal process "/Library/Java/JavaVirtualMachines/jdk-11.0.14.jdk/Contents/Home/bin/java '-jar', '/Users/everseen/.vscode/extensions/bowlerhatllc.vscode-as3mxml-1.12.1/bin/asconfigc.jar', '--sdk', '/Users/_Libraries/AIR33.1.1.889', '--debug=false', '--project', '/Users/Projects/Starling/TheCat/asconfig.json', '--air', 'android'" terminated with exit code: 12.

Environment
  • AIR SDK version: 33.1.1.889
  • Development IDE: VS code
  • Development OS: OSX
Dependencies
{
    "version": "6.11.0",
    "id": "com.distriqt.admob.FacebookAudience"
},
{
    "version": "6.1.3",
    "id": "com.distriqt.ApplicationRater"
},
{
    "version": "8.6.11",
    "id": "com.distriqt.Dialog"
},
{
    "version": "6.9.2",
    "id": "com.distriqt.Application"
},
{
    "version": "4.2.1",
    "id": "com.distriqt.admob.UnityAds"
},
{
    "version": "5.1.0",
    "id": "com.distriqt.IDFA"
},
{
    "version": "6.3.1",
    "id": "com.distriqt.Notifications"
},
{
    "version": "7.1.2",
    "id": "com.distriqt.Share"
},
{
    "version": "13.2.1",
    "id": "com.distriqt.InAppBilling"
},
{
    "version": "8.0.3",
    "id": "com.distriqt.GameServices"
},
{
    "version": "7.0.1",
    "id": "com.distriqt.Firebase"
}

com.google.code.gson.ane and namespace 50.2

I use AIR 33.1.935 and notice that only this extension need AIR 50.2.

Can I update other ANEs and use old version for com.google.code.gson.ane?
I need this ANE because of using IronSource ANE.

I have plans to update to AIR 50.2 but don't know what is the stable version?
AIR 33.1.935 is stable for production for me so I don't want to check my luck)

Latest androidx.core throwing build errors in value.xml

I'm using the CameraUI ane.

I updated to the latest version of androidx.core (commit de779cc) and my builds fail with the following error

aapt tool failed:C:\Users\John\AppData\Local\Temp\7d072876-9c72-4c4e-96a3-1b4edabf7f8d\savedstate-1.1.0-res\values\values.xml:3: error: Found tag id where item is expected

C:\Users\John\AppData\Local\Temp\7d072876-9c72-4c4e-96a3-1b4edabf7f8d\lifecycle-viewmodel-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected

C:\Users\John\AppData\Local\Temp\7d072876-9c72-4c4e-96a3-1b4edabf7f8d\lifecycle-runtime-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected

If I use the version from commit 1190716 it all works OK again.

split_config.arm64_v8a.apk!libCore.so crash

Hello!

After the last update (AIR 50.2.3.2) I’m getting a crash reports in Google Play console:

`*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 4993 >>> air.com… <<<

backtrace:
#00 pc 0x000000000086d7f4 /data/app/~~ORlO5qDH38ML3_mZGCKnFQ==/air.com…-rSoL_ATCOrEqJjs8f0nowA==/split_config.arm64_v8a.apk!libCore.so
airsdk/Adobe-Runtime-Support#1 pc 0x000000000086d4e8 /data/app/~~ORlO5qDH38ML3_mZGCKnFQ==/air.com…-rSoL_ATCOrEqJjs8f0nowA==/split_config.arm64_v8a.apk!libCore.so
airsdk/Adobe-Runtime-Support#2 pc 0x0000000000792f88 /data/app/~~ORlO5qDH38ML3_mZGCKnFQ==/air.com…-rSoL_ATCOrEqJjs8f0nowA==/split_config.arm64_v8a.apk!libCore.so
airsdk/Adobe-Runtime-Support#3 pc 0x000000000074a174 /data/app/~~ORlO5qDH38ML3_mZGCKnFQ==/air.com…-rSoL_ATCOrEqJjs8f0nowA==/split_config.arm64_v8a.apk!libCore.so
airsdk/Adobe-Runtime-Support#4 pc 0x000000000074d6d0 /data/app/~~ORlO5qDH38ML3_mZGCKnFQ==/air.com…-rSoL_ATCOrEqJjs8f0nowA==/split_config.arm64_v8a.apk!libCore.so
airsdk/Adobe-Runtime-Support#5 pc 0x000000000000ebdc `

as I can see, it’s just Android’s problem, it occurs on different devices, so I can’t reproduce it by myself (I tested on two Samsung Galaxy phones and Google Pixei with no errors).
Also users reports about redirecting the app to the Google Play during the app launch (which is weird coz there is no redirecting functionality in the app).

I’m not sure it’s ANEs problem, really, reported to airsdk/Adobe-Runtime-Support with no luck. Maybe anybody saw this issue? Thanks.

Unable to build Android Build

Hello @marchbold

I dont know if this is an issue with the ANES or with the latest AIR sdks? I am unable to build android build. I am getting the following error
image
image
image

please let me know, if you know anything about it

Encountering Issue While Packaging Android Using Distriqt ANE

Hello,

We are using your Facebook ANEs and Google Play Billing ANEs in one of our games. We are encountering the below error while creating the Android package.

Zip file '/private/var/folders/1_/f9053_sd4nqgrznxqjf8dgfr0000gn/T/347f3311-5dc4-4f28-ac2e-a91f1415451d/app/build/outputs/apk/release/app-release.apk' already contains entry 'AndroidManifest.xml', cannot overwrite

We have attached the full error log with this issue.
Below are the configurations we are using to create the APK:

Java Version: 11
HarmanAirSDK: 50.2
Android Target SDK: 33
Android Build Tool: 33.0.0
Build Type: release
Log File:
adt.log
We are stuck and not able to proceed. Could you help us find a solution?

Title window share

Hello,

It is possible to change the window Title "Share" for others languages?
thanks

Issues updating to androidx.core missing resource and fileLoadException

Trying to update all of my ANE's to the current version but running into an issue.

What I've done:

  • got most recent air 32
  • download newest versions of all ANE's I use
  • went through manifest file and ensure all are up to date with what is written in the "Add the Extension" doc for each extension
  • added libclang_rt.ios.a to lib/aot/lib because was getting an error without it
  • followed the https://github.com/distriqt/ANE-AndroidSupport/blob/master/lib/README.md#migration and replaced old support extensions with androidx

Now when I try to run the app:

ios - no issues

android - I get an error during compiling: "appcompat-1.0.0-res\values-v28\values-v28.xml:7: error: Error: No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')."

windows 10 - I get an error shortly after app launch and app auto-closes:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'CoreLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) ---> System.ArgumentException: Absolute path information is required.
at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String path)
at System.Reflection.Assembly.LoadFile(String path)
at DllResolution.GetAssembly(String baseDir, String dllName)
at DllResolution.ResolveHandler(Object Sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)
--- End of inner exception stack trace ---
at corens.InitController(Void* context)
at core_contextInitializer(Void* extData, Byte* ctxType, Void* ctx, UInt32* numFunctionsToSet, FRENamedFunction_** functionsToSet)

any ideas what I've done wrong or how to troubleshoot?

Install Referrer not working

Using the com.android.installreferrer.ane
This is the URL i'm getting
referrerUrl=utm_source=(not%20set)&utm_medium=(not%20set)
It doesn't include any information for some reason
any ideas?

ANE dependencies

I make code revision of game before store launch.

For along time I can not find info about this ANEs which I have integrated early))

com.google.android.datatransport
com.google.dagger

It will be very helpfully if you describe what of your Extensions can use different AndroidSupport libraries. Seems https://github.com/distriqt/ANE-AndroidSupport/wiki has outdated information. For example only ANE-PushNotifications required:
androidx.core
androidx.appcompat
androidx.browser
androidx.cardview
androidx.constraintlayout
androidx.vectordrawable
com.google.android.datatransport
com.google.dagger
com.google.protobuflite

Thx!

Error Building With AndroidX Core Extension

When I attempt to build my project for Android with the androidx.core extension, I get the following errors:

aapt tool failed:/private/var/folders/3h/ps6x_kln6_g6mf4ncp_t1p8c0000gn/T/3172f68b-e48e-47a4-b15b-a0f0ff43ef1f/savedstate-1.1.0-res/values/values.xml:3: error: Found tag id where item is expected
/private/var/folders/3h/ps6x_kln6_g6mf4ncp_t1p8c0000gn/T/3172f68b-e48e-47a4-b15b-a0f0ff43ef1f/lifecycle-viewmodel-2.4.1-res/values/values.xml:3: error: Found tag id where item is expected
/private/var/folders/3h/ps6x_kln6_g6mf4ncp_t1p8c0000gn/T/3172f68b-e48e-47a4-b15b-a0f0ff43ef1f/lifecycle-runtime-2.4.1-res/values/values.xml:3: error: Found tag id where item is expected

This is using latest extensions and latest AIR SDK.

I've followed the instructions documented here.

Error building with new AndroidX core AND old version of Java

This is similar to the previously reported issues regarding building with the new ANEs and getting the "Found tag id where item is expected" errors. However, there's an additional issue we're experiencing. Here's the errors we're getting:

 [java] WARNING: could not find appropriate Java Home location for v11+ JDK
 [java] aapt tool failed:/private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/savedstate-1.1.0-res/values/values.xml:3: error: Found tag id where item is expected
 [java] 
 [java] /private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/lifecycle-viewmodel-2.4.1-res/values/values.xml:3: error: Found tag id where item is expected
 [java] 
 [java] /private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/lifecycle-runtime-2.4.1-res/values/values.xml:3: error: Found tag id where item is expected
 [java] 
 [java] /private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/constraintlayout-2.1.3-res/values/values.xml:1491: error: Attribute "android:translationX" has already been defined
 [java] /private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/constraintlayout-2.1.3-res/values/values.xml:1495: error: Attribute "android:translationY" has already been defined
 [java] /private/var/folders/66/2x0ghy457995pfplcjv9bhrr0000gr/T/15fd7f25-84f9-445b-abf0-17b430f8e09f/constraintlayout-2.1.3-res/values/values.xml:1498: error: Attribute "android:translationZ" has already been defined

I have updated the adt file using the one posted by ajwfrost from here: airsdk/Adobe-Runtime-Support#1782
But I get the same error.

I notice that Java 11 is mentioned in numerous places and the warning I'm getting seems to indicate that it's required for things to work.
However, we're currently stuck with Java 1.8.112 due to us our product using a 1024-bit key (which versions of Java after 1.8.112 do not support). How can I resolve this issue?

com.google.code.gson.ane [META-INF/ANE/extension.xml]: error 102: Invalid namespace http://ns.adobe.com/air/extension/50.2

I added a new com.google.code.gson.ane, and now I get an error when building apk.

Expected behaviour

Build apk successful

Actual behaviour

Build apk crashed

Environment
  • AIR SDK version: 50.2.2.5
  • Device OS: -
  • Device version: -
  • Development IDE: FlashDevelop
  • Development OS: Windows10
Logs

E:\work\*\ane\com.google.code.gson.ane [META-INF/ANE/extension.xml]: error 102: Invalid namespace http://ns.adobe.com/air/extension/50.2

help installing androidx.core extension

I have an app which I am trying to upgrade to 64 bit.
I am replacing this extenstion:
com.distriqt.androidsupport.V4
with the following:
androidx.core

I cant manage to install the androidx.core extenstion.
when I run my app I get in the oneSignal manager this error: Missing Android Support Library.

any Idea why?

temp

Compile error when using androidx.core-1.6.0 (1.3.2 works)

Expected behaviour

Compile APK

Actual behaviour

Compiler error and stop.

Environment
  • AIR SDK version: 33.1.1.795
  • Device OS: Target Android - APK - Gradle
  • Development IDE: Animate to SWF + CMD
  • Development OS: Windows 10 x64
Logs
> 
> NOTE: Multiple Android build-tools folders exist, choosing the latest version (32.0.0) for packaging
> aapt tool failed:C:\Users\***\AppData\Local\Temp\56dcdce1-6434-4a8b-87aa-9f13f06db506\savedstate-1.1.0-res\values\values.xml:3: error: Found tag id where item is expected
> 
> C:\Users\***\AppData\Local\Temp\56dcdce1-6434-4a8b-87aa-9f13f06db506\lifecycle-viewmodel-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
> 
> C:\Users\***\AppData\Local\Temp\56dcdce1-6434-4a8b-87aa-9f13f06db506\lifecycle-runtime-2.3.1-res\values\values.xml:3: error: Found tag id where item is expected
> 

Extensions:

androidx.appcompat (1.4.1)
androidx.core (1.3.2)
androidx.vectordrawable (1.1.0)
com.distriqt.Application (6.8.4)
com.distriqt.Core (6.4.3)
com.distriqt.Exceptions (3.0.8)
com.distriqt.MediaPlayer (4.6.0)
com.distriqt.PackageManager (3.2.2)
com.distriqt.RestartApp (3.0.14)
com.google.code.gson.gson (2.8.6)
com.google.guava (31.0.1)
com.mesmotronic.ane.fullscreen (1.5.0)
com.tuarua.frekotlin (1.42.0)
com.tuarua.WebViewANE (2.24.0)

aapt tool failed

aapt tool failed:/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/core-1.0.0-res/values/values.xml:36: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format.
/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/res/values/values.xml:13: Original attribute defined here.
/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/core-1.0.0-res/values/values.xml:51: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format.
/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/res/values/values.xml:18: Original attribute defined here.
/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/core-1.0.0-res/values/values.xml:61: error: Attribute "fontStyle" already defined with incompatible format.
/private/var/folders/s5/1mchf3jn4jb9y3l7xd33fywh0000gn/T/00fdd5e9-ec6c-4ddf-b07a-dfa1bb46e075/res/values/values.xml:21: Original attribute defined here.

Environment:
Mac 10.14
AIR 33.1.1.63

AndroidSupport Android 64bit support

Update the extension to include support for Android 64bit

Starting August 1, 2019, your apps published on Google Play will need to support 64-bit architectures. 64-bit CPUs deliver faster, richer experiences for your users. Adding a 64-bit version of your app provides performance improvements, makes way for future innovation, and sets you up for devices with 64-bit-only hardware.

Build/Run/Debug Error

I can't build/run/debug the app with Intellij Idea.

I have error:

aapt tool failed:
C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\savedstate-1.2.1-res\values\values.xml:3: error: Found tag id where item is expected C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\lifecycle-viewmodel-2.6.1-res\values\values.xml:3: error: Found tag id where item is expected C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\lifecycle-runtime-2.6.1-res\values\values.xml:3: error: Found tag id where item is expected C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\activity-1.7.0-res\values\values.xml:4: error: Found tag id where item is expected C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\constraintlayout-2.1.4-res\values\values.xml:1491: error: Attribute "android:translationX" has already been defined C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\constraintlayout-2.1.4-res\values\values.xml:1495: error: Attribute "android:translationY" has already been defined C:\Users\Dmytro\AppData\Local\Temp\64d912a9-3ad9-4f2e-9824-067c4a56a6a3\constraintlayout-2.1.4-res\values\values.xml:1498: error: Attribute "android:translationZ" has already been defined

Earlier I could build/run with older version of AIR SDK for debugging (I usually used 3.1.1.795. I Couldn't build/run/debug with newer AIR SDK than 33.1.1.795 )
Now I can't do this because of com.google.code.gson ANE

But I can build aab with latest AIR SDK from command promt.

Can you help me to solve this?

After latest update now seeing errors on iOS

See this when trying to launch on iPhone -- launch fails -- 33.1.620

Rolling back to 33.1.575 -- all is well -- creating post on Runtime Support now

Error occurred while packaging the application:


Warning: Using default implementation for native extension 'androidx.transition'
Warning: Using default implementation for native extension 'androidx.appcompat'
Warning: Using default implementation for native extension 'androidx.recyclerview'
Warning: Using default implementation for native extension 'com.distriqt.playservices.Identity'
Warning: Using default implementation for native extension 'com.android.installreferrer'
Warning: Using default implementation for native extension 'io.reactivex'
Warning: Using default implementation for native extension 'com.distriqt.square.picasso'
Warning: Using default implementation for native extension 'com.google.protobuflite'
Warning: Using default implementation for native extension 'com.distriqt.playservices.CloudMessaging'
Warning: Using default implementation for native extension 'com.google.android.datatransport'
Warning: Using default implementation for native extension 'androidx.browser'
Warning: Using default implementation for native extension 'androidx.vectordrawable'
Warning: Using default implementation for native extension 'androidx.constraintlayout'
Warning: Using default implementation for native extension 'com.distriqt.square.okhttp3'
Warning: Using default implementation for native extension 'androidx.cardview'
Warning: Using default implementation for native extension 'com.google.code.gson'
Warning: Using default implementation for native extension 'com.distriqt.CustomResources'
Warning: Using default implementation for native extension 'com.distriqt.playservices.Auth'
Warning: Using default implementation for native extension 'com.jetbrains.kotlin'
Warning: Using default implementation for native extension 'com.google.dagger'
Warning: Using default implementation for native extension 'com.distriqt.playservices.Location'
Warning: Using default implementation for native extension 'com.distriqt.playservices.Analytics'
Warning: Using default implementation for native extension 'androidx.exifinterface'
Warning: Using default implementation for native extension 'androidx.core'
Warning: Using default implementation for native extension 'io.grpc'
Warning: Using default implementation for native extension 'androidx.work'
Warning: Using default implementation for native extension 'com.distriqt.playservices.Base'

Error when publishing to device

If you are reporting a bug please make sure you fill out the following information, otherwise delete this template and ask your question.

Expected behaviour

Publishing completed

Actual behaviour

Publishing failed with:
Unknown error.
Warning: Using default implementation for native extension 'androidx.core'
ld: unexpected token: !tapi-tbd file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/lib/libc++.tbd' for architecture arm64

Environment
  • AIR SDK version: AIR 33.0.2.315
  • Device OS: iOS
  • Device version: iOS 14.3
  • Development IDE: Adobe Animate
  • Development OS: macOS Big Sur 11.2
Logs

Device logs if relevant

Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable

Also drammatic jump in crashes last days as there was sceduled update to android 12

Environment
  • targetSdkVersion="31"
  • AIR SDK version: 33.1.1.743
  • Device OS: Android 12
  • Device version: samsung note 20
Logs

02-07 05:05:12.330 4713 4737 E AndroidRuntime: FATAL EXCEPTION: pool-5-thread-1
02-07 05:05:12.330 4713 4737 E AndroidRuntime: Process: my.app.id, PID: 4713
02-07 05:05:12.330 4713 4737 E AndroidRuntime: java.lang.IllegalArgumentException: my.app.id: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
02-07 05:05:12.330 4713 4737 E AndroidRuntime: Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at android.app.PendingIntent.checkFlags(PendingIntent.java:382)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:673)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at android.app.PendingIntent.getBroadcast(PendingIntent.java:660)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at androidx.work.impl.utils.ForceStopRunnable.getPendingIntent(ForceStopRunnable.java:273)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at androidx.work.impl.utils.ForceStopRunnable.isForceStopped(ForceStopRunnable.java:151)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at androidx.work.impl.utils.ForceStopRunnable.forceStopRunnable(ForceStopRunnable.java:171)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:102)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-07 05:05:12.330 4713 4737 E AndroidRuntime: at java.lang.Thread.run(Thread.java:920)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.