Skip to content Skip to sidebar Skip to footer

Android Not Found Resource Id

i've created a new android project target 8, with default activity I've assigned an id to textview with text 'Hello world'.

Solution 1:

have you declared your activity on your manifest.xml ?

Example of declaration of an activity :

<?xml version="1.0" encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.warriorpoint.taxman2"android:versionCode="1"android:versionName="1.0"><applicationandroid:icon="@drawable/icon"android:label="@string/app_name"><activityandroid:name=".Activity1"android:label="@string/app_name"><intent-filter><actionandroid:name="android.intent.action.MAIN" /><categoryandroid:name="android.intent.category.LAUNCHER" /></intent-filter></activity><activityandroid:name=".Activity2"></activity></application><uses-sdkandroid:minSdkVersion="3" /></manifest>

Post a Comment for "Android Not Found Resource Id"