1. Import error
Importing project : Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
2.
One of the common exception is
Syntax:
Importing project : Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
- Right click on the Project
- Select Android Tools, Select Fix Project Properties.
2.
ActivityNotFoundException exception
One of the common exception is
ActivityNotFoundException.
Whenever we create any screen nothing but activity, we need to specify the activity in AndroidManifest.xml. If you forgot to specify the Activity then it leads to ActivityNotFoundException
exception.Syntax:
<activity android:name=".HelloActivity" android:label="Welcome to Hello world" > </activity>
No comments:
Post a Comment