Google Glass : Launch AVD Manager - android

I want to run the sample app of Google Glass. I am using the Eclipse environment. I have already downloaded SDK platform and Glass Development Kit - Sneak Peak. But when I try to launch the Android Virtual Device Manager and select target as Glass Development Kit Sneak Peak, it does not launch.
What should I do ?

The Android Virtual Device Manager is for emulators; it may not help because there is no officially supported Google Glass emulator. You may want to check this post for more information.

Related

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

Using Android Studio 2.0 emulator with Google Services

According to an article in the Android Developers Blog, regarding the release of Android Studio 2.0:
Android Emulator - The new emulator runs ~3x faster than Android’s previous emulator, and with ADB enhancements you can now push apps and data 10x faster to the emulator than to a physical device. Like a physical device, the official Android emulator also includes Google Play Services built-in, so you can test out more API functionality. Finally, the new emulator has rich new features to manage calls, battery, network, GPS, and more.
Great! That's exactly what we need. Later on the article they explain how we can get Google Play Services in our emulators.
Trying out the new emulator is as easy as updating your SDK Tools to 25.1.1 or higher, create a fresh Android Virtual Device using one of the recommended x86 system images and you are ready to go. Learn more about the Android Emulator by checking out the documentation.
I have SDK Tools 25.1.1 installed. I have a fresh Android Virtual Device running x86 system image.
No Google play services :-(
What am I missing?
When you create your virtual device, be sure to choose the one "with Google APIs". If that isn't an option, you will have to use the Android SDK manager to download the Google APIs for each API level you want to work with.

Google Glass Disabled in Android Studio after installing SDKs

I installed Android Studio and the necessary SDKs for Google Glass Development, however, Glass is stilled disabled whenever I create new Android project?
Is it necessary that I have my own Google Glass device in order for this to work? I'm planning to use an emulator, though?
See the screenshots here:
Screenshot 1:
Screenshot 2:
Sorry, there is no official emulator for Google Glass.
If you really want to make glassware, you should consider buying Glass.
Glass is stilled disabled whenever I create new Android project?
When you create Glass project, the SDK will be added as a dependency but that doesn't mean you have Glass emulator.
Is it necessary that I have my own Google Glass device in order for this to work?
As of now, you need Google Glass for development. There is no official emulator.
I'm planning to use an emulator, though?
Google hasn't released Glass emulator.
More info:
Is there an Android based Google Glass Emulator?
Offline emulator for Google glass OS
In my case, I fixed the problem by installing again the latest version of Android studio.
Please don't edit the plist located in /Applications/Android Studio.app/Contents/Info.plist because is probably that doing this will break android studio.
Instead of doing that, open android studio this way, for example:
$ export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk
$ open /Applications/Android\ Studio.app/

Unable to connect Glass to run gdk samples

I have Glass with version 4.0.4, XE 12.1
I just installed the latest ADT with Android 4.4.2 (API 19) and Glass Development Kit Preview.
My problem is when I try to run samples, DDMS shows the Glass device as being online but when I try to run the application, it gives the following error on the console:
Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
When the Android Device Chooser window opens, there is no entry for Glass in the list.
Glass has debug mode turned on and is visible in DDMS but just not compatible for some reason.
This also brings me to a related question. I just received my device in the mail yesterday and left it charging overnight but still has not updated to XE 16. Glass is connected to wifi and the internet is fine on it. What do I need to do to force it to update itself?
Thanks for your help.
You might try the following:
First, make sure that your Google Glass is updated to XE16 (connect to your home/business wifi; plugin charging cable). Do not attempt to go further until your Google Glass has updated
Once that is done, you might look at some of the other answers to "how do I connect". Some of the steps for this are shown below.
What OS are you using (Windows?). Let me know and I will update the answer with what I had to do to see Google Glass (or look here )
I guess you set the wrong project target.
If you are using Eclipse, open project.properties and make sure the target looks like this:
# Project target.
target=Google Inc.:Glass Development Kit Sneak Peek:15
Not
# Project target.
target=android-15
You can try:
Open project properties (Alt+Enter) -> Android -> Project Build Target -> Glass Development Kit Sneak Peek
BTW, IMO, Glass update is pretty random. I have no idea how Google decides who gets the update. You can flash the system image if you don't want to wait. Please see https://developers.google.com/glass/tools-downloads/system. (Warning: Rooting, unlocking, or flashing your Glass voids your warranty.)
The fact that Glass is displayed under DDMS shows, it is being detected by ADB. The reason you are not able to run the app on Glass is that, your current version of GDK is not compatible with Glass XE 12.1. If you run projects with Android 4.0, you can see your device listed.
In order to resolve this issue, upgrade Glass XE to the latest and try running the app. Then your device will be listed under currently running devices.
Glass XE will be automatically upgraded. Make sure your device is connected to WIFI, connect device to the charger and restart.

Android : Error to install Google play services in android emulator?

I am using Google Maps on the Android emulator, but it is asking me to install Google Play Services but when I click on install it is crashing.
Thanks in advance
What you need to do is:
Install Google Play Services and Google APis from the Android SDK Manager.
Create an AVD (Android Virtual Device) with a target: Google APIs. The device should run android 4.2 or higher.
For more information check here:
http://developer.android.com/google/play-services/setup.html
Making new emulator with X86 architecture worked for me .
This is a hack from one of the posts on SO that I used and had setup on my machine. Dont have the link right now, if someone could post that please, this is just a dump from back then that I had copied.
1.) Create a new emulator
2.) For device choose "5.1'' WVGA (480 x 800: mdpi)", Target choose "Android 4.1.2 - API level 16", "CPU/ABI" choose "ARM" and The rest choose defaults
3.) Start the emulator
install com.android.vending-1.apk and com.google.android.gms-1.apk via ADB install command
Voila! It worked for me. Last I checked this was only possible otherwise officialy on devices. But that is 2012 December knowledge, I havent checked again

Categories

Resources