There is nothing wrong with your code, apart from the misuse of lower case letters in a number of class and attribute names. Once I corrected those errors the code worked perfectly.
// activity_main.xml
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.techmail.progressreport.MainActivity">
<textview android:id="@+id/lblSubjects">
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/lblSubjects"
android:textAppearance="?android:attr/textAppearanceMedium">
</textview>
<autocompletetextview android:id="@+id/txtautocompleteSubjects">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textAutoComplete|textAutoCorrect"
android:layout_marginTop="40dp"
android:ems="12">
</autocompletetextview>
</relativelayout>
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
String[] chapters = getResources().getStringArray(R.array.subjectsList);
AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.txtautocompleteSubjects);
ArrayAdapter<string> adapter = new ArrayAdapter<string>(this,
android.R.layout.simple_list_item_1,
chapters);
textView.setAdapter(adapter);
textView.setThreshold(1);
}
</string></string>