Giter VIP home page Giter VIP logo

ane-memory's People

Contributors

marchbold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mrfaceboy

ane-memory's Issues

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

MemoryEvent.LOW_MEMORY_WARNING not dispatched

The memory event is not being dispatched, ie the following code will never call the event listener:

Memory.service.addEventListener( MemoryEvent.LOW_MEMORY_WARNING, lowMemoryWarningHandler );

Add the level of the memory warning on Android

Memory trim events on Android come with additional information about the amount of trimming the system suggests the application performs in order to keep memory available for the system.

This information should be added to the MemoryEvent.LOW_MEMORY_WARNING event

There is java.lang.IllegalArgumentException in this ANE

There is java.lang.IllegalArgumentException in this ANE causing crash in our app. This is quiet high right now. Top 4 reason for app to crash more than 3000 user crash reports in last 30 days. We actually don't have repro steps but we can share some stacktraces and aggregated data which will hopefully help you identify the problem

Environment

Android version | number of crashes | percentage
Android 8.0 | 837 | 28.3%
Android 5.0 | 817 | 27.6%
Android 4.4 | 459 | 15.5%
Android 8.1 | 294 | 9.9%
Android 7.0 | 207 | 7.0%
Android 5.1 | 144 | 4.9%
Android 6.0 | 104 | 3.5%
Android 7.1 | 86 | 2.9%
Android 4.3 | 7 | 0.2%

  • AIR SDK version: air-sdk-29.0.0.112
  • Device OS: Look above in environment
  • Device version: top devices include
    Galaxy Note3 (hlte),
    HUAWEI P9 lite mini (HWSLA-Q),
    Galaxy S9 (starlte)
  • Development IDE: Irrelevant
  • Development OS: Windows
Logs

#1
java.lang.IllegalArgumentException:
at com.adobe.fre.FREContext.dispatchStatusEventAsync (Native Method)
at com.distriqt.extension.memory.MemoryContext.dispatchEvent (MemoryContext.java:96)
at com.distriqt.extension.memory.controller.MemoryController.onTrimMemory (MemoryController.java:121)
at android.app.Application.onTrimMemory (Application.java:134)
at android.app.ActivityThread.handleTrimMemory (ActivityThread.java:4461)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1551)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:5491)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:618)

#2
java.lang.IllegalArgumentException:
at com.adobe.fre.FREContext.dispatchStatusEventAsync (Native Method)
at com.distriqt.extension.memory.MemoryContext.dispatchEvent (MemoryContext.java:96)
at com.distriqt.extension.memory.controller.MemoryController.onTrimMemory (MemoryController.java:121)
at android.app.Application.onTrimMemory (Application.java:160)
at android.app.ActivityThread.handleTrimMemory (ActivityThread.java:5656)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1931)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:7000)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)

#3
java.lang.IllegalArgumentException:
at com.adobe.fre.FREContext.dispatchStatusEventAsync (Native Method)
at com.distriqt.extension.memory.MemoryContext.dispatchEvent (MemoryContext.java:96)
at com.distriqt.extension.memory.controller.MemoryController.onTrimMemory (MemoryController.java:121)
at android.app.Application.onTrimMemory (Application.java:152)
at android.app.ActivityThread.handleTrimMemory (ActivityThread.java:5641)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1894)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:145)
at android.app.ActivityThread.main (ActivityThread.java:6873)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1199)

#4
java.lang.IllegalArgumentException:
at com.adobe.fre.FREContext.dispatchStatusEventAsync (Native Method)
at com.distriqt.extension.memory.MemoryContext.dispatchEvent (MemoryContext.java:96)
at com.distriqt.extension.memory.controller.MemoryController.onTrimMemory (MemoryController.java:121)
at android.app.Application.onTrimMemory (Application.java:147)
at android.app.ActivityThread.handleTrimMemory (ActivityThread.java:6137)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2230)
at android.os.Handler.dispatchMessage (Handler.java:108)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7523)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)

All exception stack trace ends in com.adobe.fre.FREContext.dispatchStatusEventAsync which is called from MemoryContext.dispatchEvent <- MemoryController.onTrimMemory

Please check if you supply method with correct arguments

Rebuild this ane

Hello
Could you recreate this ANE? with AIR version 32
Thank you in advance

Android crash at MemoryContext.dispatchEvent - PlayStore Information

java.lang.IllegalArgumentException:
at com.adobe.fre.FREContext.dispatchStatusEventAsync (Native Method)
at com.distriqt.extension.memory.MemoryContext.dispatchEvent (MemoryContext.java:96)
at com.distriqt.extension.memory.controller.MemoryController.onTrimMemory (MemoryController.java:121)
at android.app.Application.onTrimMemory (Application.java:148)
at android.app.ActivityThread.handleTrimMemory (ActivityThread.java:4369)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1491)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:136)
at android.app.ActivityThread.main (ActivityThread.java:5590)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1280)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1096)
at dalvik.system.NativeStart.main (Native Method)

Adobe AIR 25
Samsung Galaxy J1 Ace (j1pop3g)
Android 4.4

In use ANES (Versions are from extension.xml)

com.distriqt.InAppBilling 1 -> This is wrong in the xml, but it's the previous version the one without the iOS 11 features.
com.distriqt.Dialog 5.1.124
com.distriqt.Application 4.2.049
com.distriqt.Image 3.0.038
com.distriqt.androidsupport.V4 26.0.0
com.distriqt.androidsupport.CustomTabs 26.0.0
com.distriqt.androidsupport.AppCompatV7 26.0.0
com.distriqt.Core 2.5.074
com.distriqt.ApplicationRater 3.2.015
com.distriqt.Memory 2.0.009
com.distriqt.NativeWebView 2.1.009
com.distriqt.Share 1 -> this is wrong in the xml but it's the new one
com.distriqt.AppGroupDefaults 1.1.023
com.distriqt.IDFA 1.0.017
com.distriqt.Notifications 4.4.054

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.