NativeScript / NativeScript/android
Plugin with id 'com.android.application' not found.
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 563
- 派生
- 144
- 平均合并
- 10 小时 46 分钟
- 30 天内合并 PR
- 14
描述
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
Update available for component nativescript. Your current version is 6.8.0 and the latest available version is 7.0.11.
‼ Update available for component tns-core-modules. Your current version is 6.5.8 and the latest available version is 6.5.21.
√ Component tns-android has 6.5.3 version and is up to date.
Describe the bug
Until about 1-2 months ago i can use nativescript without problem, today i try to build an old project and i receive this error:
-
Where:
Build file '[cut]\platforms\android\app\build.gradle' line: 33 -
What went wrong:
A problem occurred evaluating project ':app'.
Plugin with id 'com.android.application' not found.
So i tried to build an "hello world" project and i receive the same error. What happened? In these 2 months i start to coding in Native Android Studio. Is possible i changed something?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 platforms/android/app/build.gradle 第 33 行报告的失败开始,然后通过 tns info 或 package.json 检查 NativeScript 和 Android 组件的版本。在旧项目和新的 Hello World 项目中都重现该错误。当 Android 构建能够解析 application plugin 并成功完成时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android
- 领域
- build-system, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 28/100