【发布时间】:2017-05-16 06:17:26
【问题描述】:
我有一个在 mac (ElCapitan) 上开发的 nativescript (3.0) 应用程序。我能够毫无问题地运行 iOS 模拟器,但我找不到为 Android 构建应用程序的方法。我收到以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'MyApp'.
> Flavor 'nativescript-telerik-ui' has unknown dimension 'nativescript-telerik-ui'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.004 secs
Command ./gradlew failed with exit code 1
我严格按照nativescript文档,删除android平台重新添加,重新安装Android SDK和工具,但没有任何成功。
在这一点上,我没有想法。任何帮助将不胜感激。
谢谢。
【问题讨论】:
-
你应该将标签添加到“android”或“gradle”,因为“Flavor”和“Dimensions”是 Gradle 术语
-
此软件包已被弃用您检查了吗?发生了什么变化...telerik-ui > nativescript-pro-ui > nativescript-ui
标签: nativescript