Skip to content Skip to sidebar Skip to footer

Android Classcastexception At Android.app.application

i have the following exception when i running the following application Activity: package com.google.android.SmartStudentmCompanion; import java.io.BufferedReader; import java.io

Solution 1:

In your manifest change

<application android:icon="@drawable/icon" android:label="@string/app_name">

to

<application android:icon="@drawable/icon" android:label="@string/app_name"
    android:name=".ApplicationEx">

Since you have not stated the android:name for the <applicaton> the OS looks for the default Application class. In order to point it to your Application subclass you should use android:name attribute.

Post a Comment for "Android Classcastexception At Android.app.application"