Guys I'm trying to install Visual Studio 2012 in Win8.1 but unfortunately I face this error:
Compatibility Mode : Windows Program Compatibility mode is on. Turn it off and then try Setup again
Could you please help me how to fix it step by step?
Go to installation (.exe) file.
Right Click on that file.
click on Properties option.
Then select to compatibility .
Check the option Run this program in compatibility mode for : and select for Windows 8.
In Settings Check the Run this program as an administrator.
finally ok and apply this setting and the .exe again.
I hope this will work surely.
This answer is from this link
Run the uninstaller until it fails
Go to task manager
Call up the context menu for the installer process (right-click)
Select ‘open file location’
This will open the package folder
Call up the context menu for the uninstaller executable
Select the ‘compatibility’ tab
Disable all compatibility settings over here
This could happen if you are trying to install the program from iso.
Extract it first to a folder, then install it from the folder. It worked for me.
Related
I recently downloaded a new version of Android Studio, but after installation of the program, it asked options like to create new projects or others as I click on the project structure where I had to locate the path of the SDK. After locating its path correctly, it just froze. Nothing happens when I click the create a new project option. Instead of this, I clicked open the current project option. Android Studio opened, but without the SDK settings. When I go to the SDK manager to locate the path of SDK, that SDK manager option is not loading. It keeps on loading and shows nothing.
This problem is only related to the new version, not with the Android Studio 1.5. What should I do to solve this problem?
i hope this command help you!!
For linux
open Terminal
Follow this commmand
cd /media/ubuntu/DATA/android-studio/bin
./studio.sh
For Windows
Follow this commmand
cd /media/ubuntu/DATA/android-studio/bin
./studio.sh
I am using Android Studio. I can't open Android Device Monitor, Tools > Android > Android Device Monitor. I occurred an error. See the log file at:
C:\Users\Peter Phyo\AppData\Local\Android\sdk\tools\lib\monitor-x86\configuration\1433318221838.log.
Do you have JAVA_HOME in your system environment variables?
JAVA_HOME=C:/Program Files/Java/jdk1.8.0_11
Run android studio as administrator. It will definitely work. No need to reinstall neither android studio nor java.
In my case, after upgrading Android Studio 3.1.2, I tried open C:\Users\yourUserName\AppData\Local\Android\Sdk\tools\monitor, Windows alert "can't find 'lib\monitor-location'. Make sure you typed the name correctly, and then try again". Then I tried open tools\lib\monitor-x86_64\monitor, it works!
I'm on Windows and open Android Studio in Administrative Mode (Run as administrator). Worked for me.
I had the same problem, i solved it using jPortable, if you're using Windows then take this one, there are two versions 32bits and 64bits : https://portableapps.com/apps/utilities/java_portable I changed the location for the extraction from C:\SDK\tools\lib\monitor-x86_64\CommonFiles\Java64 to C:\SDK\tools\lib\monitor-x86_64\jre and it worked.
You need to set path to your ..jre\bin location :
Check in: File > Project Structure your JDK location
add the \bin there , my path is : C:\Program Files\Android\Android Studio\jre\bin
set the path in your Environment Variables, for WINDOWS 7 :
the From the desktop, right click the Computer icon.
Choose Properties from the context menu.
Click the Advanced system settings link.
Click Environment Variables
New System Variable
set the path the following way :
Variable name: Path
Variable value: your path
in my case: Variable value: C:\Program Files\Android\Android Studio\jre\bin
Now you can start the Monitor.exe, my location is here : C:\Users\Admin\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64
for WIN7 32bit start the Monitor.exe from
...Android\Sdk\tools\lib\monitor-x86
Make sure have installed JDK7 or JDK8 depending on your OS bits
If you are using 32bits your install JDK7 or 8 of 32bits
After you install JDK, your JAVA_HOME in your system will be located in
C:\Program Files\Java\jdk1.8.0_40
To check if your JAVA_HOME is set, CLICK Start Menu > Computer > Right Click on Computer > Properties > Control Panel Home will appear, > click Advanced System Settings, under > Advanced Tab click > Environment Variables and check on the > System Variables for > Path if Java [C:\ProgramData\Oracle\Java\javapath;] is there, than you are good to go.
Make sure you have your JAVA_HOME in your system environment variables.
Hope this well help you. If it helped you, please mark it, so that it can the useful to others.
Please ensure you have Android SDK Tools installed.
I had a fresh copy of Android Studio and kept getting this error.
To install:
Tools -> Android -> SDK Manager -> SDK Tools (tab) -> Tick Android SDK Tools x.x.x (if it's not installed) -> Apply
Once installed / finished, try restarting Android Studio then selecting Android Device Monitor from the Tools drop down again.
If you want to see file explorer the please go from this path
View -> Tool Windows -> Device File Explorer.
I hope this path solve your problem.
I have downloaded Android Studio Beta v0.8.14 and followed the steps to install it on Windows 7 from the link:
https://developer.android.com/sdk/installing/index.html?pkg=studio
The link says to launch studio.exe and follow the installation wizard. But the zip file contains studio.exe file in bin folder and directly launches Android Studio(after resolving all issues). There is no installation wizard and so it is not showing up in start menu. I don't have any others problems though but just want to make sure that everything is all right.
Am I missing something?
Android studio doesn't have an installer. you just unzip the file and its ready to go. You are not missing anything.
However, if you want to you can adda start menu shortcut for the .exe file if you want, that doesn't have an installer.
I am trying to uninstall Visual studio 2012 from my machine but is is not giving me any option for uninstalling the same. When I write click on Visual Studio 2012 in control panel/Program and Features, it shows CHANGE option and when I click on this option it display popup with following option.
Microsoft .Net Framework Required for Microsoft Visual Studio Professional 2012 Setup.
Click Accept and Install to accept Microsoft Framework license Term.
When I click on this option, it doesn't perform anything and dont uninstall it. Can u please suggest me any option to remove it and install it again. This is licenced copy of the same.
You could try forcibly removing VS2012 and all its components
http://support.microsoft.com/kb/2771441#Force
1. Download the setup application you used to originally install Visual Studio 2012. If you installed from media, please insert that media.
2. Open a command prompt.
3. Click Run on the Start menu (Start + R).
a. Type cmd and press OK (Enter).
b. Type in the full path to the setup application and pass the following command line switches: /uninstall /force
Example: D:\vs_ultimate.exe /uninstall /force
4. Click the Uninstall button and follow the prompts.
Download msiinv.zip from the following location
https://skydrive.live.com/?cid=27e6a35d1a492af7&id=27E6A35D1A492AF7%21910&authkey=!ANs8Pr0aVhaT_qQ
Extract the contents of msiinv.zip to the folder c:\msiinv on your
system
Click on the Start menu, choose Run, type cmd and click OK
Type this command: c:\msiinv\msiinv.exe -p >
c:\msiinv\msiinv_output.txt
Note: This command must be run from a cmd prompt or it will not create a log file as expected.
These steps will create a text file named c:\msiinv\msiinv_output.txt with a list of each product that Windows Installer thinks is installed on the system. Then you can open the text file in any text editor and search the list of products for the name of the product that you want to uninstall.
Output in the text file will be displayed like this:
Microsoft .NET Framework 2.0 Beta 2
Product code: {7A1ADD0C-17F3-47B8-B033-A06E189C835D}
Product state: (5) Installed.
Package code: {856D48D2-6F94-466D-9732-534DB5854FB3}
Version: 2.0.50215
Now we have the Windows Installer product code and we can use that to uninstall the product by running msiexec /x {product code} (make sure that you include the curly braces in this command line). If the product is actually installed on your system you will see a progress screen and uninstall will complete.
If Windows Installer thinks that the product is installed but it really isn't, then running msiexec /x will give you an error stating that this command is only valid for installed products. If this happens, you will need to perform an extra step to remove the data that causes Windows Installer to think this product is installed. You can download the Windows Installer Cleanup Utility and install and run it on your machine to fix this.
Reference: http://blogs.msdn.com/b/astebner/archive/2005/07/01/434814.aspx
If you still have the installer disk, you can run the following command and it removes everything except for a few of the SQL 2012 apps stayed when I ran it.
vs_ultimate.exe /uninstall /force
or in my case
vs_premium.exe /uninstall /force
Here is the link to the Microsoft article on the topic, and the article lists all the installed applications so if you need to manually remove some you have a list to go off of.
https://support.microsoft.com/en-us/kb/2771441#Force
Windows update service is using that log file. Do as follows:
Type services.msc in run
check for windows update service and stop the service.
go to C:\windows\windows update.log file and check the properties. The file should have read\write rights. (Note this is a operating system file.You need to make it visible in files and folder option first.)
Now try to uninstall the Package.
Simply use a CCleaner programs (Bing it)
Goto "tools" menu on the bottom left > Uninstall > Select "Microsoft Visual Studio Professional 2012" then click "Run Uninstaller"
Finish.
After running once successfully, Android Studio is getting failed to open.
The error is:
Files in C:\Program Files (x86)\Android\android-studio\system\caches are locked. Android Studio will not be able to start.
Did any one find its solution?
Solved in Windows 7:
Go to folder where android-studio is installed. (e.g. C:\Program Files (x86)\Android\android-studio)
Now go up one folder. (i.e. C:\Program Files (x86)\Android)
Right click on the android-studio folder and go to Properties.
In the Properties window, go to the Security tab.
Click the Edit button.
A new window will open, here you click the Users (your-username-or-your-group-name)
From the list below, check Allow in front of Full control.
Press OK, then again OK.
Now you can use Android Studio easily instead of "Running it As Administrator" every time.
If you are running in Windows 7 / Vista/ etc. then try running Android Studio as administrator. I was having the same problem and this fixed it for me.
I installed it for all users too, and got this same error on second run. Didn't want to reinstall it, and also prefer not to run programs as admin unless necessary, so I just changed a couple file permissions and it runs fine.
I changed the settings on C:\Program Files (x86)\Android\android-studio and let it apply to all sub-folders -- removed Read-Only, and gave localhost/Users group permissions to modify files in this folder. Worked fine afterwards. If you want to be more secure, just give your user permissions to modify those folders.
During the installation, select "install for the current user". Android Studio will be installed in the user's folders, without any authorization issues. Personally I do not like to run program with Administrator power.
if u install for all users than , run as admin will solve it .
Tested in windows 8 also.
SIMPLEST SOLUTION:
Uninstall Android Studio and install it again
I had the same problem and it solved .
Simply go and delete the cache folder from user .AndroidStudio3. . It solved problem