AVD Manager Unknown Error - android-studio

recently I tried to make an AVD in Android Studio. But I came across with "Unknown Error" under "Recommendations" section. I have no idea what's causing this since it doesn't give me any info. Anyone can help me with that?enter image description here
Edit: I haven't posted the idea.log which it had some things in it that I dont understand after failing to make an AVD:
http://textuploader.com/dk7f2

You have to install all Intel Image Library and Google API for your desired API. Go to your SDK Manager and check intel system images is installed or not if not then you have to installed it as well install Google API Library.

Related

Vuzix sdk loading error cvc-elt.1.a cannot find the declaration of element 'sdk: sdk-addon'

I am trying to load the SDK for Vuzix through the SDK manager in Android Studio but for some reason it will not display the downloads in 'SDK platforms' and 'SDK tools'.
In the 'SDK update sites' tab next to the Vuzix link I added there is a red exclamation point that displays " cvc-elt.1.a cannot find the declaration of element 'sdk: sdk-addon' " when hovered over.
I am new to SDK's and have no idea what to do for this error. I've downloaded the android SDK's and sources for 26,25,24, and 23 thinking it could help but the error still shows up.
I still don't know what the error means but I solved it by connecting to my hotspot instead of my work network.
So my guess is it was a firewall issue or something, if anyone else has this error.
This means that the parser does not know the namespace. I tried it on Win7 and android studio 2.3.3 with the same result.
I tried it without the namespace or running android studio with oracle sdk. Both failed.
At the moment I try to run it on a virtual linux machine. Android Studio 2.3.3 will parse the addon xml file and download the files.
On Win7 I installed them manually, but they were not really integrated into to system and I stucked when I wanted to use the barcode SDK. maybe I am able some day to add simply this jar lib -
On a first look using linux seems to be the solution. But than I run into problems with the case sensitve file system. The vuzix SDK seems to need a linux system on a case insensitve file system.
*facepalm* and I am quite sure that i will fail at all. On linux a simple GUI compiles only against API 26 without errors.

Is GPU debugger (beta) from Android Studio 2.2 working?

I am trying to debug some OpenGL code, so I wanted to make use of the GPU debugger from Android Studio. For this I need to get a GPU trace, according to the steps detailed at https://developer.android.com/studio/debug/am-gpu-debugger-trace.html. But, after the dialog for trace name, Android Studio shows directly the message: Failed to attach to process.
Android Studio has version 2.3, and was recently updated.
On the device (Samsung S3) I see the alert: !Waiting for debugger.. process zzz is waiting for debugger to attach.
I tried to enable all GPU related options from developer options in device settings, also to disable all, with the same result. Is this feature working? My setup is not very uncommon.
I reached to a point where I get the message: The GPU debugger does not currently support tracing on this device. So the answer would be that it does not work on S3. I'll leave the question here, maybe it will save someone a few hours of investigation.
When trying to enable Run/Debug Configurations>Profiling>Capture GPU Commands, I was required to install "GPU Tools". Then, after accepting to install, it complained that they were already installed in the folder, and I should remove them prior to new installation. So I moved them away. Then it would give the error from the question.
After some attempts, I decided to put the contents of the folder back, deselect/select again Capture GPU. It said once again that I needed to install GPU tools, but this time I did nothing. The checkbox got checked anyway, and when trying to start the trace, went on to do some stuff without complaining about the attaching to the process. Finally it did not work anyway, but at least I know the reason.

Android Studio unable to fetch packages from some default SDK update sites

I just installed Android Studio 1.5.1 on a Windows 7 64bit machine. I went to the built in SDK manager and I see that Android Studio is unable to fetch from some of the default sources.
Now I have tried some solutions that I saw online such as ticking the Force https:// sources to be fetched using http://, using a proxy, etc. I tried them and it still doesn't fetch from the 5 sources above. I have already disabled my firewall and anti virus for what it's worth.
I also tried using the Standalone SDK manager and still wasn't able to fetch successfully from those 5 sources. Here's the log:
I find it strange that I'm able fetch from the other default sources when ALL of the default sources are from https://dl.google.com/android/.... anyway. I also tried opening the URLs on my browser and I can see the page load. I also tried pinging via cmd and I get replies from it.
Is the problem on Google's server side? Anyone else experiencing this currently? I did not face this issue on an installation I made 3 weeks ago...
So I tried to reload the sources again a day after and it now successfully retrieves the packages from the URL. I guess the problem was on Google's side after all. Hope this helps anyone who might encounter this issue in the future.

Is there a how to guide for testing livecode?

I have been trying for days to get a simple app any app made in livecode to display either on my tablet, smartphone or emulator. It just doesn't work. Here is what I have done:
I have installed my sdk and pointed livecode to it in preferences.
Picked 2.3 as my version
Check my google usb drivers and they are up to date.
I followed live code's step by step and no success. I am thinking that since I am running windows 7 not a Mac, maybe this cant be done. It seems all the developers run Mac's?
I even tried to make a .apk, It made the file but " There was a problem parsing the package" once I got it on my Galaxy tab. I made sure that I checked the box to allow programs to run on my tablet. So I am still stuck.
To see if the SDK is working correctly you could try to use the Android SDK emulator first.
Open the Android SDK Manager and select the menu Tools->Manage AVDs.
There you can create a virtual Android device and run it.
If the virtual device is running you can see the virtual device under "Development->Test Target in Livecode. Select it and either select "Test" under "Development" or press the "Test" button. Does this work?
That error message means that the operating system on your device is preventing the app from being installed. The most likely reason for this is that you haven't changed the "Allow installation of apps from Unknown Sources" setting on your Galaxy Tab. There are other reasons and solutions for this error message - to see them visit Panagiotis's excellent blog post on the LiveCode website, your error message is in the fifth example
https://livecode.com/how-to-deploy-apps-to-android-devices/

develop for Vuzix M100 smart glasses

I am developing for Google glass using Glass Development Kit + android studio. I am unable to run this apk file on Vuzix M100 smart glasses. So for this problem I checked its developer site .This website says that "We need to use eclipse IDE along with vuzix sdk to develop for same."
Please suggest me on below mentioned points :
So it will cause double work for me. Any body knows any solution to this problem ?
Can I upgrade Vuzix Smart phone OS to run API level 19 ?
How can I make this apk generated using GDK to run on Vuzix M100 Smart Glasses.
I have also come across this question ,but answer was posted a year before.
After much reserch and browsing I found out that wikitude SDK can be used for developing applications that can run on both google glass and Vuzix M100 smart glasses.For details check out the documnets listed below :
http://www.wikitude.com/documentation/
http://www.wikitude.com/developer/documentation/epson

Resources