java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pft.ashiqahammedash.myapplication/com.pft.ashiqahammedash.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Fatal error on Android Studio E/AndroidRuntime: FATAL EXCEPTION: main

    Stack Overflow | 1 month ago | ASHIQ AHAMMED ASH
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.pft.ashiqahammedash.myapplication/com.pft.ashiqahammedash.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference
  2. 0

    In Android Studio 2.2.3 I'm unable to run my app?

    Stack Overflow | 1 month ago | Sanjeev Singh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.linux.basicpercentagecalculator/com.example.linux.basicpercentagecalculator.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference
  3. 0

    How to set latitude & longitude in url if it is changing dynamically & to get list view via json?

    Stack Overflow | 7 months ago | user6313669
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.comida/com.comida.ListViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java - android 组件RecyclerView的使用指教? - SegmentFault

    segmentfault.com | 6 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.fiz.myapplication/com.example.fiz.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setLayoutManager(android.support.v7.widget.RecyclerView$LayoutManager)' on a null object reference
  6. 0

    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.lab02pc19

    Stack Overflow | 10 months ago | Miguel Zarate
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.lab02pc19.myapplication2/com.example.lab02pc19.myapplication2.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference

  1. Indri Yunita 7 times, last 1 month ago
  2. andreeaa marin 184 times, last 2 months ago
  3. Reich 59 times, last 3 months ago
  4. gamebusterz 40 times, last 2 months ago
  5. Emrah Küçük 3 times, last 3 months ago
42 more registered users
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com.pft.ashiqahammedash.myapplication/com.pft.ashiqahammedash.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    2 frames