nativescript-onesignal plugin is failing with Java no class found errors
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- java, kotlin, typescript
- 領域
- mobile-dev
研究方向
從外掛程式文件開始,重現 NSOneSignal.getInstance().init 和 NativeOneSignal 方法中的失敗。調查回報的 Kotlin Intrinsics 和 com.onesignal.OneSignal 類別解析錯誤;完成的標準是,文件所述的設定能夠載入這兩個類別,且受影響的呼叫能在沒有 NoClassDefFoundError 的情況下執行。
由索引模型根據 Issue 內容生成。
描述
I have followed the instruction provided in your documentation to use the plugin but it fails with the following errors:
While calling the NSOneSignal.getInstance().init method the error is:
Error: java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/Intrinsics;
While calling the NativeOneSignal object methods the error is:
Error: java.lang.NoClassDefFoundError: com.onesignal.OneSignal
Is there something that needs to be done besides what's provided in the documentation?
https://market.nativescript.org/plugins/@rwigo/nativescript-onesignal/
- 主要語言
- TypeScript
- 星號
- 206
- 分支
- 123
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/plugins 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 92/100
NativeScript/plugins#680 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
NativeScript/plugins#671 ·
-
難度 1/5 1 小時以內 新手友好度 72/100
NativeScript/plugins#640 ·
-
難度 4/5 3-5 天 新手友好度 45/100
NativeScript/plugins#668 ·
-
難度 4/5 3-5 天 新手友好度 45/100
NativeScript/plugins#665 · 1 則留言 ·
查看 NativeScript/plugins 的全部 Issue
相似的 Issue
-
Type/Bug
難度 2/5 1-3 小時 新手友好度 78/100
OpenNSW/nsw-srilanka#497 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難度 1/5 1 小時以內 新手友好度 88/100
digidem/comapeo-cloud-app#403 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 78/100