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 […]
Category: Android
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 […]
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
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 […]
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 […]
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 since this solution is an extension for your browser. You don’t have to create US […]
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 project is set to Deploy for this configuration. The setup was as follow: Using […]
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.
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 do a long press to toggle the options. For more information and features: […]
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 at this moment (in Jelly Bean).