Can you post the logcat error message here so that we can see what error is occuring ..
On Wed, Oct 26, 2016 at 12:09 PM, Rudra Upadhyay <[email protected]> wrote: > My app is crashing when I access another activity in app. Please help me > find the error. > Here is the code. > > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="prjct.gramya"> > > <!-- To auto-complete the email text field in the login form with the > user's emails --> > <uses-permission android:name="android.permission.GET_ACCOUNTS" /> > <uses-permission android:name="android.permission.READ_PROFILE" /> > <uses-permission android:name="android.permission.READ_CONTACTS" /> > > <application > android:allowBackup="true" > android:icon="@mipmap/ic_launcher" > android:label="@string/app_name" > android:supportsRtl="true" > android:theme="@style/AppTheme"> > <activity > android:name=".LoginActivity" > android:label="@string/title_activity_login"> > <intent-filter> > <action android:name="android.intent.action.MAIN" /> > > <category android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity> > <activity > android:name=".MainActivity" > android:label="@string/app_name" > android:theme="@style/AppTheme.NoActionBar"> > <activity android:name=".ElectricianActivity" > android:label=" Electrician"/> > > <activity android:name=".LocationActivity" > android:label=" Select Your City"/> > <activity android:name=".AddressEnquiryActivity" > android:label="Enter Your Address"/> > > </activity> > <!-- > ATTENTION: This was auto-generated to add Google Play services to your > project for > App Indexing. See https://g.co/AppIndexing/AndroidStudio for more > information. > --> > <meta-data > android:name="com.google.android.gms.version" > android:value="@integer/google_play_services_version" /> > > > </application> > > </manifest> > > -- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/android-developers/99557aff-c84c-42bb-808f- > 2fff54fe1c89%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/99557aff-c84c-42bb-808f-2fff54fe1c89%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CABHzXAT%3DLhDF4_E1%3DHv9u9qoP%3DokDdmwV9r9tFVaHapDrwe-pA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

