На чтение 4 мин. Просмотров 1.5k. Опубликовано
В самой используемой ОС в мире есть и самые активные разработчики. Конечно, мы имеем в виду Android и его приложения. Теперь большинство пользователей будут работать под управлением Android Studio под Linux, но значительное количество разрабатывают приложения для ОС Windows. В последнее время пользователям, которые обновили Windows 7/8 до Windows 10, было трудно работать с Android Studio.
Мы позаботились о том, чтобы заручиться поддержкой нескольких проблем. Если вы не можете запустить Android Studio в Windows 10 , следуйте приведенным ниже инструкциям.
Содержание
- Не удается запустить Android Studio в Windows 10? Вот что делать
- 1: убедитесь, что у вас установлен SDK
- 2. Запустите приложение от имени администратора и в режиме совместимости.
- 3: отключить UAC и антивирус
- 4: переустановите все связанные приложения
Не удается запустить Android Studio в Windows 10? Вот что делать
- Убедитесь, что вы установили SDK
- Запустите приложение от имени администратора и в режиме совместимости
- Отключить UAC и антивирус
- Переустановите все связанные приложения
1: убедитесь, что у вас установлен SDK
Странное появление приложений, работающих на Windows 7 или Windows 8 и внезапно заканчивающихся сбоем на Windows 10, не является чем-то новым. Однако в этом случае большинство пользователей смогли запустить Android Studio на Windows 10 так же легко, как и на предыдущих итерациях Windows. Просто некоторые пользователи не смогли запустить этот инструмент разработки, даже после нескольких попыток.
- ЧИТАЙТЕ ТАКЖЕ: эмулятор Android Hyper-V теперь доступен в Windows 10 v1803
Несмотря на то, что это редко, мы все равно должны посоветовать вам проверить Java SDK (Software Development Kit) от Oracle. Без этого Android Studio не будет работать. Даже если вы выполнили обновление до Windows 10 за предыдущие итерации, переустановка этого инструмента может помочь. Возможно, некоторые компоненты не были перенесены с системой, и именно это и является причиной проблемы.
2. Запустите приложение от имени администратора и в режиме совместимости.
Другим подходящим подходом, когда стороннее приложение не работает, является предоставление ему административного разрешения. Кроме того, запуск программы в режиме совместимости также может помочь. Многие сторонние приложения не будут работать так, как задумано в Windows 10, из-за более ограниченного характера системы.
- ЧИТАЙТЕ ТАКЖЕ: Windows 10 на ARM подвержена проблемам с производительностью и совместимостью приложений
Однако, как мы уже говорили, вы можете решить эту проблему, настроив параметры совместимости. Выполните следующие действия, чтобы разрешить административное разрешение для Android Studio:
- Щелкните правой кнопкой мыши ярлык Android Studio и откройте Свойства .
- Установите флажок « Запустить эту программу в режиме совместимости для ».
- Выберите « Windows 7 » в раскрывающемся меню.
-
Установите флажок « Запустить эту программу от имени администратора ».
- Подтвердите изменения и перезагрузите компьютер.
3: отключить UAC и антивирус
Даже если мы не можем открыто рекомендовать отключить UAC (контроль учетных записей) в Windows (из-за очевидных причин безопасности), вы можете попробовать его временно. Когда дело доходит до более деликатных и сложных приложений, которыми, безусловно, является Android Studio, системные ограничения могут быть слишком большими.
- ЧИТАЙТЕ ТАКЖЕ: Ошибка установки программного обеспечения «Ошибка 5: доступ запрещен» в Windows [FIX]
Вот как отключить UAC в Windows 10:
-
На панели поиска Windows введите UAC и откройте « Изменить настройки контроля учетных записей » из списка результатов.
-
Перетащите ползунок вниз и подтвердите изменения.
- Если система попросит вас ввести пароль, введите его.
- Перезагрузите компьютер.
Более того, хотя мы говорим об ограничениях, сторонний антивирус может иногда блокировать выполнение различных приложений. По этой причине, если вы доверили защиту системы стороннему решению, обязательно отключите ее временно. Некоторым пользователям удалось заставить Android Studio работать, когда защита в режиме реального времени была отключена.
4: переустановите все связанные приложения
Наконец, все оставшиеся решения, которые мы можем понять и включить в этот список, указывают на переустановку. Теперь, как мы уже упоминали, обновление системы до Windows 10 должно позволить вам использовать все приложения из предыдущей итерации Windows. Однако в этом случае мы настоятельно рекомендуем переустановить все и начать с нуля.
- ЧИТАЙТЕ ТАКЖЕ: 10 лучших программ для создания игр для пользователей ПК
Конечно, если у вас есть несколько проектов, обязательно сделайте их резервную копию перед удалением Android Studio и SDK. Надеюсь, вы сможете продолжить работу позже. Здесь можно скачать Java SE Development Kit.А последнюю версию Android Studio-совместимой версии для Windows 10 можно найти здесь.
Это должно сделать это. Не забудьте поделиться альтернативными решениями в разделе комментариев ниже. Мы будем благодарны за ваше участие в этом деле.
I just downloaded and installed Android Studio. For whatever reason, it won’t open. I’ve tried running it as administrator, but that doesn’t seem to work either. I’ve also tried uninstalling and reinstalling, but I’m still having this same problem.
asked May 16, 2013 at 5:05
Willem EllisWillem Ellis
4,9067 gold badges38 silver badges55 bronze badges
11
On windows open task manager and check if android studio is there.
End the task and start the app again it works like a charm
answered Jul 8, 2020 at 11:09
5
Figured it out! I’m sure someone will run into this in the future, so here goes.
Even though it found my JDK during installation, it wasn’t able to find it when I was trying to open it, for some reason. Simple fix. Add a JDK_HOME
environment variable to your system variables. It should contain the path to your JDK’s ROOT directory. i.e. c:\Program Files\Java\jdk1.7.0_21\
answered May 16, 2013 at 5:22
Willem EllisWillem Ellis
4,9067 gold badges38 silver badges55 bronze badges
10
For me this technique works
- Hover on icon, then hover on app
- Press right click and select maximize
answered Feb 16, 2021 at 9:29
Zuhair NaqiZuhair Naqi
1,16211 silver badges21 bronze badges
5
OS: Windows 10 64bit
Need to delete below folder and try launch Android Studio again.
C:\Users\your_user_name\AppData\Roaming\Google\AndroidStudio4.1
Source: developer android
answered Apr 21, 2021 at 5:36
SamirSamir
3,9439 gold badges36 silver badges43 bronze badges
1
This link http://tools.android.com/knownissues lists another cause for the launcher malfunctioning.
I quote the link here:
»
On some systems the launcher script does not find where Java is installed. Workaround is to set a variable indicating the location of Java [b/55281]:
- Open Start menu > computer > System Properties > Advanced System Properties
In the Advanced tab > Environment Variables, add new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21. - Another issue we found is that the launcher script uses an option that is unknown to Java on some system [b/55267]
Open the installation folder of Android Studio (e.g. C:\Programs Files\Android\android-studio, or C:\Users\\AppData\Local\Android\android-studio) and find the «bin» directory in there.
Open a «cmd.exe» (command prompt), cd to the android-studio\bin folder and run «studio.bat». You will most likely see an error: for example b/55267 is about the option -XX:+UseCodeCacheFlushing not being recognized. Report the error, remove the line from the studio.exe.vmoptions or studio64.exe.vmoptions and it should now work.
Apologies for this weak launcher.»
answered May 26, 2013 at 0:13
narasinarasi
4633 silver badges8 bronze badges
1
I am Installing Android Studio 4.1.1 in my Windows 10 and trying to open as normal as well run as administration both ways but did not open as regular.
When I saw in Task Manager then it was run as a background process then simply I was Endtask it in that background process and re-open. It works for me…!!!
answered Jan 21, 2021 at 16:55
Dhruv RavalDhruv Raval
4,9563 gold badges30 silver badges34 bronze badges
1
Just add a JDK_HOME variable with the path of your JDK as value and start the IDE again. That’s the only thing to do, hope this closes the other questions.
answered May 16, 2013 at 11:41
Windows 7 user:
I tried all the above ideas ( adding JDK_HOME, JAVA_HOME environment variables), but the final trick was to run as admin.
If that fails, try «where java» in cmd.exe.
If it lists c:\system32\java.exe first, then rename the file.
answered Jan 15, 2016 at 1:32
arvimanarviman
5,10742 silver badges48 bronze badges
1
(i) Open the folder where android-studio is installed. (C:\Program Files (x86)\Android\android-studio)
(ii)- Right click on the android-studio folder and scroll to properties.
(iii)While in Properties window, click on Security.
(iv)Click the Edit Button
(v) Select User/Admin…or others
(vi)Check «Allow» in front of «Full control»
(vii) Either Apply or Press OK
….At this point you have to wait for it to install….Enjoy!!!
And I use Window 8…!!! So same thing applies to Window 7…wonder why the security on it…
I am on Windows 8 64 bit machine.
I already had JDK installed and jdk.1.7.0 folder was present in C:\Program Files\Java. But path for that folder didn’t work. You must have jdk.1.7.xxx folder present on your machine and give that folder as JDK_HOME in Environment variable.
You can take latest JDK version from here
Make sure to choose Windows x64 version. Install JDK and then set your path. For those who are not sure how to set path in Windows 8, I have got following screenshots.
Go to bottom right corner. Click on Settings. Click on PC Info.
Click on Advanced System Setting link on left side.
Click on Environment Variables button. A Winodw will open with 2 listboxes. Click on New button below System variables listbox. New Window will pop up. Provide name as JDK_HOME and path as your path like «C:\Program Files\Java\jdk1.7.0_55». No need to take bin folder into the path.
answered Apr 19, 2014 at 3:24
Manoj AttalManoj Attal
2,8063 gold badges28 silver badges31 bronze badges
None of the above mentioned solution worked for me. And there is no studio.bat file in bin directory.
So, I downloaded a 32-bit android-studio for my system (as it is 32bit) from here (official website) and it worked!
PS: The link might be broken in the future, just google for the 32 bit android studio.
answered Jun 17, 2017 at 10:12
(After wasting half a day on it, finally, I got it running)
I am running it on Windows 8.1. Also, I had JDK 1.7.0_13.
I tried the following:
- Open Start menu > Computer > System Properties > Advanced System Properties In the Advanced tab > Environment Variables
- Add new system variable JAVA_HOME that points to JDK folder, C:\Program Files\Java\jdk1.7.0_13\
- Just to be on the safer side, also add new system variable JDK_HOME that points to JDK folder, for example, C:\Program Files\Java\jdk1.7.0_13\
- Append new PATH in system variable that points to JDK folder, C:\Program Files\Java\jdk1.7.0_13\
But still it didn’t work. Then it struck me that might be, my Java version is old. I downloaded the latest version from here.
I uninstalled JDK 1.7.0_13 and installed version 8 i.e. JDK 1.8.0_131.
Now do all the above steps but, replace the path with C:\Program Files\Java\jdk1.8.0_131\ OR whichever your latest version is.
Success!! Now it works.
answered Jul 14, 2017 at 5:41
In my case, I have existing projects and during trying the opening Android Studio, it just showed me the name of the project.
The thing I did was changing the name of that project and forcing Android Studio to ask me to choose which project at the beginning.
answered Aug 15, 2020 at 8:19
necipnecip
3334 silver badges11 bronze badges
0
In my case, it was a windows related bug. Android Studio was configured properly and working like a charm, but it was opening in the second disconnected windows.
My solution was to press [Win] + Tab and then choose Android Studio on half of the screen so that it readjusts. Finally, I maximized it and it opened it in the correct screen.
answered Oct 16, 2020 at 19:11
1
I was able to resolve the same issue by refer to the solution provided in Android Developer Portal,
Studio doesn’t start after upgrade
If Studio doesn’t start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio or an incompatible plugin. As a workaround, try deleting (or renaming, for backup purposes) the directory below, depending on the Android Studio version and operating system, and start Android Studio again. This will reset Android Studio to its default state, with all third-party plugins removed.
For Android Studio 4.1 and later:
Windows: %APPDATA%\Google\AndroidStudio Example: C:\Users\your_user_name\AppData\Roaming\Google\AndroidStudio4.1
macOS: ~/Library/Application Support/Google/AndroidStudio Example: ~/Library/Application Support/Google/AndroidStudio4.1
Linux: ~/.config/Google/AndroidStudio and ~/.local/share/Google/AndroidStudio Example: ~/.config/Google/AndroidStudio4.1 and ~/.local/share/Google/AndroidStudio4.1
In my case executing these in the command line worked after ending the Android Studio process in the task manager:
net stop winnat
net start winnat
answered Sep 26, 2022 at 15:13
rezrez
3161 gold badge3 silver badges18 bronze badges
Check the log file in :
C:\Users\<yourid>\.AndroidStudio<version>\system\log\idea.log
It might give you some clue.
answered Jun 7, 2018 at 14:06
live-lovelive-love
49.2k22 gold badges240 silver badges204 bronze badges
You don’t have to reinstall the Android Studio. In my case, I just deleted «C:\Users\User.AndroidStudio3.5» folder. Then Android Studio is opened. The folder contains just personel settings such as your ide theme darcula etc.
answered Jan 23, 2020 at 17:47
BurakBurak
1,7422 gold badges15 silver badges19 bronze badges
I invalidated cache and restartI deleted the Android studio version folder which was C:\Users\User.AndroidStudio3.5 for me and it worked like charm.
answered Mar 24, 2020 at 7:14
What worked for me was simply rebooting the computer. I’m certain that logging off and logging in will work to so the environment variables can refresh on profile level after installation.
answered Jan 1, 2021 at 23:52
Change the JAVA_HOME system environment variable to C:\Program Files\Android\Android Studio\jre
The direct path to installed java may not work sometimes due to version conflict.
answered Feb 24, 2022 at 21:02
Tim KariukiTim Kariuki
6438 silver badges17 bronze badges
Zuhair Naqi’s solution is good, but in my case I don’t have the option to maximize. So I found another method, because in my case the Android Studio (Bumblebee) does not open every time the windows was updated.
- Select right click on the android studio icon, and open some recent project.
- A new window will open with the recent project correctly.
- You close the window that you couldn’t see, and from there you can open projects normally.
answered May 18, 2022 at 5:18
I had Android studio crash on my machine crying about ram. Then it just wouldn’t start again. Restarting th ecomputer wouldn’t help and I know it has nothing to do with Java.
What ended up fixing it was runing Android Studio trough the Start Menu, or the instalation folder and not the pinned icon …
answered May 31, 2018 at 13:31
Иво НедевИво Недев
1,5701 gold badge20 silver badges33 bronze badges
Make sure you are not using two Languages (Hindi + English) as input method because android studio install required some time stamp and suppose you are using Hindi language that time and letters will not match at the time of opening
Solution is — select primary Language as English while installing Android Studio.
To change steps
- press Windows
-
search word language
-
remove Hindi Language
- then install Android Studio
answered Jun 27, 2018 at 10:14
Dhaval JotaniyaDhaval Jotaniya
1,1932 gold badges10 silver badges19 bronze badges
I edited studio.bat
file.
I added actual jdk placement to SET JDK=
line at the beginning of file:
SET JDK=C:\\\Program Files\\\Java\\\jdk1.8.0_151
answered Jul 13, 2018 at 7:56
fatfat
6,4656 gold badges44 silver badges71 bronze badges
You must upgrade to 4.0.1 version!
answered Jul 25, 2020 at 8:47
The same problem happened with me. Actually my C drive wasn’t full still I wanted to install android studio in D drive. The problem was resolved when I deleted it and again installed android studio.
Install it in C drive (You don’t have to do anything for that. Actually, just click next…next.. next.. while installing and you are done.
)
answered Sep 15, 2020 at 6:44
I was able to solve it by going to control panel and uninstalling android studio, then restarting the computer so that any running instances would close. Next I deleted the folder
C:\Program Files\Android\Android Studio
Re-installed everything, and everything was working fine.
answered Jul 7, 2022 at 6:13
So I have installed android studio and also downloaded JRE and JDK succesfully; even tested it through command prompt. I have even made enviroment variables that tell me to paste the path of JDK to JAVA_HOME and bin path to PATH. But still whenever I start Android studio It gets stuck after almost loading i.e. on this screen
Please help; I have even tried reinstalling everything from the scratch but m still stuck. And even rebooted my PC every time to make sure it is been done properly.
PS: When I monitored this process through task manager It consumed Disk and memory till the point where it is in screen shot after that disk usage goes to 0 and memory stays constant. I know its what it is supposed to be but just mentioning
Thanks in advance
piotrek1543
19.2k7 gold badges83 silver badges95 bronze badges
asked Aug 12, 2016 at 22:02
10
Delete the AndroidStudio folder resolved my issues (after a big upgrade).
On Windows 10 x64 2020 this is
%APPDATA%\Google\
There you’ll find an AndroidStudio folder. Delete it.
As documented in Android docs
https://developer.android.com/studio/known-issues
answered Nov 16, 2020 at 14:36
Thomas HagströmThomas Hagström
4,3811 gold badge22 silver badges27 bronze badges
Here is a collection of things to try to rectify the situation. Without more information this is very broad:
- rouge JAVA versions (competing JREs / SDKs, Windows is very bad at handling multiple java versions as opposed by Linux)
- An AVD wasn’t shut down cleanly. Clear our all lockout files for the AVD in question and restart
- disconnect your android device during startup
- adb kill-server & adb start-server during the hang
- clear out your android-studio %app-data% files
- uninstall Android-SDK if separately installed
- remove ANDROID_SDK_HOME, ANDROID_HOME from your environment variables
- update to the latest Android-Studio version
- add this property: -Ddisable.android.first.run=true
- ensure to have permissions to read/write to %appdata%
- ensure enough disk space is available
- ensure enough RAM is available
Also kill all lingering JAVA processes via the task manager between tries.
EDIT:
Also, sometimes you may just need to wait a while. When I was behind a proxy that limited the download of zip and rar files Android Studio downloaded gradle and dependencies with a whopping 10kb/s. After 10 minutes I connected my cellular network and started up in 10 seconds. (Also check if the sites are not blocked completely)
answered Aug 12, 2016 at 23:21
showp1984showp1984
3781 gold badge2 silver badges13 bronze badges
2
by Aleksandar Ognjanovic
Aleksandar’s main passion is technology. With a solid writing background, he is determined to bring the bleeding edge to the common user. With a keen eye, he always… read more
Updated on
XINSTALL BY CLICKING THE DOWNLOAD
FILE
The most used OS in the world has the most active developers, as well. Of course, we’re referring to Android and its applications. Now, the majority of users will run Android Studio on Linux, but a substantial number develops apps on the Windows OS. As of lately, users who upgraded from Windows 7/8 to Windows 10, have had a hard time running Android Studio.
We made sure to enlist a few solutions for the issue at hand. If you’re unable to run Android Studio on Windows 10, follow the steps we provided below.
Can’t run Android Studio on Windows 10? Here’s what to do
- Make sure you have installed SDK
- Run application as admin and in a compatibility mode
- Disable UAC and antivirus
- Reinstall all associated applications
1: Make sure you have installed SDK
The strange occurrence of applications working on Windows 7 or Windows 8 and suddenly failing on Windows 10 is nothing new. However, in this case, the majority of users were able to run Android Studio on Windows 10 as seamlessly as they did on previous Windows iterations. Just some users weren’t able to do run this development tool, even after multiple tries.
- READ ALSO: Hyper-V Android Emulator is now available on Windows 10 v1803
Even though this is rare, we still must advise you to check the Java SDK (Software Development Kit) from Oracle. Without it, Android Studio won’t work. Even if you upgraded to Windows 10 over previous iterations, reinstalling this tool might help. Maybe some pieces haven’t migrated with the system and that’s what’s causing the problem in the first place.
How we test, review and rate?
We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.
For more details you can read how we test, review, and rate at WindowsReport.
2: Run application as admin and in a compatibility mode
Another applicable approach whenever a third-party application won’t work is to grant it the administrative permission. In addition, running the program in a compatibility mode might help as well. Lots of third-party applications won’t work as intended on Windows 10 due to a more restrictive nature of the system.
- READ ALSO: Windows 10 on ARM affected by performance and app compatibility issues
However, you can, as we said, troubleshoot this by tweaking the compatibility options. Follow the steps below to allow the administrative permission to Android Studio:
- Right-click on the Android Studio shortcut and open Properties.
- Check the “Run this program in compatibility mode for” box.
- Select “Windows 7” from the drop-down menu.
- Check the “Run this program as an administrator” box.
- Confirm changes and restart your PC.
3: Disable UAC and antivirus
Even we can’t openly recommend disabling UAC (User Account Control) in Windows (due to obvious security reasons), you can try it out temporarily. When it comes to more delicate and complex applications, which Android Studio certainly is, the system-imposed restrictions might be too much.
- READ ALSO: “Error 5: Access is denied” software installation error in Windows [FIX]
Here’s how to disable UAC in Windows 10:
- In the Windows Search bar, type UAC and open “Change User Account Control settings” from the list of results.
- Drag the slider to the bottom and confirm changes.
- In case the system prompts you, enter your password.
- Restart your PC.
Moreover, while we’re talking about restrictions, a third-party antivirus can occasionally block the execution of various applications. For that reason, if you’ve entrusted system protection to a third-party solution, make sure to disable it temporarily. Certain users managed to get Android Studio to work when real-time protection was off.
4: Reinstall all associated applications
Finally, all remaining solutions we can grasp and include in this list point towards the reinstallation. Now, as we already mentioned, a system upgrade to Windows 10 should allow you to use all applications from previous Windows iteration. However, in this scenario, we highly recommend reinstalling everything and starting from a scratch.
- READ ALSO: 10 best game making software for PC users
Of course, if you have some projects, make sure to back them up before uninstalling Android Studio and SDK. Hopefully, you’ll be able to continue with your work later on. Here’s where to download Java SE Development Kit. And the latest Windows 10 – compatible version of Android Studio is to be found, here.
That should do it. Don’t forget to share any alternative solutions in the comments section below. We’ll be thankful for your participation in the matter.
RELATED STORIES YOU SHOULD CHECK OUT:
- Huawei brings Windows 10 to Android with its new Cloud PC app
- How to Control Windows 8, 10 From Android
- Best apps to transfer Android/ iOS files to Windows 10, 8
- Boot Windows 7/8/10, Android; Linux (Ubuntu) With This Tablet
Everyone might be aware Google launched its new Android Studio based on IntelliJ IDEA, which is similar to Eclipse with the ADT Plugin, that provides integrated Android developer tools for development and debugging. If you have downloaded and installed the new Android studio and struggled to launch it for the first time, then here’s the solution for it. For instance, after the successful installation, if you find the application doesn’t seem to respond or open at all, then the reason might be due to missing JAVA_HOME environment variables. To fix, follow the below steps:
Step 1: Open the command window by typing ‘cmd‘ in the Start menu search box.
Step 2: Now change the directory to the Android studio installation.
cd "c:\\Program Files (x86)\\Android\\android-studio\\bin"
Step 3: Type ‘studio.bat‘ and hit enter. If the JAVA environment variables are not set properly, then you should get an error message as below.
Step 4: So, it is clear that Android studio is not able to read the JDK location. All you need to do is, set the JAVA_HOME and JDK_HOME environment variables by following the steps mentioned in this guide.
Remember to point JAVA_HOME and JDK_HOME to the valid JAVA installation path. In most cases, only one variable should suffice, but why to take risk?
Step 5: Close the existing command window. This step is very important, as the newly set variable will not reflect otherwise.
Step 6: Re-launch the command window and type the below command to ensure that the environment variables are set properly.
echo %JAVA_HOME%
echo %JDK_HOME%
Step 7: Now change the directory to the Android studio installation.
cd "c:\\Program Files (x86)\\Android\\android-studio\\bin"
Step 8: Type ‘studio.bat‘ and hit enter. Now the Android studio will launch and you should see a screen similar to the one below.
That’s it! Happy Android app-ing!