Problem processing route in Ember.js app when building and running app in Android studio emulator - android-studio

Trying to build and run an Ember app with Capacitor on virtual device in Android studio. Build and installation goes fine until the app is launched and stops when trying to process a spesific route. The problem only occurs when building from windows, no problem on Mac. The app is communicating with a jsonapi.
Error message in chrome device inspector: "Error while processing route [routename]"
I have tried with physical device connected getting the same message. Also tried with Genymotion plugin.
Capture of browser console:
chrome console error
And this is what logcat is giving:
logcat error
I also have some errors reported from the IDE (Android Studio) not related to running the Emulator but occurs when opening the IDE:
Android Studio errors. In case this has something to do with it.
Solution in this case:
Had to reinstall node js with another older version. Did an npm cache clean and built the app all over again. Also made sure to open the project with npx cap open android.

Related

Problems with launching the physical device in android studio

After i connect the device onto my android studio yet, then when I running and build Its return the code
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE
List of apks:
[0] 'D:\MyApplication\app\build\intermediates\apk\debug\app-debug.apk'
The device already has a newer version of this application.
in the editor
I try to fix this things with some article in this site but nothing working else
In the corner of screen it has this too that i dont know what is it exactly of meaning:
failed to commit install session 495050153 with command package install-commit 495050153 .Error:INSTALL_FAILED_VERSION_DOWNGRADE
So,this is the problem when running
and
after click Ok then its getting error thiss
, and also I when open tab running devices its still apppearing just only run this debug then its get this error
.Thank you for helping me this problems
You can uninstall the application from your device first and then install the fresh one .

Error on Android Studio emulator: Could not connect to developer server - React Native

I'm new to react native. Recently I started to have this error on Android Studio emulator "Could not connect do developer server". Also see the screenshot to the error on the emulator. The error appears each time I try to reload the page to see the changes made on Visual Code, pressing "R,R". Does anyone have already face and fix this error successfully?
Here is what I tried so far:
Installed Metro and added the folder "assets" in in metro-config
Verified that the emulator is connected to the wifi, airplane mode is disabled
Added the port "localhost:8081" in the Dev setting
Downgraded Node.js from the latest version 16.14.2, to and older one 14.17.4 and then tried 14.16.1. It still didn't work, even after I restarted the laptop
Closed everything and run the command "react-native run-android" again, still get the error when I reload the emulator...
Any idea on the cause of this problem and how to fix it?
Thanks in advance.

Android Studio and Flutter(VSCode) show the same problem sun.security.ec.ECKeyPairGenerator.isCurveSupported([B)Z

Im currently developing an android app with flutter using VScode. So this problem happened after i update my windows from 1903 to 1909 yesterday. I tried to run and debug my app in vscode it shows:
"sun.security.ec.ECKeyPairGenerator.isCurveSupported([B)Z".
the same thing happen with Android Studio when im trying to test my code. Even the gradle sync in android studio failed with the same message (see the image below):
Error screenshot

Could not automate an ADB binary

Anytime I launch my Android emulator on my Kali machine I get an error message saying "Could not automatically detect and ABD binary",what could be the cause and solution and also when I launch my Android studio and I try running my app in the initializing adb part it keeps loading without showing my Android emulator which I already created...Please any suggestions on how to solve this

Android Studio can not run or debug app on emulator

I have a very odd situation here:
I just want to run and debug my app on the emulator.
I get
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.myapp"
pkg: /data/local/tmp/com.example.myapp
Success
The app is correctly installed on the emulator, but does not start up.
I can run and debug this app on USB-Device.
I can run and debug any other app on same emulator.
I tried different AVDs (arm and intel), SDK and Target
Build finishes with 0 errors and 0 warnings. Eventlog is empty. I cleaned the gradle file and changed the only dependency com.android.support:appcompat-v7:21.+.
I can start the app normally on the AVD by clicking on it's icon.
When I start debugging, app installs, then waits endlessly on:
Waiting for process: com.example.myapp
I do not even now where to start looking (of course I tried rebuilding, synchronizing and cleaning cache). I also tried changing the project name.
Maybe try making a new project and copying your code over?

Resources