Thursday, 15 September 2016

Monday, 12 September 2016

java.lang.NoClassDefFoundError exception on some devices or giving Could not find some class error

Try adding this to your Manifest:
android:name="android.support.multidex.MultiDexApplication"
inside <application> tag.

Sunday, 29 May 2016

How to remove extra solid space between cards in cardview in android layout file

Simply remove linear layout in which cardview is enclosed.
Your xml fie structure should be like.. cardview-->relative layout-->components.

Tuesday, 26 January 2016

Sunday, 17 January 2016

Run Configurations disabled in Android Studio

go to the combo just to the left of the run button, open it and select the main module of your project. It should be enough to enable run button again.
Cheers.

Saturday, 16 January 2016


Android Studio 2.0


Google has been moving fast on iterating its IDE for developing Android apps. Announced two months ago, Android Studio 2.0 is on its fifth preview that makes further refinements to its marquee ‘Instant Run’ feature and fixes other bugs.

With Instant Run, developers can see the changes they make to their app’s code near instantaneously on their device or on an emulator. Preview 5 adds support for the times when a code change can’t be immediately run. In addition to the ‘cold swap’ feature, there is also a new feature that removes unused resources in order to make an app as small as possible.
Developers can update their current installation to the fifth preview, or they can keep the stable version and a preview version working side-by- side.