litesuits / litesuits/android-lite-async
Error:(76, 21) 错误: 无法将类 AsyncTask<Params,Progress,Result>中的方法 execute应用到给定类型;……
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 455
- Forks
- 176
- PR merge metrics
- No merged PRs in 30d
Description
Error:(76, 21) 错误: 无法将类 AsyncTask中的方法 execute应用到给定类型;
需要: CAP#1[]
找到: 没有参数
原因: 形式 varargs 元素类型CAP#1无法从 类 <匿名com.litesuits.android.async.TaskExecutor$1> 进行访问
其中, Params,Progress,Result是类型变量:
Params扩展已在类 AsyncTask中声明的Object
Progress扩展已在类 AsyncTask中声明的Object
Result扩展已在类 AsyncTask中声明的Object
其中, CAP#1是新类型变量:
CAP#1从?的捕获扩展Object
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The compiler error points to line 76, column 21 in an anonymous AsyncTask inside TaskExecutor; start there and inspect the execute call and its generic parameters. Reproduce the Java compilation failure, then confirm the project builds without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100