Tuesday, 2 January 2018

Java.lang.ClassNotFoundException after Android studio update

  Launcher activity not found in android studio project solution

    Try cleaning gradle cache & build by running each line in the terminal:
 gradlew --stop
gradlew cleanBuildCache
gradlew clean

How To Boost Android Studio Speed

                                        How To Boost Android Studio Speed

here is the way using this you can boost up your runtime android studio speed

check this first 
Android Studio is infact pretty heavy. It's constantly doing work all of the time. I believe Eclipse is slightly less resource-hogging however, I don't think it would be a massive difference in that it's probably not worth it.What I would recommend is doing an Alt+Ctrl+Del whilst running Android Studio and taking a look at the CPU/Memory. If one is near the limit then, that will be the problem 
way 1 : 
Enable Offline Work:

Click File -> Settings. Search for "gradle" and click in Offline work box.
Go to Compiler (in same settings dialog just below Gradle) and add --offline to Command-line Options text box.
Improve Gradle Performance

gradle can be optimized too. The easy way is to modify the settings in global gradle.properties(create it if not exists in the following folders: Windows - C:\users\your_name\.gradle\; Linux- /home/<username>/.gradle/; Mac- /Users/<username>/.gradle/; ) and in that file, add these two lines:


another reason - Thumbs.db, which affected performance badly.

Go to File > Settings > Editor > File Types and in field Ignore files and folders add this:Thumbs.db;

Sunday, 23 October 2016

How To setup Android Studio For Make First android app

         Three easy way to debug Android app for beginners 


hi guyz firstly i am introducing my self . My self Manoj kumar mehra I am android Developer i developed more then 20 apps . when i was started I faced many problem with debug my app so i found a easy way to debug app


There is a 4 way to debug android app  

    1. using emulator
    2. using blue stack 
    3. using real Device 
    4. real Device over the wifi

    using emulator

    Android Studio includes a debugger that enables you to debug apps running on the Android Emulator or a connected Android device. With the Android Studio debugger, you can:
  1. Select a device to debug your app on.
  2. Set breakpoints in your Java and C/C++ code.
  3. Examine variables and evaluate expressions at runtime.
  4. Capture screenshots and videos of your app.
To start debugging, click Debug in the toolbar. Android Studio builds an APK, signs it with a debug key, installs it on your selected device, then runs it and opens the Debug window, as shown in figure 1. If you add C and C++ code to your project, Android Studio also runs the LLDB debugger in the Debug window to debug your native code.
If no devices appear in the Select Deployment Target window after you click Debug, then you need to either connect a device or click Create New Emulator to setup the Android Emulator.