I am trying to build an apk with ant everything and the compilation fails with this error message:
[javac] type parameters of <T>void cannot be determined; no unique maximal instance exists for type variable T with upper bounds android.widget.ListAdapter,android.widget.Filterable
[javac] currentAddressTextView.setAdapter(null);
In eclipse it compiles fine, and when I remove that part of code it compiles as well during the ant build.
Can you try below:
ArrayAdapter<String> adapter = null;
currentAddressTextView.setAdapter(adapter);