Nativescript 6升级-Android构建现在失败

时间:2019-10-18 22:01:18

标签: nativescript

我刚升级到Nativescript 6,当我尝试运行tns android build --bundle

What went wrong:
Execution failed for task ':app:runSbg'.
Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java'' fini
shed with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more l
og output. Run with --scan to get full insights.` (edited) 

我更新了我认为需要的所有插件。有任何想法吗?在iOS上运行良好

1 个答案:

答案 0 :(得分:0)

因此,某些插件即使已更新,也不再是正确的插件。 Nativescript插件已移至私有存储库。以下是我更新为的列表:

"@nstudio/nativescript-loading-indicator": "^1.0.0",
"@nstudio/nativescript-pulltorefresh": "^1.0.1",
"@proplugins/nativescript-localstorage": "^2.2.1",
"@proplugins/nativescript-zxing": "^1.6.0",