Repository navigation
Closed
Labels
Description
Bug Report
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 5.6.0
@capacitor/core: 5.6.0
@capacitor/android: 5.6.0
@capacitor/ios: 5.6.0
Installed Dependencies:
@capacitor/cli: 5.3.0
@capacitor/ios: 5.3.0
@capacitor/core: 5.3.0
@capacitor/android: 5.3.0
[error] Xcode is not installed
[success] Android looking great! 👌
Platform(s)
Android
Current Behavior
I am not able to reproduce this.
It is a crash shows in Android Vital on the play store console.
The stacktrace is
Exception java.lang.OutOfMemoryError:
at java.util.Arrays.copyOf (Arrays.java:3578)
at java.lang.AbstractStringBuilder.ensureCapacityInternal (AbstractStringBuilder.java:177)
at java.lang.AbstractStringBuilder.append (AbstractStringBuilder.java:753)
at java.lang.StringBuilder.append (StringBuilder.java:257)
at org.json.JSONStringer.string (JSONStringer.java:327)
at org.json.JSONStringer.value (JSONStringer.java:261)
at org.json.JSONObject.quote (JSONObject.java:780)
at org.apache.cordova.PluginResult.getMessage (PluginResult.java:107)
at org.apache.cordova.NativeToJsMessageQueue$JsMessage.buildJsMessage (NativeToJsMessageQueue.java:528)
at org.apache.cordova.NativeToJsMessageQueue$JsMessage.encodeAsJsMessage (NativeToJsMessageQueue.java:545)
at org.apache.cordova.NativeToJsMessageQueue.popAndEncodeAsJs (NativeToJsMessageQueue.java:201)
at com.getcapacitor.cordova.MockCordovaWebViewImpl$CapacitorEvalBridgeMode.lambda$onNativeToJsMessageAvailable$0 (MockCordovaWebViewImpl.java:77)
at com.getcapacitor.cordova.MockCordovaWebViewImpl$CapacitorEvalBridgeMode.$r8$lambda$KZrWPdHN4k-RiuqG_qj2jYFekSE
at com.getcapacitor.cordova.MockCordovaWebViewImpl$CapacitorEvalBridgeMode$$ExternalSyntheticLambda0.run
at android.os.Handler.handleCallback (Handler.java:942)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8810)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
Expected Behavior
There should be not crash
Code Reproduction
This issue happens on an android 13 device
Other Technical Details
npm --version output:
9.5.0
node --version output:
v18.14.2
pod --version output (iOS issues only):
Additional Context
Metadata
Metadata
Assignees
Labels
Type
Fields
No fields configured for issues without a type.
Activity
ionitron-bot commentedon Jan 8, 2024
This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.
Please see the Contributing Guide for how to create a Sample App.
Thanks! Ionitron 💙
Ionitron commentedon Jan 24, 2024
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.
Have a great day!
Ionitron 💙
ionitron-bot commentedon Feb 23, 2024
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.