Skip to content

Unable to build plugins with rc of Android runtime #4353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rosen-vladimirov opened this issue Feb 8, 2019 · 0 comments
Closed

Unable to build plugins with rc of Android runtime #4353

rosen-vladimirov opened this issue Feb 8, 2019 · 0 comments
Assignees
Labels
no-changelog The issue is present only in `next` versions and was not included in official version. os: android severity: critical
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

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):

  • CLI: 5.2.0-2019-02-07-12917 (could reproduce with 5.1.1 as well)
  • Cross-platform modules: Not applicable
  • Android Runtime: 5.2.0-rc-2019-02-06-135138-02
  • iOS Runtime: Not applicable
  • Plugin(s):
 "dependencies": {
    "nativescript-camera": "^3.1.2",
    "nativescript-feedback": "^1.3.4",
    "nativescript-imagecropper": "^1.0.4",
    "nativescript-permissions": "^1.2.3",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-unit-test-runner": "^0.3.4",
    "tns-core-modules": "^5.1.1"
  },

Describe the bug
When trying to build a project for Android, CLI checks the dependencies in the project and builds .aar for each of them that has some res or AndroidManifest.xml. CLI uses the gradle version from the current Android Runtime. In the latest rc, we have updated the Gradle version to 3.3.x. This version is stricter when checking the compile time and runtime dependencies and currently we fail to build .aar files for some plugins, for example nativescript-imagecropper, nativescript-feedback etc.

To Reproduce

$ tns create myApp --js
$ cd myApp
$ npm i --save nativescript-camera nativescript-imagecropper nativescript-feedback
$ tns build android

Expected behavior
CLI should build .aar files correctly.

@rosen-vladimirov rosen-vladimirov added severity: critical os: android no-changelog The issue is present only in `next` versions and was not included in official version. labels Feb 8, 2019
@rosen-vladimirov rosen-vladimirov added this to the 5.2.0 milestone Feb 8, 2019
@rosen-vladimirov rosen-vladimirov self-assigned this Feb 8, 2019
@miroslavaivanova miroslavaivanova self-assigned this Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog The issue is present only in `next` versions and was not included in official version. os: android severity: critical
Projects
None yet
Development

No branches or pull requests

2 participants