Android Studio failed to launch - General Questions and Answers

Hello, everyone. I have installed but it simply fails to launch. I have searched my options on various sources. I was running Windows 10 and now 11. Same case in both.
Fixes I have already tried:
Added disable.android.first.run=true in the idea file
Did a clean installation
Installed the latest version of Java
Did all of the above again as Admin just in case
Set the JAVA_HOME and JAVA_JRE and cmd %echo% came back with the correct path
There is one thing I noticed. When deleting the Google folder in my Roaming the program runs again but once I pick "Do not import settings" then the program creates this folder but pops the error.
I would post the error message but the error window comes blank.
Thank you in advance for any and all help!

Related

Windows Mobile 6 SDK won't uninstall

Windows Mobile 6 SDK refuses to uninstall. I had previously installed MSVS 2008 and Windows Mobile 6 SDK. I, apparently, did not uninstall the SDK, but did uninstall MSVS. I reinstalled VS08 and tried to repair Windows Mobile 6 SDK. The repair would almost complete then an error would pop saying that the Cellular Emulator is in use on COM4. I uninstalled the Device Emulator and VS2008 and this error persists. I don't think that I have anything running on COM4 and I have no way of checking. Please help. This is driving me insane.
Try uninstalling from the safe mode. Also, use Revo Uninstaller as it can clear out leftover regkeys and files (best to run it from the safe mode as well). Finally, get the Windows Installer CleanUp Utility to remove any leftover MSI databases of VS/SDK/etc. Reboot.
Btw, Process Explorer can help you track down and close those pesky processes, in-use files and dlls.
--
This is one of the reasons why I prefer using portable apps. No install/uninstall/conflicts. PM me if you're interested in a portable WM6 SDK.
Thank you for your help. The Windows Installer CleanUp Utility did the trick.
please close device emulator if it is running
i am not able to install wm 6.0 sdk, the error is
"COM4 is in use please close device emulator if it is running and then retry"
could some one help me doiong this...
thanks in advance...
thanks
Prashanth
I am experiencing this same error when trying to install the WM 6.5 standard emulator. Did anyone figure out a solution for this?
i have this problem too
Remove WM6 SDK problem
I know this tread is a little old, but i just had the same problem and found the solution, maybe others with the same problem come accross this thread as i did.
source: h t t p : / / faqs.edujini-labs.com/55_12_en.html
# Go to your device manager. My Computer -> Properties -> Hardware -> Device Manager
# Go to the entry of "System Devices"
# Towards the end, you will find an entry "XPVCOM" (XP Virtual COM Port, I guess). Uninstall it.
You will see this entry only when you get the error "COM<X> in use, please verify".
# Now, go to the folder where you have the Cellular Emulator. The default location is "C:\Program Files\Windows SDK 6 Professional\Tools\Cellular Emulator".
# You will find a utility InstallXPVCom.exe. At the command prompt, execute the following:
InstallXPVcom.exe Install
# Try uninstalling again, it will work.
Thanks!
[email protected] said:
I know this tread is a little old, but i just had the same problem and found the solution, maybe others with the same problem come accross this thread as i did.
source: h t t p : / / faqs.edujini-labs.com/55_12_en.html
# Go to your device manager. My Computer -> Properties -> Hardware -> Device Manager
# Go to the entry of "System Devices"
# Towards the end, you will find an entry "XPVCOM" (XP Virtual COM Port, I guess). Uninstall it.
You will see this entry only when you get the error "COM<X> in use, please verify".
# Now, go to the folder where you have the Cellular Emulator. The default location is "C:\Program Files\Windows SDK 6 Professional\Tools\Cellular Emulator".
# You will find a utility InstallXPVCom.exe. At the command prompt, execute the following:
InstallXPVcom.exe Install
# Try uninstalling again, it will work.
Click to expand...
Click to collapse
This worked for me, thanks a bunch. I had tried uninstalling XPVCom but didn't realize re-installing it would make it work.

[Q] HTC Sync Reinstall error 1152

I unistalled HTC sync and when I try to reinstall I get the message "1152: Error extracting C:\Users\Dada\AppData\Local\Temp\{1B4A9E0 PC Suite.msi to the temporary location" (the #'s and characters after temp are always different)
Anyway I've tried:
1) Running the installer as administrator just in case.
2) Right clicking the install file and installing it using the 'troubleshoot compatibility' option. Same error code.
3) Searching for any remaining files using windows search for 'htc' yet no results.
4) Searched other threads and heard repairing the file or deleting it will fix the problem yet I can't find the above folder, specifically looking in the 'dada' folder for the 'appdata' folder, not there. Then searching using windows search for 'appdata' yet no results found
I am using Windows 7 64-bit and HTC sync 2.0.40. My user account "Dada" is set as the administrator. Using a rooted EVO4g with freshevo 3.4.0.1(not that my phone should matter). Rooted perfectly with this method, since been outdated but not when I rooted. http://forum.xda-developers.com/showthread.php?t=765496
HTC sync and the root worked fine the first time, so I know its compatible with my computer. Something must have happened when I uninstalled it using uninstall programs under control panel.
Obvioulsy I'm not a computer programmer, can anyone figure this out. Thanks.
1152 HTC Error FIXED!!!
I encountered the exact same problem w/ my new HTC Aria when trying to install the HTCSync.exe file. I went to CNet and downloaded a free registry cleaner. Once downloaded, run a 'FULL SCAN' then click on the 'FIX ERRORS' tab for them to be repaired. Once they're repaired, goto HTC, then whichever support area depending on country and select your phone type and GO' ,to the right of the drop-down,. Next, open the 'DOWNLOADS' tab and enter your Serial number from your HTC phone and submit. Below your Serial number a 'DOWNLOAD' will be available. Click it, either open or save the file. Once downloaded, try again reloading the HTCSync.exe file snd it should resolve all your problems. G'day
All about the registry cleaner
Worked like a charm. Thanks.
What's frustrating is before I even posted the original question I tried using a registry cleaner and then reinstalling htc sync. I used C Cleaner. The registry cleaner you recommended was more in depth and obviously worked better.
Eusing free registry cleaner
download.cnet.com/.../3000-2094_4-10521691.html
Thanks again,
Kutt
I had the same problem, thanks
But if like me--doing the Eusing registry didn't help try to scan registry in "safe mode" and repair. Then, shut down and restart normally. Try to download HTC Sync
again(doesn't matter if you use the previous installation) and it should work. Cheers

[Q] Installing build 7720

Referencing this thread about installing build 7720 on my T-Mobile HTC HD7 from my Windows 7 PC.
My Windows Phone is currently running Mango Beta 2 build 7712. At step 16, I open the batch file "ISVTo7720.bat" as administrator but I'm getting an error after the CMD window opens.
I open the batch file, the script starts to run, then a red error message pops up and the window closes before the installation begins and before I can even read what the error is. Its pretty frustrating.
Does anyone have any ideas on why the script won't run. Are there any services that I need to make sure are running before I try to run it?
Or maybe someone can post instructions on how to manually run a batch file from a CMD window? Any ideas would be helpful.
Thanks.
run first the update tool into the zune map, then run the scriptfile
Well, I installed 7720 today and I had the same problem (red error message in command prompt).
The following steps helped me:
I had an older Zune software installed and just ran the new setup. The update didn't work and the first thing I did was to uninstall Zune completely, restart the computer and install the new one again. Then I opened it and looked if it's 4.8.2134 - there's a info under the "settings" tab.
Then please navigate to your installation directory of Zune (C:\Programs\Zune) and look if there's a "UpdateWP.exe" in it. If not go into the "MANGO\Zune\04.08.2134.00\UpdateTool" folder and install the matching version. Look again - UpdateWP.exe should now exist in the installation directory of Zune.
Run the .bat file with administrative rights (right-click -> context menu).
The first time I opened the .bat file it closed and my phone stuck in download mode. Then I just plugged off my phone and restarted it. I tried a second time and succeeded. Now I've got 7720 on my Omnia 7
IT WORKED!!!
Thanks guys. My new RTM Mango phone is the BOMB DOT COM! and its only 7:30am

[Q] Nexus 5 & MAP SMS driver for Windows 8.1

Hello.
I recently purchased Nexus 5 and would have to say it is one of the best phones I've ever owned.
I use Bluetooth 4 on my computers and decided to join my N5 to my computer. I was going through my Device Manager looking for this WiFi adapter I plugged in and noticed I was missing a driver for something. Come to find out, it was for "MAP SMS" which is 'Message Access Profile' for what I believe is to allow me to send SMS with my computer.
At work, I use Lenovo computers and noticed they allowed me to do this kind of thing already on my old Galaxy S3... but I am using Windows 8.1 Pro and my main computer is custom built and not OEM so I appear to be missing such drivers and functionality.
Does anyone know of any drivers that are particular to MAP SMS on Windows 8.1?
Code:
BTHENUM\{00001132-0000-1000-8000-00805f9b34fb}_VID&0001000f_PID&1200
I would normally grab certain parts of the HW ID and go to pcidatabase.com to find drivers but I am not sure how to proceed.
I also did search xda-dev forums for MAP SMS and did not find anything from the built in search. I did do a Google Search for Hardware ID and saw a bunch of unhelpful comments from MSFT staff.
I have Nexus S and on Windows 8.1. Looking for the driver too. I have the same Hardware ID as the one you posted. Please let me know in case you find it.
Need same driver
Though i got an Motorola MotoX
MrDjonez said:
Though i got an Motorola MotoX
Click to expand...
Click to collapse
Hi, I know this is a very late answer, but this worked out for me :
RomanDE replied on March 8, 2014See post history
Close
For Windows 7 64 Bit - testet and works fine on Sony Vaio VGN-TT11WN
Windows requires two important files to install the device - "BthMtpEnum.sys" be found in the directory [root]\Windows\System32\Driver and "bth.inf" be found in the directory [root]\Windows\inf. Before you can install the driver makesure the two files are properly installed on your computer and the Versionnumber is at least 6.1.7600.16385 for "BthMtpEnum.sys" and 6.1.7601.17514 for "bth.inf" . If not then try following: Download the file "BthMtpEnum.sys" from the Internet. I don't remember the adress where i found the file, but i am sure you can find the file quickly with google. Because this is a system file and must be registred as driver from Windows and therefore you must copy and paste the downloaded "BthMtpenum.sys" to your system directory. By default for Windows 7, this is: C:\Windows\System32. If you use a 64-bit version of Windows, you should also place BthMtpEnum.sys in C:\Windows\SysWOW64\. Make sure overwrite any existing files (but make a backup copy of the original file). Finaly reboot your computer. Sometimes it is possible that Windows shows a error message after the reboot. Then try following: 1. Open Windows Start menu and select "Run...". 2. Type CMD and press Enter. 3. Type cd (your root letter, e.g. C or D etc.):\Windows\System32 (example: cd C:\Windows\System32) and press Enter. 4. Type regsvr32 BthMtpEnum.sys and press Enter. When it's done we continue with the 2nd important file. Go in to your Windows\inf directory. Look at the file "bth.inf". If you find the file then go to my install instruction below else if you can't find the file you can manually copy the file taken from another source. You can found and take the file also from Windows 8/8.1 Version wich works fine under Windows 7. Only important is the samebus architecture(32/64) from the Version of Windows you use and the Version of Windows you want to use the file. I had success with the "bth.inf" from a Windows 8.1. You find the filein the same directory as in Windows 7 (windows/inf). Finally, copy this file manually in your Windows\inf directory (e.g. with a usb-stick). Reboot your Computer. When it's done you can install the device with the following instruction :
Install:
1. go in the Device Manager
2. select the Device and right click on it
3. select Update Driver Software
4. select "Browse my Computer... - Locate and install driver manually"
5. select "Let me pick from a list...."
6. unselect "Show compatible hardware" and than click on "Have Disk..."
7. Navigate to your Windows/Inf Directory and select the file "bth.inf"
8. On the left side "Manufacturer" select Microsoft and on the right side "Model" select Bluetooth-MTP-Deviceenumerator and click next to install the driver.
9. Done, enjoy.
P.S. 1. Possible in Step 8 Manufacturer can also named Generic. 2. Before last step to install the driver is possible that Windows show's a warning-info "driver is not digitally signed" - you can ignore this, click yes or next to install this driver anyway - it works fine.
Attention: This is my Interpredation the solution of this annoying problem because I had nowhere found a workingsolution in the internet. The approach has worked for me with the above-mentioned hard and software works. I can not guarantee whether this solution also works with other components. For safety please make a backup of your system beforeyou applying this solution way.
Thank you, i hope i can help somebody
Roman
Click to expand...
Click to collapse
Look for user´s RomanDE reply.
Regards.
Awesome advice, thanks a lot!!

Error 0xFFFFFE70 While logging into Microsoft Account

Hi. I bought HTC One M8 for Windows mobile (T-Mobile US version) running WP 8.1 OS few days ago. Whenever I try to log into Microsoft account I get error code 0xFFFFFE70 saying 'We weren't able to activate your phone' with an advice to contact Microsoft support regarding error.
I have searched on-line for this error and have tried everything advised including correcting system date/time settings, soft/hard reset of phone, even reformatting the stock firmware with WDRT (Windows Device Recovery Tool) and also HTC custom tool. Nothing seems to resolve this error so far. Due to this I am unable to use windows store to download apps or log into my one drive on phone etc as each one of these requires Microsoft account login.
I was thinking maybe anyone can help me by providing me with latest windows 10 preview RUU for HTC M8 for windows (T-Mobile). If you installed it on your M8 via WDRT (Windows Device Recovery Tool) then you can copy it from C:\ProgramData\HTC\Packages\Products (default directory for WDRT). Maybe Windows 10 preview would solve my problem.
Surgeon.live said:
Hi. I bought HTC One M8 for Windows mobile (T-Mobile US version) running WP 8.1 OS few days ago. Whenever I try to log into Microsoft account I get error code 0xFFFFFE70 saying 'We weren't able to activate your phone' with an advice to contact Microsoft support regarding error.
I have searched on-line for this error and have tried everything advised including correcting system date/time settings, soft/hard reset of phone, even reformatting the stock firmware with WDRT (Windows Device Recovery Tool) and also HTC custom tool. Nothing seems to resolve this error so far. Due to this I am unable to use windows store to download apps or log into my one drive on phone etc as each one of these requires Microsoft account login.
I was thinking maybe anyone can help me by providing me with latest windows 10 preview RUU for HTC M8 for windows (T-Mobile). If you installed it on your M8 via WDRT (Windows Device Recovery Tool) then you can copy it from C:\ProgramData\HTC\Packages\Products (default directory for WDRT). Maybe Windows 10 preview would solve my problem.
Click to expand...
Click to collapse
I have finally managed to resolve the issue via manually pushing update cabs (first 14203-14219 and then 14219-10586.11) via 'iutool' as described here.
In this case as I was unable to install and run Windows Insider app via MS Store or Sideload it (as it required MS account login) I went straight to pushing cabs via iutool without any prior modification via Windows Insider app as mentioned in thread and it worked. After that mobile got updated to 10585.164 build and now its working perfectly.
Hi Surgeon. I am having the same issue with the same variant of this phone. I'm pretty sure I get the jist of how to use the uitool, but I think I'm missing the step about using the Insider app to start the process as it's not installed on this phone. I have a few questions about how you did this:
1 - How did you sideload/install the Microsoft Insider app without being able to log into a Microsoft account?
2 - Coming from 8.10.14203.306, would I just install the 2 files ( 14203-14219 and then 14219-10586.11)?
Any help is greatly appreciated, thanks.
Aquachimp said:
Hi Surgeon. I am having the same issue with the same variant of this phone. I'm pretty sure I get the jist of how to use the uitool, but I think I'm missing the step about using the Insider app to start the process as it's not installed on this phone. I have a few questions about how you did this:
1 - How did you sideload/install the Microsoft Insider app without being able to log into a Microsoft account?
2 - Coming from 8.10.14203.306, would I just install the 2 files ( 14203-14219 and then 14219-10586.11)?
Any help is greatly appreciated, thanks.
Click to expand...
Click to collapse
No need to install Insider app. Just run following commands (Modify depending on your system locations) via Command Prompt in Admin mode (Windows key + X > Command Prompt (Admin) )
cd C:\Program Files (x86)\Windows Phone Kits\8.1\Tools\bin\i386\
to check whether device connected or not
iutool -l
to transfer cabs (located in c:\cabs)
iutool -v -p c:\cabs
(Install cabs in 2 steps. First from 14203-14219 and let phone update complete. Then delete these cabs from c:\cabs and paste 14219-10586.11 cabs in c:\cabs and repeat same steps and let the phone update.)
Thanks a ton! I just got home from work and I'll try this in a bit.
Thanks for taking the time to reply!
I am able to transfer the files and the phone attempts to install, but then throws out an error saying it is unable to open the update.
---------- Post added at 06:12 AM ---------- Previous post was at 06:06 AM ----------
Aquachimp said:
I am able to transfer the files and the phone attempts to install, but then throws out an error saying it is unable to open the update.
Click to expand...
Click to collapse
When I downloaded the file from the link on the iutool page you referenced, it downloads as a .txt file. Does it matter if I'm sending that file as a .txt to the phone or does it have to be converted to a .cab?
Aquachimp said:
I am able to transfer the files and the phone attempts to install, but then throws out an error saying it is unable to open the update.
---------- Post added at 06:12 AM ---------- Previous post was at 06:06 AM ----------
When I downloaded the file from the link on the iutool page you referenced, it downloads as a .txt file. Does it matter if I'm sending that file as a .txt to the phone or does it have to be converted to a .cab?
Click to expand...
Click to collapse
Brother these text files contain download links for cab files. Open these links one by one or simply copy and download all together via free download manager (portable edition here)
Cab files downloaded from both text file links are about cumulatively 788mb (51 cab files of about 52.8 mb for 14203 to 14219 and then 47 cab files of about 735mb for 14219 to 10586.11 update.)
Thanks again for the help and clarification. I do though have another question about installing the .cabs. After the first 8 or so cabs I installed, the OS is updated to 14219.341. Am I able to skip the rest of the cabs in link 1 and start installing cabs from link 2? I ask because when I install the 13th cab from link 1, the phone reboots but instead of the white HTC Not For Resale screen, I get a black backlit screen and unable to even shut the phone down with the power button. I've had to reset it using RUU and start over from scratch.
Edit 5/7/2016: No need for reply. I was making this harder than it actually was. Once I stopped being dumb about it, I managed to get the phone fully updated and it's running perfectly now in Windows 10. Thanks for all your help in pointing me towards the solution.

Categories

Resources