NativeScript / NativeScript/android
Plugin with id 'com.android.application' not found.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 563
- Forks
- 144
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 14
Description
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?
Contributor guide
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 with the reported failure in platforms/android/app/build.gradle at line 33, then inspect the NativeScript and Android component versions from tns info or package.json. Reproduce the error in both the old project and a new Hello World project. Done means the Android build resolves the application plugin and completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100