Skip to content

Error when running tns migrate regarding /App_Resources/Android/app.gradle #4822

Closed
@VladimirAmiorkov

Description

@VladimirAmiorkov

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: 6.0.0-2019-07-08-200630-13585
  • Cross-platform modules: ~5.4.0
  • Android Runtime: 5.4.0
  • iOS Runtime:5.4.0
  • Plugin(s):
"dependencies": {
  "@angular/animations": "~7.2.0",
  "@angular/common": "~7.2.0",
  "@angular/compiler": "~7.2.0",
  "@angular/core": "~7.2.0",
  "@angular/forms": "~7.2.0",
  "@angular/http": "~7.2.0",
  "@angular/platform-browser": "~7.2.0",
  "@angular/platform-browser-dynamic": "~7.2.0",
  "@angular/router": "~7.2.0",
  "nativescript-angular": "~7.2.4",
  "nativescript-theme-core": "~1.0.6",
  "nativescript-ui-listview": "^6.4.2",
  "reflect-metadata": "~0.1.12",
  "rxjs": "~6.5.0",
  "tns-core-modules": "~5.4.0",
  "zone.js": "~0.8.26"
},
"devDependencies": {
  "@angular/compiler-cli": "~7.2.0",
  "@nativescript/schematics": "~0.6.0",
  "@ngtools/webpack": "~7.3.0",
  "nativescript-dev-typescript": "~0.9.0",
  "nativescript-dev-webpack": "~0.22.0"
},

Describe the bug
When executing tns migrate I get the following error:

Backup project configuration.
Backup project configuration complete.
Backup auto-generated files.
Backup auto-generated files complete.
Migrate old Android App_Resources structure.
Failed to update resources.
 Backup of original content is inside "/Users/amiorkov/Downloads/radlistview-memory-leak-master 2/app/App_Resources/Android-Pre-v4".
If "/Users/amiorkov/Downloads/radlistview-memory-leak-master 2/app/App_Resources/Android is missing copy from backup folder."
cp: no such file or directory: /Users/amiorkov/Downloads/radlistview-memory-leak-master 2/app/App_Resources/Android/app.gradle

To Reproduce
Download the attached project

Expected behavior
The project will be migrate to 6.0.0
radlistview-memory-leak-master.zip

Metadata

Metadata

Assignees

Labels

bugno-changelogThe issue is present only in `next` versions and was not included in official version.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions