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.
Related
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:
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
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
We developped an app for Android system with Intel xdk. Recently a customer tell us that it doesn't work on android 2.3 version. We would like to know how can we run the file apk on a 2.3 device for testing. If someone has some idea to help us we would be extremely grateful. Thanks
Do you have the apk downloaded in your 2.3 version android device?
If not, you could install it sending the apk in an email to the account in your android device, allow installations of apps from unknown sources in your settings in case that you didn't set that option before and follow the steps to install and run the app. Then you can test if the app is able to run in 2.3 version.
Create different AVDs of different OS Versions and test the app in all AVDs.
Otherwise go for genymotion.
I just signed up for 'C2DM' and created an 'Appengine connected
Android Project'. After starting the Android Project, when I try to add my Account comes an error after the Server Settings: "Unable to open connection to Server". Is this
error coming up, because my C2DM account hasn't been released yet?
What target are you using? If you're using the AOSP (Android) 2.2 or above, you need to switch to using the Google API level 8 instead. This will allow you to use a (required) google account.
Edit: Let me clarify in that it's the emulator that needs to be running Google vs Android target, not the build target of the app.
Google Api 8 Emulator will give no problem. Worked for me.
in Eclipse..
Menu > Windows > Avd Manager > Create a new AVD with google api 8 .
Make sure to change the run configurations of project too...