INSTALL_FAILED_ABORTED error on Huawei P40 Pro (ELS-NX9) - android

I'm trying to migrate our existing app the Huawei App Gallery. In order to test the Huawei AGC, I tried installing a sample Android app to this Huawei P40 Pro (ELS-NX9) device, but I keep getting this error. This app is nothing but a basic app in Android studio. I have configured the project according to Huawei AGC instructions as well.
This is what I get
Launching 'app' on Physical Device.
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_ABORTED
Installation failed due to: 'null'
Retry
However, I can install the same app in other physical devices.
My Android studio version is 4.1.1
I tried the given tips on this, this and several other questions relevant to similar issues but still no luck.

Please try the following steps below:
Enable Developer options.
Disable Monitor apps installed by ADB.
Result:

Related

Why Android studio won't run app on Android Pie (9.0)?

I've upgraded my Google Pixel to Android 9.0/Pie.
When I try to run an application from Android studio I don't see the Google Pixel in the list, there's only a null device named FA69R0306649. When I run my application, Android studio tries to install the app but then fails.
It looks like Android Studio is not recognizing the phone anymore. It Worked perfectly fine a couple of hours ago under Oreo (8.x).
Also, if I deploy the app on google play as alpha and then download it runs perfectly under 9.0/Pie.
Any suggestions to get the run/debug working with android 9.0 phone under Android Studio (3.1.4)?
The Pixel running 9.0 requires USB 2.0 high speed.
Apparently the Pixel running Android Pie cannot talk to the PC using neither USB 3.0 nor USB 1.1 full speed nor USB 2.0 running at full speed.
I had a similar problem with my Xiaomi Mi A1. When I upgraded from Android 8.1 to 9 Android Studio would hang on "Installing application" forever.
After trying revoking USB debugging authorization and completely reenabling developer options with no success it turned out a simple restart did it.
Looks like there are multiple issues that lead to the same problem.
I had the same issue with a Xiaomi Mi A2 after upgrading to Android 9. If you are using Linux, try adding the udev permissions manually, following the steps described here. In my case, that was the only solution that worked.
Please re-enable developer options again after the OS version upgrade, the device name will appear and it will be working fine again
Install Sdk Platforms of Android 9. In Android studio Top Right besides Search Icon.Press That Icon of SDK manager and look either sdk platform is updated and installed.
A simple solution just go to your Developer option on your phone , right below the USB Debugging option it says to "install via USB" just enable it and you are all set to install an app through android studio into your 9.0 device.

Unfortunately app Stopped - While running in real device but working well in emulator

My Android App is running successfully in android studio emulator, but after installing the same apk file in my mobile it is installing and it is shows the following error
Unfortunately app stopped
while I try to open it.
how to fix? My android version is 6.0(both emulator and mobile).
I suggest you check the permissions of your application. Since version 6 of Android, you must request the permissions on demand.
Look at this topic:
https://stackoverflow.com/a/34722591/3665983

Sample instant app requires newer SDK

I'm keep getting the error at the bottom of the question even though I followed official emulator setup guide and sample project setup guide to the letter.
Using:
- Android Studio 3.0-Alpha7
- Pixel emulator with SDK 23
Provisioning succeeds and was able to enable instant apps in Settings > Google > Instant Apps
Side loading instant app failed: Failure when trying to read bundle. Instant App com.instantappsample requires an SDK version which is newer than the one installed on device. Please update the SDK on the device.
Error while Uploading and registering Instant App
Creating an API 26 (aka O) emulator allowed me to successfully install the Instant App, while otherwise following the guide. Hat-tip to donly from Github project android-instant-apps
Workarounds I tried unsuccessfully first:
Uninstalling "Google Play Services for Instant Apps" (from the other answer)
Downgrading to Android Studio 3.0 Canary 5
Using a physical device that can run instant apps (Galaxy S6 SM-G920V, Android 7.0)
This might be an issue on our end. Thanks for reporting. Please try the following workaround:
Settings -> Apps
Find Google Play Services for Instant Apps.
Uninstall this app.
You might get a notification when it's uninstalled, but please ignore it.
Now proceed to run your instant app again. This issue should go away.
It works for me to switch to API O X86 emulator.

How to install Gapps for Android 6.0 on Android Studio 2.3.3 Emulator

I need to crete a new AVD with LG k10 specs and Android 6.0 on Android Studio (2.3.3) Emulator.
I followed this guide: Installing Google Play Services on an Android Studio emulator
After downloading and installing, when I run my Virtual Device now I can see the Play Store App.
But I have an issue: I can't login with my google account.
I receive the follow screen:
The login failed but I received on my Gmail account the alert about connection from a new device.
The login failed also creating a brand new account.
Internet connection on Virtual Device works, I can navigate on internet via default Browser.
How to install correctly Gapps for Android 6.0 on Android Studio Emulator?
this link might help You, I have tryed installing many apps on emulator and I think it might just fit and help with Your problem.
Link:
http://www.flinkd.org/installing-google-play-on-the-android-emulator-api-21-lollipop/
And heres the full walktrough:
Android Studio emulator does not come with Play Store for API 23

Error installing app on Android 2.3 device

I build an app using these instructions: http://developer.coronalabs.com/content/build-android-devices-windows. When I connect my device with USB cable and transfer the .APK file. And when I try to install the app, I get an error message which simple says that the app has not been installed or something like that. The app(game) is working fine in the Corona Simulator but not in the real device.
This is the app - https://www.dropbox.com/s/j6jft1y81klh8gz/BlackJack.apk
(but actually I'm getting this error in my device whatever app I trying to install).
And I'm using Samsung Galaxy Y GT-S5360, android 2.3.5 (Gingerbread).
Thank you for any help.
The problems come's from the processor of the phone it uses ARMv6 processor which does not support by the new SDK Build of Corona
see this link it has the same problem as yours http://forums.coronalabs.com/topic/21994-resolved-armv6-support/
Since you mentioned that you receive the error no matter what app you are trying to install, make sure that you have enabled Unknown sources on your device in order to be able to install APK files directly. This location of this setting is usually found in the Security setting.

Categories

Resources