Android studio and chrome sound sluggish performance - windows

I code in android studio without emulator. I have 6gb ram. Athlon 2x 6000. Windows 8.1 64bit. Sometimes I have a music mix playing on chrome at the background. Whenever I do an action in android studio the music may pause briefly for some seconds depending on the heaviness of the task. If I build... ok then the music might pause for longer than that. I once found somewhere on the net it might be related to java 64 bit. I was using ubuntu 14.04 and it went so smoothly... But now I have windows 8.1 . Is there any solution without changing OS or hardware?

If you face my problem you can install jdk 32bit.

Related

Broken GUI Rendering with nVIDIA 320M GPU on Windows 10

My laptop computer is MacBook Pro 13" 2010-mid with nVIDIA 320M GPU. My OS is Windows 10 x64 ver 1607. The nVIDIA driver version is 341.98.
I meet a broken GUI rendering problem. See the screenshot of Visual Studio 2017 RC GUI:
You can see the Solution Explorer pane in the left shows a broken rendering.
Actually, there are not only Visual Studio GUI, but also many application GUIs have the same broken rendering problem, for example, JabRef, Atlassian SourceTree, ...
And, there are not only Windows 10 but also Windows 8 having the same problem. Does anyone have a solution or workaround?
I find workarounds for several my frequently-used apps. These workarounds show the problem comes from the GPU hardware acceleration. Disable the acceleration for working around the broken rendering problem.
For Java apps (e.g., JabRef), the workaround is to set environment variable J2D_D3D to false. See:
Swing rendering appears broken in JDK 1.8, correct in JDK 1.7
For Windows Presentation Foundation (WPF) apps (e.g., SourceTree and Visual Studio 2017 RC), the workaround is to disable WPF acceleration by adding a registry value:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration
with data "1." See:
How does one disable hardware acceleration in wpf?
i had many problems with windows 10 on MBP Pro mid2010, i resolved all my problems by installing the upgrade to Build 1909 by downloading the upgrade utility:
https://www.microsoft.com/en-us/software-download/windows10
after that i installed BootCamp4.0.4033 and by magic all works fine.

Appcelerator studio won't start (no loading screen)

I'm trying to run appcelerator studio in my Desktop.
AMD Athlon II x4 640 3.00 GHz
Ram 4gb
64bit win 8.1
120Gb SSD Samsung 840 EVO
so, in my laptop i7 8gb ram etc.. run smoothly.
When I'm trying to start the studio doesn't respond, not even in task manager.
I'm using CLI and work fine..
I can't find any log file. Which appc studio keep in workspace which one I have no create yet because I can't open the studio.
I run the command appc platform to start the studio from the CMD but nothing happens and this message appears:
{"success":false,"description":"platform command usage: appcelerator platform <api> <method/arguments>"}
I uninstalled AVAST and check first the blocked programs, but nothing..
I disabled Windows firewall too.
Reinstalled the studio many times using different versions of node. But nothing.
And of course I tried to come in contact with the appc team but I can't....
I'm thinking about 4Gb ram limitation; if that blocks the program from starting.
I also try to open the program logged in and logout from CLI.
Any idea? any one with the same problem?
I am not stuck in loading screen the studio try to verify my account and communicate with server.
Studio just won't start at all.
I'm sorry for my bad English.
sorry for your issue.
First - I am assuming your running Windows (Linux is no longer supported)
The CLI command your using appc platform does not launch studio. That is used for accessing platform APIs and thus requires you to provide an API to use.
To launch studio from the CMD line on Windows you would need to cd into your Appcelerator Studio directory and run the associated program. When installing studio, we do put an icon on the desktop, which is by far the easiest way to start it up.
Your right about your RAM limitation. While you'll find that studio does "run" it will be extremely slow, especially once you start using the Android / Windows emulators etc. Windows takes up 1-2GB of Ram on its own, leaving very little for any development tools.
Our recommended configuration for Windows machines is:
* Windows 8.1 or higher
* 16GB of RAM
I would also think about a faster proc as well.
We are in the process of updating our documentation on the pre-reqs' as its a bit misleading. While we say 4GB of RAM is suitable, what we are talking about is 4GB of 'free memory' on top of everything else you have running, not 4GB of total system memory.

Windows Phone 7 emulator doesnt work properly and just flickers

Windows Phone 7 emulator doesn't work properly on my laptop.
It just flickers instead of starting my app. Clicking on any of the buttons has no effect. (None of the emulators work, tried 256MB, 512MB, and the ones installed by WP 7.8 SDK Update) WP 7.8 SDK Update didn't solve anything.
I'm using a Samsung NP300E5A-S06 notebook, and it has:
Core i5 3210M 2.5Ghz
Intel HD Graphics 4000 + GeForce GT 620M
6GB of RAM
Here is a video of what's happening on my machine.
I heard this can be caused by the Intel HD Graphics 4000. But we can't force WP Emulator to use the GeForce.
How can I make the WP7 emulator work properly?
If you have any idea or a working solution, please help me!
Thanks in advance!
First, download and install the latest GPU drivers for both GPUs. If it will help, you're lucky: I had something very similar on machine (dual GPU Intel + NVidia as well), and was unable to find a fix.
My advice - upgrade to Windows 8, install visual studio 2012, and WP8 SDK. Fortunately, with the recent version of the SDK you can still build for the previous WP 7.1 platform. And even if xde.exe still won't work on your laptop, you can test and debug the application you're building on new HyperV-based WP8 emulators.
sorry, I cant comment.
Did you try repairing the installation?
Also completely removing and then re-installing?
EDIT:
Also you can try running it on a virtual machine on your laptop (Maybe there is some problem in your Windows installation - after all its Windows ;) )
i think i have had series of problems with that emulator months ago, but now, all is just well. i have some questions for you.
1) Which version of Visual Studio are you using. i believe it should be visual studio 2010
2) have you installed visual studio 2010 service pack 1? if no, try to download it and install
3) which version of .net framework are you using? Visual Studio installs .net3.0 automatically but i guess you have to install the service pack 1 too. you can download it or get it from windows update. in the update settings, choose"check for updates but let me choose which to download and install" then check the two or three check boxes below. then click okay and check for updates. you will then install updates for visual studio 2010 and .net framework.
those should help.

System gets stuck while running windows phone emulator

I am developing an application for Windows Phone in Visual studio 2010 ultimate using wp7.1 SDK in Windows 7 32 bit and 3GB RAM. My system often gets stuck and then restarts sometimes when I run the application on wp7 Emulator (2 or 3 times an hour). Before restart it displays the message: "Display driver stopped responding and recovered" and leads to a blue screen displaying "some lines with Contact system admin".
I am not sure why, will need more details. Try installing the 7.1.1 update for the SDK, it is meant for low profile devices, but I am just hoping this will resolve your issues too.
http://www.microsoft.com/en-us/download/details.aspx?id=29233
Had the same problem. Just start your sdk installer. There will be a option of repair of deleat. I repaired my sdk first but it still did not work. I then deleted my sdk and reinstalled it. Worked like a charm.
But you must you know that I was not able to delete my sdk too. My antivirus was doing something wrong and stopping the uninstall of my sdk. So I had to delete my antivirus... than my sdk. Than reinstall the sdk, reinstall the antivirus.
It all worked great after.

Windows phone 7 takes forever to deploy

I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
The emulator isn't supported running inside or side by side other VM's at this stage. It is implemented as a VM itself. VM's running on windows platforms will be detected by the emulator startup and a specific error message provided. I've noticed several people having the same issue from Parallels on Mac ... presumably the VM detection doesn't work over there to stop the attempt.
System requirements documented here and here for your reference.
Similar to how we have to run a Mac to develop for iPhone without hassles, you'll need to run a PC to develop for Windows Phone 7 - at least for now.
You may also find your issue with the WIndows Phone Emulator is because the Emulator actually the real phone ROM running in a Virtual Machine.
Since your situation is a VM (Windows 7 on Parellels on Mac) this may explain your performance issue. Developers using VMWare have had similar issues plus Virtual PC / Hyper-V does not support Windows Phone 7 at all.
Running virtual machines on virtual machines is a massive performance hit, your only solution may be a cheap PC installation of Windows Phone 7 tools etc on compatible hardware ie Graphics Card / with WDDM 1.1 compatible drivers etc.
For my WP8 deployment, I notice that disconnecting my MacBook Air from the power source will slow the deployment down considerably (so will the debugging and tracing).
Simply plug the laptop back to the power source and everything will become fast again.
Don't kill the emulator between debug sessions. There is no need.
Also - Visual Studio 2010 Express For Windows Phone, which is installed with the tools, is much more responsive as it has less features running.
So if speed is really an issue, that may be an option.

Resources