meh*_*meh 2 ant android android-build
我正在尝试使用ant构建一个apk,并且编译失败并显示以下错误消息:
[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);
Run Code Online (Sandbox Code Playgroud)
在eclipse中它编译得很好,当我删除那部分代码时,它也会在ant构建期间编译.
你能尝试下面的:
ArrayAdapter<String> adapter = null;
currentAddressTextView.setAdapter(adapter);
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
504 次 |
最近记录: |