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.
Related
Everything was fine until yesterday. This must be due to Windows update. No one touched the server. I have tired couple of similar solutions posted in Stack Overflow(all are old questions),none of them worked for me. What I have, Server Windows server 2019, APP netcore 3.1 ,IIS version 10. .net core runtime and SDK both are installed. This was working before. No one touched anything, just stopped working
In the browser appearing
HTTP Error 500.31 - ANCM Failed to Find Native Dependencies
When I executed on the command line
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in
When I checked event log. Something like below appeared. But let me tell you in the build
directory we don't have a file like app.runtimeconfig.json
What I have tried
Repair .netcoe runtime and SDK
Restore old DB backup
Reinstall .netcore versions
No pending Windows updates
Restart IIS APP pool also the server
Check file permission
None of them worked for me. If anyone can help, really appreciate.
For this issue, we can't find out that the environment of windows server caused by windows update is abnormal. As you said, it worked fine before.
So please allow me summarize below suggestions as answer.
Suggestions
Copy the publish file named original_file . And paste it in our dev pc or other server which have IIS Management. And test it, this publish file should be works. This step just confirm the publish file is normal.
Create a new website and a new application pool. Create a new asp.net core3.1 application and deploy it. Then check if it works properly under this new site.
The site should be fine in the second steps, and replace it with the original_file. And the application also should be works fine.
The site can't work in the second steps, it means the environment in you server has some problem. It could be registry issue or ApplicationHost.config issue in IIS and so on. If it's very important for you, you can rasie a support ticket and let official engineer help you to figure out what happend in this windows Update
After the third step, if the new site can run the original_file file well. We can compare ApplicationHost.config between the new site and the original one to see if any settings have been changed.
I've just created a new IIS website on a Windows Server 2008 in order to use it to deploy a new website.
The website is still empty.
If I try to open IIS Web Platform Installer under Management Tools, I get stuck on the error:
'doctype' is an unexpected token. The expected token is 'DOCTYPE'.
Line 1, position 3.
After closing the error, the Web platform Installer closes.
Do anyone know how to solve it?
Let me know in the comments if you need any other info or technical data, I have really no idea on how can I troubleshoot this
I had the same issue. However, I cannot uninstall IIS completely as I have many sites on my IIS running.
What I did was, I tried to install an IIS module which was not there. for eg, I chose CORS module.
You can get it from here https://www.iis.net/downloads/microsoft/iis-cors-module
Once I tried installing, WPI automatically uninstalled and reinstalled during the process and it resolved the issue.
Hope it helps!
As mentioned by #qbik Simply updating the Web platform installer fixed the issue. You can download the latest at this time from here.
Done, here's how I solved.
This issue seems to be strictly related to an old configuration of this server, so I had to manually reset it. If you face this issue, these following steps should work fine:
First of all, I had to remove the IIS role functionality from
Control Panel > Programs and Features > Turn Window Features on or
off > Roles.
Then, I restarted the server and added again the IIS role
functionality (make sure to check all of the asp net
functionalities).
After that, I restarted the server (again) and I have reinstalled: 1) DotNetCore.2.0.7-WindowsHosting (you've got to find the installer online, make sure to download the last version. 2.0.7 was the last when I made this question so on 25/05/2018) 2) Web platform Installer from here.
Executing web platform installer from all program inside start menu worked fine.
Hope it will be helpful
(See Also:
How to Install Web Platform Installer and Web Deployment)
I am using Android studio 3.0.1 and that is working really very fine. I have upto date SDK version and I have upto date gradle version.
Everything seems to be perfect now. But I am now facing a problem and I have no idea why it is occurring.
Problem:
Whenever I try to access webservices my emulator/AVD never access that. Also I am unable to access the internet using emulator browser. Even it is unable to open the Google.com page.
I have searched this problem but non of them is working for me. I have checked the Ip configrations and that is totally fine. I am not using any specific DNS settings and I am not using any special VPN network. My network adapter is just fine. I am using Windows 7
Please help me if anyone of you having solution of this problem. Thanks in advance.
Well there are couple of cases i want to discuss. And that is totally what I dig out after trying for hours.
I have same Issue. and for this I have seen that there was nothing wrong with the AVD i was creating again and again. But I was using Windows 10 and using android studio over it.
The problem was the virtual networks. I got them created for the Blue stacks and GeneyMotion emulator. They sets the IP and the DNS them self for virtual network
SO if you are having virtual network set their IP to defaults. OR disable them at all. Also disable other networks except the one you are using.
and after doing this all. Create the new AVD and check if that starts working.
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.
I was programming a web site and tried to load it into the embedded web browser within Aptana 3.0.3, but each time I loaded it, the program crashes/closes and give the standard "let Apple know about this". I am running iMac OSX 10.7 (Lion).
Tried that... when I do "Check for Updates" I get "No updates found" but with the following error:
No repository found at http://quantum.sourceforge.net/update-site/plugins/.
There doesn't seem to be any kind of page to resolve this issue.
I can't find 3.0.4 anywhere to download either.
Please advise!
Update to 3.0.4. The issue should be fixed there.