Blog Archives

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.

Posted in Android, ErrorFix Tagged with: ,

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

Posted in Android, ErrorFix Tagged with: , ,

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”

Posted in Android, ErrorFix Tagged with: ,

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

Posted in Android, ErrorFix, Linux, Mac, Windows

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

Posted in Android, ErrorFix Tagged with: , ,

Netflix US Content Outside Of The US

There are many ways to watch Netflix unblock, hidemyass, Tunnelbear and more. You can however watch US Netflix without paying and alter your DNS. The only downside is that you have to use your PC to watch the US content

Posted in Android, Tips and Tricks, Windows Tagged with: , ,

Xamarin Application Could Not Be Started

Encounter this error today while using Xamarin. The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true). Additionally, check Build -> Configuration Manager to ensure this

Posted in Android, Mac, Windows Tagged with: ,

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

Posted in Android, ErrorFix Tagged with: ,

Android Wifi and Bluetooth Toggle

The buttons for bluetooth and wifi in the Quick Settings Toggles in Android is not a toggle, it will open the menu in settings for either bluetooth or wifi. However in the newly release version of Android, 4.2.2 you can

Posted in Android, Tips and Tricks

Android TextView Strike

To make a strike in your TextView in Android use the setPaintFlags like this: TextView tv=(TextView) v.findViewById(android.R.id.text1); tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); If you’re using Html.fromHtml to set the text you can’t unfortunately use the <strike> as this is not supported for Android

Posted in Android, Tips and Tricks Tagged with: , ,