cordova-android-crash-auto-restart's People
cordova-android-crash-auto-restart's Issues
unstable Android 11
I'm not getting consistency on android 11, sometimes it works sometimes it doesn't.
I managed to make it work in a project in ionic 3 test, when I install in the official project the two projects stop working, I'm using the android 11 device (AP1 30)
could you help me please?
Sorry my ingles!
_ LOG _
{
--------- beginning of system
2022-05-18 08:51:57.828 426-426/io.ionic.starter E/AndroidRuntime: FATAL EXCEPTION: main
Process: io.ionic.starter, PID: 426
java.lang.RuntimeException: This is a crash
at com.appcrash.plugin.AppCrash$1.run(AppCrash.java:29)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8645)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2022-05-18 08:51:57.868 4382-5036/? E/TaskStackListenerAbstract: onTaskSnapshotChanged called by Binder.getCallingPid() 0 android.app.ITaskStackListener$Stub.onTransact:587 android.os.Binder.execTransactInternal:1195 android.os.Binder.execTransact:1159
2022-05-18 08:51:57.980 3627-3672/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
2022-05-18 08:51:58.020 4833-4833/? E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
2022-05-18 08:51:58.034 5307-5307/? E/pageboostd: Received HALT command code 2
2022-05-18 08:51:58.063 4833-4833/? E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
2022-05-18 08:51:58.483 3627-644/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
2022-05-18 08:52:02.848 4039-4193/? E/ActivityTaskManager: Abort background activity starts from 10439
2022-05-18 08:52:02.850 3627-3672/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
2022-05-18 08:52:03.089 4833-4833/? E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
2022-05-18 08:52:03.131 4833-4833/? E/libprocessgroup: set_timerslack_ns write failed: Operation not permitted
2022-05-18 08:52:05.854 3627-3672/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
2022-05-18 08:52:05.855 3627-3672/? E/HYPER-HAL: [Request.cpp]acquire(): Request:: id : 8227613, No Resource to set
2022-05-18 08:52:05.855 3627-3672/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
2022-05-18 08:52:06.455 3627-713/? E/HYPER-HAL: [HandlerSysfs.cpp]doResourceHandling(): Couldn't Open Sysfs - /sys/power/cstate_control
}
Error with cordova add: Using "requireCordovaModule" to load non-cordova module "elementtree" is not supported.
This is informational. When I added this via config.xml
everything seems to be working fine.
cordova plugin add cordova-android-crash-auto-restart
Installing "cordova-android-crash-auto-restart" for android
Failed to install 'cordova-android-crash-auto-restart': CordovaError: Using "requireCordovaModule" to load non-cordova module "elementtree" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15)
at module.exports (/Users/jamesfuthey/displayjoy-app-cordova/plugins/cordova-android-crash-auto-restart/scripts/install.js:5:22)
at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32)
at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Using "requireCordovaModule" to load non-cordova module "elementtree" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
I'm on 9.0.0 ([email protected])
if that matters.
Nice plugin by the way!
Capacitor Port
Hi!
thank you for that. Amazing Plugin.
Could you make a Capacitor Port for it?
Best,
Daniel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.