push-plugin icon indicating copy to clipboard operation
push-plugin copied to clipboard

registerResGeneratingTask is deprecated

Open fthuin opened this issue 7 years ago • 2 comments

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Which platform(s) does your issue occur on?

  • Android (didn't test iOS)
  • Android 26/27
  • emulator or device. Real device (Samsung Galaxy S6 and Sony Xperia X)

Please, provide the following version numbers that your issue occurs with:

  • CLI: 4.1
  • Cross-platform modules: 4.1
  • Runtime(s): 4.1.3
  • Plugin(s): (look for the version numbers in the package.json file of your project and paste your dependencies and devDependencies here)

Please, tell us how to recreate the issue in as much detail as possible.

Run the app with push-plugin.

registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)

fthuin avatar Jul 24 '18 13:07 fthuin

Thank you for the report. This warning can be safely ignored for now. It is raised during the build process and is not related to the code of the actual application. It will not impact the app itself.

lini avatar Jul 27 '18 12:07 lini

HI, I have same problem but now the app dose not build

         + adding aar plugin dependency: /Users/kefahbader/Sites/nativescript-project/DIGI-PAY-CLIENTS/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Project successfully built.
Installing on device 192.168.57.101:5555...
Unable to apply changes on device: 192.168.57.101:5555. Error is: The new package couldn't be installed because the verification did not succeed..

The problem come after I make change on file i18 for nativescript-localize !

kefahB avatar Nov 27 '18 02:11 kefahB