jpush / jpush/jpush-phonegap-plugin
错误: 从内部类中访问本地变量jPushMessage; 需要被声明为最终类型
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 922
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
编译安卓平台的时候出现的错误:
/.../platforms/android/src/cn/jiguang/cordova/push/JPushEventReceiver.java:32: 错误: 从内部类中访问本地变量jPushMessage; 需要被声明为最终类型
Set<String> tags = jPushMessage.getTags();
文件有多处
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
Start by reproducing the Android build and inspect platforms/android/src/cn/jiguang/cordova/push/JPushEventReceiver.java at line 32, then search the file for the other reported occurrences. Confirm the compiler errors are resolved across all affected locations and verify that the Android platform builds successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100