I am building an native android Wallpaper app using vue-cli. i am trying to make an image downloader using nativescript-downloader plugin of nativescript. After installing nativescript-downloader using npm install --save nativescript-downloader when I trying to debug using npm run debug:android getting this Error.Error log is given below.
[email protected] debug:android /home/darahat/Desktop/Wallpaper npm run debug -- --env.android
[email protected] debug /home/darahat/Desktop/Wallpaper webpack --watch --env.tnsAction debug "--env.android"
info: Copying NativeScript plugins to template dependencies... info: Preparing NativeScript application from template... npm WARN wallpaper@ No repository field.
info: Bundling application for android...
Webpack is watching the files…
Executing post-build scripts
info: Debugging NativeScript application... Searching for devices... Preparing project... Project successfully prepared (Android) Building project... Gradle build... + applying user-defined configuration from /home/darahat/Desktop/Wallpaper/dist/app/App_Resources/Android/app.gradle Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead. Configuration 'debugCompile' in project ':app' is deprecated. Use 'debugImplementation' instead. + adding nativescript runtime package dependency: nativescript-optimized + adding aar plugin dependency: /home/darahat/Desktop/Wallpaper/dist/node_modules/nativescript-downloader/platforms/android/nativescript_downloader.aar + adding aar plugin dependency: /home/darahat/Desktop/Wallpaper/dist/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
Unable to apply changes on device: 0123456789ABCDEF. Error is: Command ./gradlew failed with exit code 1
