Hi I have switched to a new PC and downloaded Android Studio. The design preview of Xml files were fine at first but after I added a device it started to grey out in a couple of seconds and this only happens to my main xml file.
Here is the main xml preview
How I want it to look like
I tried changing API levels and the device didn't do much for me. I also tried changing theme to Light Mode
try to unistall and reinstall android studio.
it seems an IDE bug.
Be informed, we are encountering a freak error in our android studio ide since a week. Whenever we right click "res/" folder and click new image asset, the new image asset dialog just does not open up. We tried opening it in different android projects but everywhere the IDE just stands still not opening any dialog. We are at loss as where this problem could be. Is there a need to upgrade to new android studio perhaps ? Any guidance on this issue would
be appreciated.
Recenty I installed Android Studio on my laptop running Ubuntu 16.04.
When I created a new project and used Android Studio, this annoying popup kept showing: (Because my low reputation, I cannot post images, please click the link below)
https://i.stack.imgur.com/zNMbk.png
I tried to check the checkbox but it still display everytime I click on anywhere in Android Studio.
Help me, thanks in advance.
Try to use this for creating a desktop entry: desktop-file-install THE_DESKTOP_FILENAME_HERE.desktop
It might be the solution (if error it's because it localized the fileB, if ok it will copy to the correct localization /usr/share/applications) Restart then
After trying many times, I decided to reinstall Android Studio and the error disappeared! I don't know the reason clearly but maybe using Create Desktop Entry in Android Studio and creating a .desktop file manually (after installing Android Studio, I wanted to add Android Studio icon to launcher) caused conflicts.
goto settings in android studio
keymap-> main menu-> tools-> create desk entry
right-click on "create desktop entry"
you will get an option to turn off it.
My current Android Studio installation (linux-64bit) is showing a pop-up saying there is a new Version of Android Studio 2.
I am unable to download the current stable of Android Studio.
The download-link (on big green button) reffers to the Terms and Conditions. If i Accept and klick the button (which is showing no text, which is also strange) it redirects me to the index page again.
Here is the index page: http://developer.android.com/sdk/index.html
Have they withdrawn the release or something? Does anybody know a direct-link?
Thank you for any help on it
You need to have a little patience and try to check for update from time to time until you'll be able to update Android Studio from within the IDE. I encountered the same issues as you but after a while it worked well.
My advise is to wait with the upgrading to 2.0 and stick with your 1.5 version because a lot of people here have problems with Android Studio 2.0 (for now it is kind of buggy, maybe later Google will fixed some issues...).
As an example of my problems with Android Studio 2.0 I've posted recently, check this: After upgrading to Android Studio 2.0, I cannot change the screen orientation in the Android emulator, but of course it is your decision to upgrade or not :) .
P.S. I'm a linux user too.
As this is entirely a new version, you will not be able to update (or upgrade) from within the app.
You will have to download the installer and install at the same location replacing your Android studio 1.5
I did the same thing and is working for me.
Regards
Vivek
I'm having real trouble when I try to use the IOS emulator from the visual studio. So I created a hello world app in VS using xamarin (latest stable version), I set the project as main project, and When I refresh the connexion with the mac, I can't select the device that should be shown in the selectList. The message is "No device attached" :
And if I try to use xamarin studio on the host mac, all is okay, the sample app builds on the iphone emulator:
Thanks to help me !
I know this question has already been answered, but i found it when i had a problem, and it did not help... but i did find the solution:
Under the debugging menu in VS2012, click on Configuration Manager
make sure that iPhone Simulator (or iPad, if you want) is set...
Default seems to be looking for a physical device...
hope this helps.
Are you sure the device is connected to the Mac and not the Windows machine? Have you tried debugging from that same device from Xamarin Studio on the Mac?
Had the same problem. Issue was when i loaded my solution, visual studio 2012 decided to choose a library project as the 'Startup project'.
Rt Clicked the ios project, chose 'Set as StartUp Project' and the device list was populated.
P.S: Visual Studio you should be old enough to figure this out by now.
When I ran into this problem, I had another instance of visual studio running which was connected to the Mac.
Apparently you can only have on VS instance connected at a time.
Check your server log in Visual Studio output window for some more clues:
Closing the other instance of Visual Studio allowed me to connect in the instance I wanted to debug in
I discovered something missing. For me, in Visual Studio 2013, for some reason they have removed Solution Platforms from the toolbar. This makes it impossible to switch from iPhone to iPhoneSimulator without opening Configuration Manager. So, to fix this.
Click TOOLS/Customize then select the 'Commands' tab then select the 'Toolbar:' radio button and click the dropdown to the right of it and select 'Standard' as the toolbar you're working on.
Now, click 'Add Command' and select 'Build' from the catagories on the left and then scroll down commands until you find 'Solution Platforms'. Select that one and click OK. Then click the 'Close' button. You will now see an additional dropdown next to the Solution Configurations dropdown on your Standard Toolbar.
This will allow you to easily switch from iPhoneSimulator and iPhone. Use iPhone when you want to plug in an actual device, and use iPhoneSimulator when you want to pick a simulated device.
Hope this helps somebody out. I too have spent lots of time trying to figure this one out when I went from a device and was trying to use the simulator instead.
Restarting of Visual Studio 2010 worked for me.
Different things worked for me (Windows 8.1 & Visual Studio 2013):
Restart Visual Studio
Set 'iPhoneSimulator' as platform (only working one)
In Properties - iOS Application change 'Deployment Target' version to some lower number (6.0 worked for me).
As well as checking you have the right startup project selected as per #Chamkila's answer, check that you haven't accidentally broken your project's Info.plist file by attempting to open it through Visual Studio.