Reputation: 2819
Well my experience with Xamarin has not started well.
I've started a course on Pluralsight, Cross Platform iOS/Android with Visual Studio and C# - Part 1, and one of the recommendations is to rename the Resources subfolders to their lowercase equivalent e.g. Drawable > drawable
However, whenever I try to do this, I receive the following error: "Cannot rename 'Drawable'.No more internal file identifiers available"
When I also view the Main.axml I receive "Disconnected from layout renderer - Please close and open the file again" but I think that may be related to the above.
EDIT: The "Disconnected from layout renderer" issue was not part of the renaming issue. However, there does appear to be an issue with the 22.6 android SDK. Please see here
Since I only downloaded Xamarin yesterday, I am running the latest version through Visual Studio 2013.
Any suggestions?
Upvotes: 10
Views: 3090
Reputation: 968
Take a look at this link
Rename from "Drawable" to "draw" and then renamed to "drawable". Apparently there's an issue renaming a folder with just a case change.
Upvotes: 22
Reputation: 26485
Really there is no reason to renamed the Drawable
folder, unless you think the folder name looks prettier in lower case. I tried renaming mine to ❤Drawable❤
, but it didn't work either. Your error message seems like a Visual Studio error, so maybe try changing the folder name in the csproj file manually if you really want to do it.
They just put out an update to Xamarin.Android that fixes the issue with the designer for me (but I could only try it on a Mac because I'm not in the office right now): Xamarin.Android 4.12.1
Google released a new SDK recently that broke the designer apparently, and so just some bad luck on that one.
Upvotes: 1