bug: android performance issue
See original GitHub issueBug Report
Capacitor Version
Latest Dependencies:
@capacitor/cli: 2.2.1
@capacitor/core: 2.2.1
@capacitor/android: 2.2.1
@capacitor/electron: 2.2.1
@capacitor/ios: 2.2.1
Installed Dependencies:
@capacitor/electron not installed
@capacitor/cli 2.0.2
@capacitor/core 2.0.2
@capacitor/android 2.0.2
@capacitor/ios 2.2.0
[success] Android looking great! �
[error] Xcode is not installed
Platform(s)
- Android 5.0.2 (HTC One m7)
- Android 10 (Pixel 2)
Current Behavior
The App is very slow on android. The iOS App is OK. Same app just with cordova is faster.
Expected Behavior
App should run fast.
Other Technical Details
npm --version
output:
6.14.4
node --version
output:
v12.18.0
See video for more details: https://youtu.be/z5eqC4249QM
Issue Analytics
- State:
- Created 3 years ago
- Comments:44 (22 by maintainers)
Top Results From Across the Web
Android faces a performance crisis that only Google can fix
It's a nuanced problem with no easy solutions, though there are a few ways it can be better — particularly if Google can...
Read more >Slow rendering - Android Developers
Rendering performance: UI Thread ... If Record View#draw is taking a long time, it's often the case that a bitmap is being painted...
Read more >Speed up a slow Android device - Google Support
Troubleshoot apps on your phone for slowness · Restart in safe mode · Check if the problem goes away · Restart your phone...
Read more >Types of performance bugs found in Android apps
(2020) who manually analysed 500 commits that fixed performance bugs in Android and iOS apps. This analysis allowed them to build a taxonomy...
Read more >Detect and Resolve Performance Problems on Android - Code
It's relatively easy to check your app for overdraw. Large amounts of overdraw can indicate an underlying problem with your app's user interface ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oke will try to share it ASAP.
I’ve just opened #3485 and at the end I noticed that when using a remote server, on iOS Capacitor works correctly but on Android it looks like it runs on a web platform, not natively. Maybe that’s related to these performance issues. You can check by opening the device dev tools via
chrome://inspect
and checking forwindow.Capacitor.isNative
. If it’sfalse
for you guys as well, then maybe this has something to do with it.