Is the first time I try to install an Android Wear app from Android Studio.
When I try to install the app I get the dialogbox for re-install the app. Then If I press "Yes" I get the following error:
$ adb shell pm uninstall com.test.wear
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APK
Also, I am not able to debug.
Also I am not able to uninstall the wear app using adb.
Please give me a better solution...
I faced the same issue and it turned out that Wear Emulator need to get Play Store Services for Wear updated after being created. See "Pair a phone with the watch AVD" section here.
Once you pair your Wear Emulator, open Android Wear app > click on gear (settings) > select Wear Emulator > Select ReSync Apps
Once done, try re-running wear app from Android Studio.
Related
I have just installed an Android Emulator - which is Pixel 4 API 28 - on my Windows 11 computer. I have a project in Expo and I want to test it on Android Emulator. For this, the Expo needs to install Expo Go on Emulator to load my project. By default, it installs automatically when I request for installation by pressing a on my terminal. It detects the connected and available devices on my computer and installs the application.
But for me this does not happen. Instead of installing automatically, the terminal prints me this:
› Opening on Android...
. Learn more: https://expo.fyi/authorize-android-device_4_API_28
This link leads to a 404 page of Github but if I remove the "_4_API_28" part from hyperlink it leads to "Authorize Android Device" page from fyi. This page guides how to reset USB debug permissions of my device to allow my computer to get debug access. I have already did that on my android emulator but nothing changed, it still prints that message.
Is there anything I can do to solve this issue and install Expo Go on my android emulator property?
I am trying to run my react-native apk on my physical device but after I get past the login screen, it just crashes. I followed the steps in the documentation to sign the apk before doing ./gradlew assembleRelease and then I sent it to my phone and I am trying to run the release apk not the debug one. The app doesn't crash right away but after I log in. It is important to note that the app working perfectly fine when running it with:
react-native run-android --variant=release
I also cannot see the logs for the device because for some reason my pixel2 XL will not show as a connected device on my computer. I've enabled the USB debugging, installed the Google Device driver, changed the default USB configuration and tried all the options in settings > Developer Options > Default USB Configuration but still cannot get it to connect. Also, I've noticed when I try to uninstall and reinstall the apk, it won't let me reinstall it. It just says 'App not installed.' I've been trying to figure this out for so long I thought I would reach out on here for some help. Thanks!
you can use instabug to view and analyse release build errors. Here is the documentaion for integrating it with your app.instabug react-native
Android studio show you a cause of crashing, this way you can check your crash logs.
Tools -> Android -> Android Device Monitor
There sort of way to uninstall app but I would suggest use adb command line and run below command in your terminal.
adb uninstall <your package name>
I have a problem while installing the app-release.apk to my phone (Galaxy J5 2016, Android 6.0.1).
I have developed an application using Android Studio and tried to release it to the user with the .apk file.
but unfortunately, I encounter the below problems while install:
I cannot uninstall the debug version from android studio in my
phone.
There is an error of 'Package installer has stopped' whenever
I want to install it to my phone and my friends phone.
Note that I have signed the application in android studio.
This can happen when app is not installed properly via ADB.
Go to your Phone Settings -> Apps -> Select your app and Uninstall for all users.
Try to run again from Android Studio to phone.
I work on an Android project . I compiled my application on Virtual device and it works fine but when i close the application it vanished from my device and i can't run it again. But it's shown into installed apps when i go to settings and see my apps.
I copy/paste the compiled app-debug.apk to my device and try to install it manually however it install successfully but i am not able to open it.
Is there a way to test the application on the real device without publishing to Android market?
It can be easily done. just connect the phone to you computer, install the drivers that come with the SDK.
Now if you are using eclipse then just go to the "run configuration" of your project and select manual in the Target tab. Now when you run your application through eclipse you will get to select the device on which to run the application and there you can see your device.
Alternatively, the same can be done via command line by typing adb install <app_name> and the application will automatically be installed to you phone. While using command line make sure that you are not sunning any emulators, else adb will give an error since it will confused on where to install the application.
On a device, turn on debug mode (in the Applications menu under Settings). When you plug your device in, it will show up alongside your emulators. If you have no booted emulators, running or debugging your app will automatically default to your device.
Hope this helps!