Unable to run react-native apps on Redmi phone? - android

I am trying to upload my react-native apk to redmi note 3 but encountered an error unable to upload some apk after downgrading the gradle from 1.3.1 to 1.2.3 i was able to sought it but still after successfully uploading the app I can only see blank white screen. I am unable to see any app screen.
I followed https://github.com/facebook/react-native/issues/2720 but still didn't found any success.
I have worked on two version of redmi phone one is redmi note 3 with 5.0.2 android version and Mi pad with 4.4.4 android version and faced the same issue on both i.e blank screen.

I have the same problem with my Redmi Note4 ( white screen and no develop pop-up menu )
I solved this problem by giving the permission to allow your react-native app to display Pop-up Window. After that the App works fine.
It seems that you may have already solved this problem. If not, hope this answer can help you.

i dont know is my answer suitable or not ,
but i faced this problem , when i tried to root my phone using SuperSU . adb could find my device but i could not installing react-native app . so i restored my phone to before rooting and everything worked good !
my phone is Xiaomi Mi Note 3 .

Related

The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE

I've tried to install the application on Xiaomi Redmi 9 for the first after tring it on the emulator which worked fine but when I tried to install it on the physical device this error appeared The application could not be installed: INSTALL_FAILED_VERSION_DOWNGRADE
Before installing a popup message said to uninstall the existing app, but I've searched on the phone everywhere but there was no app installed.
I tried to install another application on the same phone it worked fine with no error, I've no idea how to deal with this problem.
I need your help and thank you in advance.

Please select a valid device before running the application : VS 2015 and Xamarin

I am new to mobile development, a few days ago i install Xamarin and Android SDK. I have just created a blank app and when i try to run it says built was unsuccessful and shows the above message.
But when i open the main.axml i can see Nexus one with android 7.1 is selected. I did change these option but the same error.
I did try everything mentioned here on stackoverflow and on Xamarin but none worked for me. i did update Xamarin and downgrade JDK to 8 from 9 as it was mentioned somewhere on the blog but still i am out of luck. its been more than 5 days i am trying different solutions and finally i have to put it in front of the professionals.
Its just an empty app not even a single line of code.
I can give teamviewer access if necessary.
Thanks.
You must install an emulator on which you will run the application. Or connect physical device. There is nothing to do with Xamarin or SDK versions. Your app compiles OK. You just need some device (virtual or physical) to run your application.

How to fix logcat for app not showing in Android Studio?

When I run my app on my Galaxy S7, nothing shows in the logcat in Android Studio. Not even while debugging. If I use another device, I can see the logcat. On one device (Asus Padfone Android version 4.4.2) I can run my app from Android Studio and everything works fine. When I run it on my S7(Different Android version: 7.0) the app crashes in some activities but since the logcat doesn't show I can't see what the problem is. How can I get the logcat to show so I can see the issues? I've tried killing adb processes and restarting the adb server. I've invalidated cache in Android Studio. Nothing works. I was able to see the logcat prior to my S7 updating. I'm using Android Studio 2.3.1. All sdk packages are downloaded and up to date.
Note: I posted this question here because I believe it to be more relevant to programming than hardware.

Unable to debug on IntelliJ on some phones

I am unable to debug on IntelliJ one of my apps, other apps debug just fine. The issue is only happening on my Galaxy Nexus 4.2.2 and on my Nexus 7 4.4.2. My GS3 with 4.3 works just fine.
The error I get is:
Warning: debug info can be unavailable. Please close other application using ADB: Monitor, DDMS, Eclipse
IntelliJ support says it is an issue with ddms, and I do tend to agree with them because when I open ddms by hand I can see no processes under the phones that don't work but I can see a bunch of processes under the phone that works.
Has anyone else had this issue?
IntelliJ is version 13.0.2 and I am on OSX 10.9.1
Thanks.
EDIT: I should mention I already tried restarting phone and laptop, removing the app from the phone, clearing data, clearing cache, clearing caches on intellij. Also I tried other apps yesterday and they worked just fine on all devices, so it seems to be just one app, I don't know if there is a way to clear something on ddms that it might be remembering about my app?
Turns out that when using an artifact that signs your app you must set debuggable=true on your application on the manifest.

installing app in the Android tablet

I have an android app which uses sqllite, i have the apk files built in 2.2 sdk. It runs smoothly on the emulator, but when I installed it on the Samsung Galaxy Tab (Android tablet) it gets installed but wont run. It gives me error "my_app_name(my_package) have stopped unexpectedly. Please try again "..I don't know why this happens..
please help
Have you tried using DDMS to see what the error is? It should report the line of Java it crashed on and give you an indication as to the problem..

Categories

Resources