Git Product home page Git Product logo

Comments (7)

 avatar commented on May 8, 2024 2

Looks like huawei.android.hwutil in the platform itself is doing strict mode violations. Line 83/84 of NotesActivity are setting strict mode to penaltyDeath(). I'd prefer to keep these lines in the test app just to keep track of strict violations.
Would you be cool with simply removing these lines when running the test app on your Huawei device? Strictly speaking I wouldn't have these set in a prod app like this, but for a test app I find it pretty helpful.
I might consider making the check a bit more lax, removing penaltyDeath(). Let me know how it goes.

from agera.

wendellq89 avatar wendellq89 commented on May 8, 2024

My phone is huawei mate 6.0 OS,meet the same problem. I removing penaltyDeath() solve the problem, thanks @ernstsson

from agera.

darin-lao avatar darin-lao commented on May 8, 2024

removing penaltyDeath() is work !!

from agera.

zdRan avatar zdRan commented on May 8, 2024

But in my code is not used penaltyDeath (), how can I do?

this my log:

    05-10 22:39:45.340 21342-21359/com.xxx.umarket E/HAL: load: id=gralloc != hmi->id=gralloc 
    05-10 22:39:45.370 21342-21342/com.xxx.umarket W/System: ClassLoader referenced unknown path:   /data/app/com.xxx.umarket-1/lib/arm`
                                                         
                                                         [ 05-10 22:39:45.388  3739: 3739 E/         ]
                                                         process stopped due to unexpected signal 13

from agera.

TomakaZub avatar TomakaZub commented on May 8, 2024

zdRan did you find a solution ? I've the same error message.

My application doesn't want to get started. Installation is ok, but i've a crash.

My log :

06-17 00:33:16.320 30737-30737/? I/art: Late-enabling -Xcheck:jni
06-17 00:33:16.363 30737-30751/fr.eni.ecole.android.ojm16.androcado E/HAL: load: id=gralloc != hmi->id=gralloc
06-17 00:33:16.429 30737-30737/fr.eni.ecole.android.ojm16.androcado W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/fr.eni.ecole.android.ojm16.androcado-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
                                                                           
                                                                           [ 06-17 00:33:16.471  2904: 2904 E/         ]
                                                                           process stopped due to unexpected signal 13
06-17 00:33:16.557 30737-30737/fr.eni.ecole.android.ojm16.androcado W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg  --debuggable --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/data/app/fr.eni.ecole.android.ojm16.androcado-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm64/data@[email protected]@[email protected]) because non-0 exit status
06-17 00:33:16.563 30737-30737/fr.eni.ecole.android.ojm16.androcado W/System: ClassLoader referenced unknown path: /data/app/fr.eni.ecole.android.ojm16.androcado-1/lib/arm64
06-17 00:33:16.569 30737-30737/fr.eni.ecole.android.ojm16.androcado I/InstantRun: starting instant run server: is main process
06-17 00:33:16.616 30737-30737/fr.eni.ecole.android.ojm16.androcado I/HwCust: Constructor found for class android.app.HwCustHwWallpaperManagerImpl
06-17 00:33:16.950 30737-30737/fr.eni.ecole.android.ojm16.androcado I/Process: Sending signal. PID: 30737 SIG: 9

from agera.

smile616 avatar smile616 commented on May 8, 2024

zdRan/TomakaZub,

could you try disable the Instant run in the Android studio?

from agera.

TomakaZub avatar TomakaZub commented on May 8, 2024

I tried it, but same problem...

from agera.

Related Issues (20)

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.