Categories
ErrorFix Mac

iOS 7 Navigation Bar Appear Over The Views

A lot of elements has changed in iOS7, they have introduced new properties that lets you adjust the layout behavior as in previous versions of iOS. The Navigation Bar appears over the views now because a default setting has changed, to address this issue use this line in the viewDidLoad() self.edgesForExtendedLayout = UIRectEdgeNone; This will […]

Categories
ErrorFix Windows

Windows Phone Developement No Emulator

Visual Studio didn’t have the option to select the Windows Phone emulator, this happened after doing a repair of the Windows Phone SDK 8.0 – ENU. It only had the “Attach…” a process to it. The issue here was that the hyper-V wasn’t enable/installed. By right clicking your windows phone project try to deploy the […]

Categories
Android ErrorFix

Android studio 0.2.6 Default Activity Not Found

Updated Android Studio to 0.2.6 you can run into this error: “Error: Default activity not found”, almost every line was red and some other irrelevant error. Nothing was changed in the project, only did the update from 0.2.5 to 0.2.6. Do the following to fix the problem: Build -> Rebuild Project and then restart Android […]

Categories
Android ErrorFix

Android Studio 0.1.6 Cannot Find Symbol location Class R

After updating Android Studio 0.1.6 it sometimes can’t find R and you have to rebuild your project. java /*.java : cannot find symbol location : class com.*.R A workaround: Module project settings -> Dependencies -> move one of the item up or down -> OK, it’ll regenerate the R.java Another temporary wordaround: Turning off Preferences […]

Categories
Android ErrorFix

Android Package org.junit Does Not Exist

Ran into this error when importing an Android into Android Studio. In this case ActionbarSherlock http://actionbarsherlock.com/ java: C:\..\Android\SherlockActionbar\test\com\actionbarsherlock\internal\ManifestParsingTest.java:3 package org.junit does not exist … package org.hamcrest does not exist … static import only from classes and interfaces Turned out the “test” folder was included. Remove the “test “folder with the package “com.actionbarsherlock.internal” and file ManifestParsingTest

Categories
Android ErrorFix Linux Mac Windows

Git tf Path Already Mapped

Running with Visual Studio and Team Foundation Server with different projects in the DefaultCollection. Using the great tool called Git-TF http://gittf.codeplex.com/ you can pull and work with git while still having tfs as your default vcs. E.g. Xcode can’t connect to tfs so pulling to a git and running your Xcode project from the git repository you […]

Categories
Android ErrorFix

Eclipse ADT rev 22 Crashes My App

It was one of those days, you realize there is an update and you think, yeah sure, what can go wrong. So the problem at hand. Running Eclipse (Juno, version shouldn’t matter) with ADT, Android Development Tools, and you updated the ADT to rev 22. You’ll get numerous errors if you’re very unlucky.  When you run your […]

Categories
ErrorFix Mac

Xcode Can’t Ignore UserInterfaceState.xcuserstate

Running version control in Xcode can give some troubles when setting up in an existing project. Having an existing project added to a new Git repository the Xcode keep saying UserInterfaceState.xcuserstate has changes. The working copy “helloworld” has uncommitted changes. Commit or discard the changes and try again. Committing the changes doesn’t help as it keep […]

Categories
Android ErrorFix

Android Failed to convert drawable/ic_launcher into a drawable

Eclipse comes with some hiccup now and then when developing for Android. This error occurred after creating a new project and opening the layout xml file. Failed to convert @drawable/picture into a drawable This is not an error in your code but some strange issue in Eclipse. Restart Eclipse (unfortunately) and the problem will go away.

Categories
Android ErrorFix

Eclipse XML Layout Text Editor Broken

When editing xml layout file for Android in Eclipse you might encounter the xml being wrong, flipping and broken. When changing tabs between the graphical layout and the xml file, the lines of code will start disappearing or moving around. It becomes even more visible when highlighting a block of text. To fix this you can disable this […]