Whenever I try to start android studio, I get this:
What should I do?
It doesn't download and just keeps repeating this!
Refer: SO query
You can try the solution to avoid Downloading Components at startup so that AS launches and later on proceed manually.
To disable "Downloading Components" at startup,
Go to the installation directory of Android Studio. There you will
find a folder named "bin". Inside this folder there is a file named
"idea.properties". Open this file and add the following line to the
end of the file:
disable.android.first.run=true What this will do is disable the check
that Android Studio performs on first run and decides to download all
that stuff.
If it asks to save the file at some different place instead of
overwriting the original one, please check the access permissions to
the file.
I ran into this and it was actually working fine, despite looking broken. Wait and see if the filename changes after a while.
I think that is some bug, but it's just process of downloading.
Just wait for end of downloading and all will be ok.
Related
I am using NSIS to write an installer for my windows application. After installing the application, an uninst.exe is also generated in my program directory. Later on I need to uninstall my program but I failed to do that in control panel. Therefore I went to the file system and tried to delete the directory. Everything other than that uninst.exe was removed. I've tried changing permission of this file and other methods but it doesn't work.
WriteUninstaller does not set file permissions or any other attribute that might prevent you from deleting it. It sounds like the file might still be in use by something on your machine.
Things to try:
Use Task Manager or Process Explorer to see if there is a uninst.exe process still running.
Use the find handle feature in Process Explorer to find any open handles to the file.
Use Process Monitor to get detailed information about the failed delete operation.
Check %LOCALAPPDATA%\VirtualStore to make sure UAC Virtualization is not tricking you with "ghost" files.
Disable your Anti-Virus.
Reboot the machine and try to delete the file again.
Intellij was updating and it stated the update was finished, prompting me to choose wether to get config from past installation or somewhere else. As I was about to click ok for the previous installation option, my whole system froze(kubuntu).The song I was listening to kept repeating the same second of music through the headphones. Maybe it was an overheat issue on my laptop? Anyway, had to hard reset it.
Now I can't open intellij. The icon is blank, clicking on it shows loading for a while, but then never does anything. Running the idea.sh from terminal produces the aforementioned error.
What's the best course of action here, to save all my configurations and settings before reinstalling? Or is there a way to fix this without reinstall?
Make a clean installation from from the .tar.gz file available at the official downloads page.
Make sure to unpack into the empty directory (not on top of the previous version).
Check if you have the config folder for the new version already created. If it's present, remove it. This will make IntelliJ IDEA prompt you to import the settings from the previous version (make sure not to delete the config folder from the previous version you will be importing from).
My installshield project build gave such error:
"ISDEV : fatal error -1014: Cannot rename directory *\Release to
*\Release.Bak. Windows Explorer or a DOS prompt may be pointing to a subfolder of the release output folder (Disk1) or to the Interm
folder, locking it. Change the current directory. Close any open files
in the Disk1 folder. Close Msidb.exe if it is open."
The reason is because before I started the build I got a win explorer opened which was pointed to that release folder. And somehow ISDEV consider this as locking the folder, so it refused to proceed with the renaming.
Now, is there a way, like add some sort of script, to forcefully close all opened win explorer instance to release the socalled "lock" before the build script starts?
Thanks!
I know this is an old thread, but the problem is still around.
It seems the error is nothing to do with another process having the folder locked. I think InstallShield is fighting with itself by trying to rename a folder where IT still has some files open. That's why many of the traditional approaches such as closing explorer and even rebooting sometimes don't work.
I found a fairly simple solution is to delete the folder tree \Express from the Setup project folder before doing a build. InstallShield just recreates it and everything is OK because the rename was not needed.
This issue has been around as long as I remember working in my first IntallShield.
Don't try to beat the locking. Just make sure you don't keep explorer open on the release folder prior to the build. You can however navigate to its parent folder or better yet: define a post build distribution event.
The way I have found to remove that folder is to put something like this in the pre-build events:
RD fullPath\Express /S /Q
Because InstallShield project does not have the same properties as other projects do, I have inserted that in the Pre-build events at the properties of the main project of the solution.
Had the same problem, just closed InstallShield and re-opened it, worked like a charm.
Had the same problem, fixed it by Ending this task "InstallShield (R) 64-bit Setup Engine"
Hello everyone and good day!
Question: I had create a Basic InstallShield Project in my MSVC2010, added some files and primary outputs and press build. Project compiled normally: there was created MSI, setup.exe, setup.ini and (WTF?!) local directory structure of files, which I'm trying to install (for example, "Program Files\My Company\app.exe, ..." files was copied there). I throught that this is not needed folder, so copied my setup files (MSI, setup.exe, setup.ini) to another folder and start installation. When process of installation come on to copy state, installer gave me the error, that no required files (app.exe,...) was found.
Does anybody solve this problem? I think this is the simple one.
Thanks!
You can achieve this by making some changes to the properties in solution explorer. This is so simple as you can compress all in single .exe file. Follow the given below step:
Right Click On Entire solution and Choose Properties as given below
Second step as you can see the dialog box. click on configuration Properties
Third Step
Last step
This is finest and easiest way to achieve the required task.
Answer was found by myself, but thank you all any way...
To create a self-extracted install file you need to open "Releases" tab in your InstallShield Basic project and right click on configuration click "Release WIzard...".
All what I need is at this figure:
Select Compressed from Compression option in properties view.
Simple use the "single image" build. Not cd nor dvd
On some of the devices that I am working on, the \Windows directory is not on permanent storage. That is, once the device is rebooted, whatever was written to \Windows is lost. This is particularly problematic for uninstalling programs since wceload.exe (the Windows CE CAB installer program) generates a .unload file and places it in \Windows. The application can be uninstalled before the device is rebooted, but afterward it can't (the "Remove Programs" tool in the control panel comes back with an error about not being able to open the unload file). So how can I get the .unload file to persist across reboots? Is there any way to control where the uninstaller (I believe it is called unload.exe) looks for the .unload file?
I haven't been able to find any good info on this still. It looks like the path to the unload file is hardcoded so the best I can do is make a backup of the unload file. If the user wishes to uninstall they will have to manually copy the file to the \windows directory and then use the uninstall tool in the control panel. Here is more info:
http://www.generation-nt.com/us/answer/wince5-force-wceload-install-unload-into-nonvolatile-memory-help-87676002.html
You can probably keep the .unload file across reboots by copying it to a persistent directory after installing. This directory may vary per device, e.g. \Hard Disk\ramroot\Windows or \Backup\Windows. It will then automatically be copied to the \Windows on reboot. (Although I am not sure whether such a directory and behavior exist for every device.)
To copy this file you need to execute a copy-statement from a custom setup-dll after the install completes. This codeproject-site has a very comprehensive explanation, with screenshots and code.
Simply re-Install application and then un-install from remove programs in control panel.