Most apps crashes on Android emulator - android

I'm running android emulator with a virtual device API version 21 (also same testing on 22) because apparently my processor, AMD Phenon II x6 1055t, is not supported by google anymore as I have researched here on SO. Indeed creating a device with version 21 or 22 successfully made the emulator open and boot the virtual device OS.
Now my problem is that the app I'm developing does not open, it either crashes or freeze during load.
This is not unique to the app I'm developing, maps, settings, and the sample project from android studio also do not open. For maps and settings I see the message that google play services stopped working.
BTW if I reboot the device, this message that google play services stopped working floods with popups for about 2 minutes until it stops after that time.
I have captured the error messages by running the emulator with this command: emulator #Pixel2_21 -logcat '*:v'
and pasted the complete log here: pastebin.com/acgF6A8K
I can provide more logs if someone instructs me on how to do so.
I wonder if shows any clues or if I'm still at a stage that it could be anything
Thanks in advance
Update 1.
By selecting another image that does not include google API I was able to launch some of the native apps that were not loading before. Same API version 21, just selected another one that do not include the google API.
The app I'm developing still does not load though
Update 2
See the link below for more info on specific compatibility for my processor related to the Android OS API versions:
https://issuetracker.google.com/issues/37076174

Related

App requires latest version of ARCore. Google Play Services for AR says my device isn't compatible with this version

What steps do I need to take when I have troubles trying to use an app I created and try to run it on the latest Samsung Tab A 10.1? I tried to start the app, the message displayed is :
This application requires the latest version of ARCore
So I tapped the continue button. I was taken to Google Play. The title says "Google Play Services for AR". Then below that it says:
Your device isn't compatible with this version
Does anyone have a solution, please?
Firstly check whether the device you are using has the ARCore support:
It was indeed an easy experience in terms of building and running the app on the IOS device, iPhone 10. There were no complications in activating the ARkit in the devices since they were built in like the documentation mentioned. It was particularly gruesome in building the AR app on an Android device. As per the documentation the Android devices such as Samsung Galaxy A70S is compatible with ARCore.
Firstly the app simply crashed on installing into the device
As a part of the workaround, I looked for installing, "Google Play Services for AR" on my play store which simply didn't show up
I directly tried to install the app "Google Play Services for AR" through google but it failed with the message, the app is not compatible with my device.
I did a trial and error with installing the "Google Play Services for AR" apk directly from https://www.apkmirror.com/apk/google-inc/arcore/, specifically https://www.apkmirror.com/apk/google-inc/arcore/arcore-1-13-19100710-release/google-play-services-for-ar-1-13-191007106-android-apk-download/ to my Android device to enable ARCore which supported 64-bit processor
The app was however still crashing due to the 403 forbidden IP error on persisting the data
The issue got resolved on adding my public IP to azure rules

Android Instant Apps not running on Pixel

Recently my Pixel started showing the following message:
Development Mode Active -
URLs will be routed to Dev Manager in order to launch Instant Apps locally.
Also, in settings -> apps I can see Google play services for Instant apps.
Now, when I tried wish and buzzfeed tasty so that I can run their Instant apps I was taken to their site and not in the Instant app.
I built an Instant app in Android Studio 3.0 Canary 4.
It is working fine on the emulator but when I connected my Pixel running on android 7 it shows the following error -
Side loading instant app failed: Reading bundle timed out.
and when I retry some more times it shows this -
Side loading instant app failed: Failure when trying to read bundle.
Unable to connect to Google Play Service ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
A same question has been asked here but in this case the problem is with the emulator not a real device.
CompiledSdkVersion 25 targetSdkVersion 25 buildToolsVersion 25.0.3
Any help would be appreciated and also a list of some already published instant apps I can try.
Unfortunately Instant Apps is not yet available in India. That means, Instant Apps features are by default turned off on the real devices, including in development environment. See the list of supported countries here: https://support.google.com/googleplay/android-developer/answer/7381861#production
We are working on this issue and will provide an update in a few weeks. In the mean time, please use emulators for you development.
In your instant App run configuration.
Try To enable Instant APP Provision and "Clear Provisioned Devices Cache"
Now Instant apps is available in India.
You can check by searching buzzfeed tasty in chrome.
Attaching screenshot below
Or you could visit https://developer.android.com/topic/instant-apps/index.html and click the screenshot on that site. Post clicking website will open. Below that website a popup will show to "open app". Post clicking "open app", instant app will get opened
Note : Turn on instant app in Google menu in Settings in phone before trying above

Android Studio Preview 3.0 - Application installation failed when running instant app

I am new to running instant app. I have created a new "Hello World" project with instant app support, according to android developer documents.
But, when running "instantapp", the following error occurs:
I would appreciate it if anyone could help.
Note: There is a known issue running Instant Apps on the emulator image that includes the Google Play Store which will give this same error. For now, please use the emulator without Play Store.
Google Play Services giving statusCode=API_UNAVAILABLE means your device is not able to run Instant Apps for one reason or another. For example, you are not using a supported device or you are not in a launched country. Please see here for a list of supported development devices and here for a list of countries Instant Apps are available in.
The emulator should still work for development and will run outside of any restrictions. For instructions on setting up an emulator for Instant App development see here:
https://developer.android.com/topic/instant-apps/getting-started/setup.html#setup-emulator

Why Google search is not up-to-date in android emulator?

Was trying to pair android emulator with android wearable.
I created an AVD(Nexus 5 skin) using Google API with Lollipop 5.0.1, Google Services is running 7.3 on that emulator, but Google search function is so out dated, it even has the 2.3 theme in it and wearable needs a much higher version.
what a shame!
Am I doing anything wrong here? I have tried to pair emulators using genymotion, after install ARM translation and Google services, the Android Wearable Companion just keep crashing.
If there is a good post out there please share, thanks!

Google Play Service Is Not Woking On Emulator

I am trying to test a Simple Map application on Emulator.I also Installed the Following Apks on emulator com.google.android.gms-1.apk and com.android.vending-1.apk and Google Play Store 4110.apk and Here is Preview of My emulator
device 3.2 HVGA SLIER(320480*)
TARGER Google APIs Api Level 15
internal storage 200 mib
sd card 500 mb
Any One Help Me to Get Out of This Issue Plz i am trying Since two days But Map is not loading On emulator
You should test your map application on a real device. I would suggest you to test it on a real device.
There is a work around. Drawing from the below link. I have not tested it. But you can give it a try.
http://blog-emildesign.rhcloud.com/?p=527
Download com.android.vending.apk from
http://www.mediafire.com/download/pxpjfkveemq29qk/com.android.vending.apk
Download com.google.android.gms.apk from
http://www.mediafire.com/download/zn8wna5wf4ek5le/com.google.android.gms.apk
Open eclipse and the AVD Manager and create an AVD with the following configuration:
Start the AVD and wait for it to finish booting, next open you command prompt and install
both apk’s using the “adb install” command. for example:
To install use the following command
adb install com.android.vending.apk
You should receive “SUCCESS” message at the end of the installation process (that may take some time).
When you finish installing both apk files, close the AVD and reopen it. Now you should see a map in your application when you use the AVD instead of this annoying message.
Note : This will work only if you are using google-play-service lib revision #4 in your application (and workspace). If you have already updated google-play-services using the SDK Manager to the latest version (Currently: revision #6) you will receive an error telling you that you that the google-play-services used by your application is too old and needs to be updated:
Further you can check this blog by Emil Adz.
http://blog-emildesign.rhcloud.com/?p=435
You need any of the below to test Google Play Services .apk:
A compatible Android device that runs Android 2.2 or higher and
includes Google Play Store.
The Android emulator with an AVD that runs the Google APIs
platform based on Android 4.2.2 or higher.
Yours is 4.0.3
There's a new emulator called Genymotion that supports play store and google play services

Categories

Resources