How to get debug output on eclipse console screen for cordova app - eclipse

I am using cordova plugin (THym) with eclipse Mars to make applications for android platform and I have an Android device with Android 4.3 due to which, chrome remote debugging is not working in my case.
Also I have tried android virtual device but even that didn't worked.
Only thing I am able to do is to run apk on my android device.
How can I debug the cordova app using eclipse?

Weinre is your friend for older Android Versions:
http://people.apache.org/%7Epmuellr/weinre/docs/latest/
And you should use Android Studio for developing Cordova Apps. Eclipse is no more supported.

Related

Java Error While Running Flutter App on Emulator

After trying to run my flutter app from vs code in android emulator Nexus 5X, I am getting an error which says that I have to setup JDK and I make it's Path Variables for User section and now I am getting a tons of java errors while trying to run my flutter app. Please Help
If you want to run flutter using android java JDK and Android SDK is essential.These are main steps.
Download JAVA JDK from oracle official website and install it
according to your platform(Windows,Ubuntu,Mac,etc.).And set up JDK
too.
Download and install android studio and It will automatically set up
android sdk for our development.
Think your problem is environment path problem or missing JDK.So set up Java JDK first.

Flutter - Can't install apk on android

I'm new to flutter and on a phone I have it works and the app runs fine, but I sent the apk to another device and it couldn't be installed, I don't know if it's because of a plugin I'm using that is "speech to speech", since in that plugin I changed the version of min sdk to 21 but the android that I try to install has an android version of 10 that is higher, it seems to me, what would be the cause?
Remember Android no longer accept the app which has not been signed as release,. make sure you are making you are signing the app correctly, Android studio will help you.
The build flavor should be release, and the signature must be created before. But the easiest way is to run the app in profile mode,
flutter run --profile
Profile mode run as release mode but doesn't require to be manually signed.
There could be other reasons but do you know that the Flutter app cannot be installed on x86 Android
Flutter does not currently support building for x86 Android

how to run an app developed on ionic on the android studio emulator

I am trying to deploy my ionic app to the android studio and run it using the emulator. I have installed the android file into my ionic app. When I try to run it in android studio, this error shows up. Does anybody know why or did I miss out on anything to add to my project? Please help thanks!
You need to go through the Ionic Developer Guide for Android - https://ionicframework.com/docs/developing/android
But to answer your question...
When you build an Ionic project, it generates an Android project (platforms\android on Cordova or android on Capacitor). Open this generated Android project in Android Studio. Then run it from there.

Running Flutter on a Genymotion machine using VS Code

I'm using VS Code as my IDE for Flutter and I'm trying to run my app in a Genymotion machine. How can I do that? The machine doesn't appear in VS Code bottom bar in the Devices section.
N.B:
I'm not looking for any solutions regarding Android emulators or Android Studio, only VS Code with Genymotion.
Alright, so after an hour or so of searching I found out the solution. It's entirely the same as the approach of using Genymotion in Android Studio. The only difference is you don't need to install a plugin for VS Code. However, in my case, it was a bug in Genymotion it self. I was using v3.0.1 which had some incompatibility bug with Android SDK 28 and this was the reason why the Genymotion machine did not show up as a device in VS Code, because this latter relies on Android SDK to determine what are the devices that run Android.
The solution for me was simply upgrading my Genymotion to v3.0.2 which fixed the incompatibility with Android SDK 28.
In case anyone runs into this problem in the future and this doesn't work, make sure that your Genymotion ADB settings use the Android SDK installed in your machine by Android Studio and not the one shipped with Genymotion itself.

Emulator with API 15 and Android 4.0.3 shows in settings 4.0.4

I need to emulate Android device (Samsung Tab 2) with version 4.0.3, but after choosing it in Android Virtual Device Manager and running it I get info in settings that it is a 4.0.4 version.
I need to run my web app written in html5 to reproduce some bugs.
Any idea about it?
The problem is that the emulator Android versions only correspond with specific versions from each API level. 4.0.3 and 4.0.4 are both in API level 15, so the emulator is only made available for Android 4.0.4. There is no Android 4.0.3 emulator; you'd have to find the system image for that or build it yourself.