Trying to use app on android device - ionic-framework

I got this error, when I try to login my app on my android device:
D/chromium: Unknown chromium error: 0
What is it?
Here is my question on ionic forum
https://forum.ionicframework.com/t/trying-to-use-app-on-android-device/46802

Related

Debug Flutter app is not working with VSCode on Xiaomi Device

I'm starting developing mobile using flutter on vscode IDE. I was debbuging the app using a samsung device, everything was ok, but I tryed debug the app using a xiaomi device, however this time i've got an error
Launching lib/main.dart on 166216e0 in debug mode...
Built build/app/outputs/flutter-apk/app-debug.apk.
adb: insufficient permissions for device: missing udev rules? user is in the plugdev group
See [http://developer.android.com/tools/device.html] for more information
Error: ADB exited with exit code 1
adb: insufficient permissions for device: missing udev rules? user is in the plugdev group
See [http://developer.android.com/tools/device.html] for more information
Error launching application on 166216e0.
Exited (sigterm)
There's a difference of android version. Samsung is android 11 and xiaomi is a MIUI Global 12.0.4 android 10.
apart from having usb debug enabled, i've enabled the option to install via usb and usb debugging.
I don't know how to solve this. Any suggestion?
I've updated SDK Manager adding android 10
after that i runned
flutter doctor --android-licenses
but I still not working

Error when running app in android devise after adding a native code(battry) to flutter

this is the error throwen
[and this is my native code][2]

SDK android emulator for flutter

I am installing andoid sdk in Intelli idea the error occuring in installation is :
"java.io.IOException: Connection closed at byte 45350576. Expected 326723360 bytes.
Warning: An error occurred while preparing SDK package Android Emulator: Connection closed at byte 45350576. Expected 326723360 bytes.."
I have downloaded and installed Intelli Idea have also installed flutter and dart PLUGINS now for i need emulator for it which i think is inside android sdk but its giving this error while installing it, I am basically learning dart flutter app development . please guide here how to use emulator using android sdk or anyway other than android sdk,

There is errer on ios device when executing firebase in flutter

There is an error when running on an iOS emulator from a flutter firebase
I don't know what the error is. Please help me.
Error Log is here

ionic, Facebook4 Cordova blank screen crashing

I am using facebook4 cordova plugin to authenticate my users to firebase. I tested on many devices. In most of them, it is working properly but in some of them I am getting blank screens( I guess its crashing). I think it is from the android version. Some of the crashed devices were Android 4.3 and 4.4.2.
I ran this command: ionic run android --livereload --consolelogs
and got this:
BUILD FAILED
Total time: 3.94 secs
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.jar
Required by:
:android:unspecified > com.facebook.android:facebook-android-sdk:4.14.1
> Could not find com.android.support:cardview-v7:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.pom
https://repo1.maven.org/maven2/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.jar
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.pom
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.jar
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.pom
file:/C:/Users/Paul/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/cardview-v7/23.4.0/cardview-v7-23.4.0.jar
Required by:
:android:unspecified > com.facebook.android:facebook-android-sdk:4.14.1
What could be the main cause of this?