Google Glass Disabled in Android Studio after installing SDKs - android

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/

Related

Android Studio AVD on Chromebook

I am running Android Studio on a Chromebook. It is listed as one of Google's suggested Chromebooks for running Android Studio. I have it installed but I cannot run anything as it seems the emulator/AVD is not working/enabled. I have enabled developer mode but it does not appear to work. Is there a way to make this work and/or is there a work-around, e.g., (not ideal) could I just run the APK somehow?
The capability to debug directly Android application on ChromeOS (sideloading them) has been announced at the Android Developer Summit 2019.
This should be added to ChromeOS v80.

How to develop android apps with xamarin without hyper v and emulator

I am using windows 10 home and visual studio 2017. I want to develop android apps with xamarin. Hyper-V feature is not available on windows 10 home and I can not afford pro version, So emulator is not installing without hyper-v.
What should I do to develop android app?
Have anybody idea to deploy android app without using emulator and hyper-v?
Thank you in advance!
It's possible to develop Xamarin app without using the emulators. But in that case you'll need to have an Android device to deploy your app on.
Setup Android SDK Manager on your system. Although Xamarin includes a
SDK Manager, you can download it from the following link. Android SDK Manager download
Setup the ADB (Android Debug Bridge) on your system (install Google USB Drivers)
Connect your Android device to the system after you enable USB Debugging(Developer options) on it. Once the device is connected it will give you a prompt to enable debugging. Tap yes and you'll see the option to build to your device as shown in image.
You can try to use any avaliable on windows android emulator. I like to use Bluestack (https://www.bluestacks.com), the steps for use it below:
Install Bluestacks emulator
Launch emulator and wait for load finished
It's your wellcome screen, your application and apps from store will be here
Go to settings > Preferences and check "Enable android debug bridge (ADB)" + "Enable Android input debugging"
One time Setup finished
"Open android adb command promt" and type
adb connect 127.0.0.1:5555
If you have done everything good you will be connected to emulator and ready to debug your application
Good luck!
UPDATE:
As of visual studio 2019, non-hyper v emulation has been stopped.
Old Answer
I am very positive that at the time of VS installation the Visual studio emulators for Android are readily available for download and use, there you can find a good amount of android emulators also it provides you with Android SDK which again can be used to create Android emulators without using Hyper-V
The below link contains all you need to know about Visual studio emulators including on how to install :
https://msdn.microsoft.com/en-us/library/mt228279.aspx
Hope this Answers your question.
Goodluck!

Google Glass Application development startup on Eclipse

I am an Android Developer and I want to start working on Google Glass application. I have installed Eclipse in my computer but I learnt that it will not work for Google Glass development. Some blogs suggested I should use Eclipse Indigo.
I have checked and installed Eclipse Indigo and ADT and other plugins.
I am trying to run my glass on debug mode but system is not detecting it.
Can anybody please help me with how to set proper environment for Google Glass and how to make it detect?
Two things that you have to do first:
Install the Glass Development Kit preview via the SDK Manager (Should be under the 4.4.2 platform).
Ensure that you have Debug mode enabled on your Glass. After enabling Debug mode when you plug Glass in for the first time you should be asked if you'd like to trust the computer on the Glass. I select Always Allow so I don't get asked multiple times.
By the way, I am using Eclipse Kepler (but mostly IntelliJ), so I doubt that the version is critical.
Good luck!

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.

Google Glass : Launch AVD Manager

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.

Categories

Resources