profile
viewpoint

Ask questionsCan't attach packager for debugging

Actual Behavior

After 'attach to packager' or 'debug android', when my app loads, it stops with this message : com.facebook.react.common.javascriptexception : invalid or unexpected token Before that, i had this error : https://github.com/microsoft/vscode-react-native/issues/1123#issue-500960686 Then, i upgrade to vscode-react-nactive@01.12.0 and the error dissapeared. But now i have this message above. 2. I can debug with chrome navigator without problem.

Expected Behavior

attach to packager and debug in vscode normally

Software versions

  • React-Native VS Code extension version:
  • VSCode version: 1.38.1 React-native info : System: OS: Windows 10 CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz Memory: 2.43 GB / 15.86 GB Binaries: Node: 10.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.2.0 - C:\Program Files\nodejs\npm.CMD SDKs: Android SDK: API Levels: 18, 19, 20, 22, 23, 24, 26, 27, 28 Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 24.0.1, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2 System Images: android-18 | Intel x86 Atom, android-18 | Google APIs Intel x86 Atom, android-19 | Intel x86 Atom, android-19 | Google APIs Intel x86 Atom, android-22 | Intel x86 Atom_64, android-22 | Google APIs Intel x86 Atom_64, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-24 | Intel x86 Atom_64, android-24 | Google APIs Intel x86 Atom_64, android-25 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom IDEs: Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312 npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.1 => 0.61.1

My packages.json

{ "name": "ui", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@react-native-community/async-storage": "1.6.1", "@react-native-community/google-signin": "^3.0.0", "@react-native-community/slider": "^2.0.1", "@react-native-community/viewpager": "1.1.7", "i18n-js": "3.2.1", "lodash": "4.17.11", "moment": "2.24.0", "native-base": "2.13.8", "react": "16.9.0", "react-memoize-one": "0.1.0", "react-native": "0.61.1", "react-native-admob": "2.0.0-beta.6", "react-native-camera": "3.0.0", "react-native-device-info": "2.3.1", "react-native-easy-grid": "0.2.0", "react-native-fbsdk": "^1.0.4", "react-native-fs": "2.14.1", "react-native-highlight-words": "1.0.1", "react-native-keyboard-aware-scroll-view": "0.9.1", "react-native-localize": "1.1.4", "react-native-modal": "11.4.0", "react-native-rate": "1.1.7", "react-native-snap-carousel": "3.8.1", "react-native-storage": "1.0.1", "react-native-svg": "9.5.3", "react-native-vector-icons": "6.6.0", "react-native-webview": "7.2.0", "victory-native": "33.0.0" }, "devDependencies": { "@babel/core": "7.6.2", "@babel/runtime": "7.6.2", "@react-native-community/eslint-config": "0.0.5", "babel-jest": "24.9.0", "eslint": "6.4.0", "jest": "24.9.0", "jest-haste-map": "24.0.0", "metro-react-native-babel-preset": "0.56.0", "react-test-renderer": "16.9.0" }, "jest": { "preset": "react-native" } }

Outputs (Include if relevant)

  • Output of the Debug Console (View -> Toggle Debug Console):
OS: win32 x64
Adapter node: v10.11.0 x64
vscode-chrome-debug-core: 6.8.2
Could not debug. Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)
  • Output of the React-Native output channel (View -> Toggle Output -> Select React-Native in ListBox):
[Info] Starting Packager

[Info] Prewarming bundle cache. This may take a while ...

[Info] About to get: http://localhost:8081/index.bundle?platform=android

Loading dependency graph, done.
[Warning] The Bundle Cache was prewarmed.

[Info] Building and running application.

 BUNDLE  [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (3688/3688), done.

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: EPERM: operation not permitted, lstat 'c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\android\app\build\intermediates\transforms\mergeJniLibs\debug\0\lib\arm64-v8a'
Emitted 'error' event at:
    at NodeWatcher.<anonymous> (c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\node_modules\metro\node_modules\sane\src\node_watcher.js:291:16)
    at callback (c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\node_modules\graceful-fs\polyfills.js:295:20)
    at FSReqWrap.oncomplete (fs.js:153:21)
[Error] Error: Error while executing command 'react-native.cmd run-android --no-packager': Error while executing command 'react-native.cmd run-android --no-packager' (error code 101)


  • Output of the Developer Tools console (Help -> Toggle Developer Tools -> Select Console tab):
[Warning] Target simulator is not supported for Android platform. 
 If you want to use particular device or simulator for launching Android app,
 please specify  device id (as in 'adb devices' output) instead.

[Info] Using Android SDK location defined in android/local.properties file: C:\Users\reang\AppData\Local\Android\Sdk.

[Info] Starting React Native Packager.

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1178 file(s) to forward-jetify. Using 8 workers...
info Installing the app...
> Task :@react-native-community_async-storage:preBuild UP-TO-DATE
> Task :@react-native-community_async-storage:preDebugBuild UP-TO-DATE
> Task :@react-native-community_async-storage:checkDebugManifest UP-TO-DATE
> Task :@react-native-community_async-storage:generateDebugBuildConfig UP-TO-DATE
> Task :@react-native-community_async-storage:compileDebugAidl NO-SOURCE
> Task :@react-native-community_async-storage:compileDebugRenderscript NO-SOURCE
> Task :@react-native-community_async-storage:generateDebugResValues UP-TO-DATE
> Task :@react-native-community_async-storage:generateDebugResources UP-TO-DATE
> Task :@react-native-community_async-storage:packageDebugResources UP-TO-DATE
> Task :@react-native-community_async-storage:processDebugManifest UP-TO-DATE
> Task :@react-native-community_async-storage:generateDebugRFile UP-TO-DATE
> Task :@react-native-community_async-storage:prepareLintJar UP-TO-DATE
> Task :@react-native-community_async-storage:generateDebugSources UP-TO-DATE
> Task :@react-native-community_async-storage:javaPreCompileDebug UP-TO-DATE
> Task :@react-native-community_async-storage:compileDebugJavaWithJavac UP-TO-DATE
> Task :@react-native-community_async-storage:bundleLibCompileDebug UP-TO-DATE
> Task :@react-native-community_google-signin:preBuild UP-TO-DATE
> Task :@react-native-community_google-signin:preDebugBuild UP-TO-DATE
> Task :@react-native-community_google-signin:checkDebugManifest UP-TO-DATE
> Task :@react-native-community_google-signin:generateDebugBuildConfig UP-TO-DATE
> Task :@react-native-community_google-signin:generateDebugResValues UP-TO-DATE
> Task :@react-native-community_google-signin:processDebugManifest UP-TO-DATE
> Task :@react-native-community_google-signin:compileDebugAidl NO-SOURCE
> Task :@react-native-community_google-signin:compileDebugRenderscript NO-SOURCE
> Task :@react-native-community_google-signin:generateDebugResources UP-TO-DATE
> Task :@react-native-community_google-signin:packageDebugResources UP-TO-DATE
> Task :@react-native-community_google-signin:generateDebugRFile UP-TO-DATE
> Task :@react-native-community_google-signin:prepareLintJar UP-TO-DATE
> Task :@react-native-community_google-signin:generateDebugSources UP-TO-DATE
> Task :@react-native-community_google-signin:javaPreCompileDebug UP-TO-DATE
> Task :@react-native-community_google-signin:compileDebugJavaWithJavac UP-TO-DATE
> Task :@react-native-community_google-signin:bundleLibCompileDebug UP-TO-DATE
> Task :@react-native-community_slider:preBuild UP-TO-DATE
> Task :@react-native-community_slider:preDebugBuild UP-TO-DATE
> Task :@react-native-community_slider:compileDebugAidl NO-SOURCE
> Task :@react-native-community_slider:checkDebugManifest UP-TO-DATE
> Task :@react-native-community_slider:compileDebugRenderscript NO-SOURCE
> Task :@react-native-community_slider:generateDebugBuildConfig UP-TO-DATE
> Task :@react-native-community_slider:generateDebugResValues UP-TO-DATE
> Task :@react-native-community_slider:generateDebugResources UP-TO-DATE
> Task :@react-native-community_slider:packageDebugResources UP-TO-DATE
> Task :@react-native-community_slider:processDebugManifest UP-TO-DATE
> Task :@react-native-community_slider:generateDebugRFile UP-TO-DATE
> Task :@react-native-community_slider:prepareLintJar UP-TO-DATE
> Task :@react-native-community_slider:generateDebugSources UP-TO-DATE
> Task :@react-native-community_slider:javaPreCompileDebug UP-TO-DATE
> Task :@react-native-community_slider:compileDebugJavaWithJavac UP-TO-DATE
> Task :@react-native-community_slider:bundleLibCompileDebug UP-TO-DATE
> Task :@react-native-community_viewpager:preBuild UP-TO-DATE
> Task :@react-native-community_viewpager:preDebugBuild UP-TO-DATE
> Task :@react-native-community_viewpager:compileDebugAidl NO-SOURCE
> Task :@react-native-community_viewpager:checkDebugManifest UP-TO-DATE
> Task :@react-native-community_viewpager:compileDebugRenderscript NO-SOURCE
> Task :@react-native-community_viewpager:generateDebugBuildConfig UP-TO-DATE
> Task :@react-native-community_viewpager:generateDebugResValues UP-TO-DATE
> Task :@react-native-community_viewpager:generateDebugResources UP-TO-DATE
> Task :@react-native-community_viewpager:packageDebugResources UP-TO-DATE
> Task :@react-native-community_viewpager:processDebugManifest UP-TO-DATE
> Task :@react-native-community_viewpager:generateDebugRFile UP-TO-DATE
> Task :@react-native-community_viewpager:prepareLintJar UP-TO-DATE
> Task :@react-native-community_viewpager:generateDebugSources UP-TO-DATE
> Task :@react-native-community_viewpager:javaPreCompileDebug UP-TO-DATE
> Task :@react-native-community_viewpager:compileDebugJavaWithJavac UP-TO-DATE
> Task :@react-native-community_viewpager:bundleLibCompileDebug UP-TO-DATE
> Task :app:generatePackageList
> Task :app:preBuild
> Task :react-native-admob:preBuild UP-TO-DATE
> Task :react-native-admob:preDebugBuild UP-TO-DATE
> Task :react-native-admob:checkDebugManifest UP-TO-DATE
> Task :react-native-admob:processDebugManifest UP-TO-DATE
> Task :react-native-camera:preBuild UP-TO-DATE
> Task :react-native-camera:preGeneralDebugBuild UP-TO-DATE
> Task :react-native-camera:checkGeneralDebugManifest UP-TO-DATE
> Task :react-native-camera:processGeneralDebugManifest UP-TO-DATE
> Task :react-native-device-info:preBuild UP-TO-DATE
> Task :react-native-device-info:preDebugBuild UP-TO-DATE
> Task :react-native-device-info:checkDebugManifest UP-TO-DATE
> Task :react-native-device-info:processDebugManifest UP-TO-DATE
> Task :react-native-fbsdk:preBuild UP-TO-DATE
> Task :react-native-fbsdk:preDebugBuild UP-TO-DATE
> Task :react-native-fbsdk:checkDebugManifest UP-TO-DATE
> Task :react-native-fbsdk:processDebugManifest UP-TO-DATE
> Task :react-native-fs:preBuild UP-TO-DATE
> Task :react-native-fs:preDebugBuild UP-TO-DATE
> Task :react-native-fs:checkDebugManifest UP-TO-DATE
> Task :react-native-fs:processDebugManifest UP-TO-DATE
> Task :react-native-localize:preBuild UP-TO-DATE
> Task :react-native-localize:preDebugBuild UP-TO-DATE
> Task :react-native-localize:checkDebugManifest UP-TO-DATE
> Task :react-native-localize:processDebugManifest UP-TO-DATE
> Task :react-native-svg:preBuild UP-TO-DATE
> Task :react-native-svg:preDebugBuild UP-TO-DATE
> Task :react-native-svg:checkDebugManifest UP-TO-DATE
> Task :react-native-svg:processDebugManifest UP-TO-DATE
> Task :react-native-vector-icons:preBuild UP-TO-DATE
> Task :react-native-vector-icons:preDebugBuild UP-TO-DATE
> Task :react-native-vector-icons:checkDebugManifest UP-TO-DATE
> Task :react-native-vector-icons:processDebugManifest UP-TO-DATE
> Task :react-native-webview:preBuild UP-TO-DATE
> Task :react-native-webview:preDebugBuild UP-TO-DATE
> Task :react-native-webview:checkDebugManifest UP-TO-DATE
> Task :react-native-webview:processDebugManifest UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :react-native-admob:compileDebugAidl NO-SOURCE
> Task :react-native-device-info:compileDebugAidl NO-SOURCE
> Task :react-native-fbsdk:compileDebugAidl NO-SOURCE
> Task :react-native-fs:compileDebugAidl NO-SOURCE
> Task :react-native-localize:compileDebugAidl NO-SOURCE
> Task :react-native-svg:compileDebugAidl NO-SOURCE
> Task :react-native-camera:compileGeneralDebugAidl NO-SOURCE
> Task :react-native-vector-icons:compileDebugAidl NO-SOURCE
> Task :react-native-webview:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :@react-native-community_async-storage:packageDebugRenderscript NO-SOURCE
> Task :@react-native-community_google-signin:packageDebugRenderscript NO-SOURCE
> Task :@react-native-community_slider:packageDebugRenderscript NO-SOURCE
> Task :@react-native-community_viewpager:packageDebugRenderscript NO-SOURCE
> Task :react-native-admob:packageDebugRenderscript NO-SOURCE
> Task :react-native-camera:packageGeneralDebugRenderscript NO-SOURCE
> Task :react-native-device-info:packageDebugRenderscript NO-SOURCE
> Task :react-native-fbsdk:packageDebugRenderscript NO-SOURCE
> Task :react-native-fs:packageDebugRenderscript NO-SOURCE
> Task :react-native-localize:packageDebugRenderscript NO-SOURCE
> Task :react-native-svg:packageDebugRenderscript NO-SOURCE
> Task :react-native-vector-icons:packageDebugRenderscript NO-SOURCE
> Task :react-native-webview:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:bundleDebugJsAndAssets SKIPPED
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources UP-TO-DATE
> Task :react-native-admob:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-admob:compileDebugRenderscript NO-SOURCE
> Task :react-native-admob:generateDebugResValues UP-TO-DATE
> Task :react-native-admob:generateDebugResources UP-TO-DATE
> Task :react-native-admob:packageDebugResources UP-TO-DATE
> Task :react-native-admob:generateDebugRFile UP-TO-DATE
> Task :react-native-admob:prepareLintJar UP-TO-DATE
> Task :react-native-admob:generateDebugSources UP-TO-DATE
> Task :react-native-admob:javaPreCompileDebug UP-TO-DATE
> Task :react-native-admob:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-admob:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-camera:generateGeneralDebugBuildConfig UP-TO-DATE
> Task :react-native-camera:compileGeneralDebugRenderscript NO-SOURCE
> Task :react-native-camera:generateGeneralDebugResValues UP-TO-DATE
> Task :react-native-camera:generateGeneralDebugResources UP-TO-DATE
> Task :react-native-camera:packageGeneralDebugResources UP-TO-DATE
> Task :react-native-camera:generateGeneralDebugRFile UP-TO-DATE
> Task :react-native-camera:prepareLintJar UP-TO-DATE
> Task :react-native-camera:generateGeneralDebugSources UP-TO-DATE
> Task :react-native-camera:javaPreCompileGeneralDebug UP-TO-DATE
> Task :react-native-camera:compileGeneralDebugJavaWithJavac UP-TO-DATE
> Task :react-native-camera:bundleLibCompileGeneralDebug UP-TO-DATE
> Task :react-native-device-info:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-device-info:compileDebugRenderscript NO-SOURCE
> Task :react-native-device-info:generateDebugResValues UP-TO-DATE
> Task :react-native-device-info:generateDebugResources UP-TO-DATE
> Task :react-native-device-info:packageDebugResources UP-TO-DATE
> Task :react-native-device-info:generateDebugRFile UP-TO-DATE
> Task :react-native-device-info:prepareLintJar UP-TO-DATE
> Task :react-native-device-info:generateDebugSources UP-TO-DATE
> Task :react-native-device-info:javaPreCompileDebug UP-TO-DATE
> Task :react-native-device-info:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-device-info:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-fbsdk:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-fbsdk:compileDebugRenderscript NO-SOURCE
> Task :react-native-fbsdk:generateDebugResValues UP-TO-DATE
> Task :react-native-fbsdk:generateDebugResources UP-TO-DATE
> Task :react-native-fbsdk:packageDebugResources UP-TO-DATE
> Task :react-native-fbsdk:generateDebugRFile UP-TO-DATE
> Task :react-native-fbsdk:prepareLintJar UP-TO-DATE
> Task :react-native-fbsdk:generateDebugSources UP-TO-DATE
> Task :react-native-fbsdk:javaPreCompileDebug UP-TO-DATE
> Task :react-native-fbsdk:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-fbsdk:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-fs:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-fs:compileDebugRenderscript NO-SOURCE
> Task :react-native-fs:generateDebugResValues UP-TO-DATE
> Task :react-native-fs:generateDebugResources UP-TO-DATE
> Task :react-native-fs:packageDebugResources UP-TO-DATE
> Task :react-native-fs:generateDebugRFile UP-TO-DATE
> Task :react-native-fs:prepareLintJar UP-TO-DATE
> Task :react-native-fs:generateDebugSources UP-TO-DATE
> Task :react-native-fs:javaPreCompileDebug UP-TO-DATE
> Task :react-native-fs:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-fs:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-localize:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-localize:compileDebugRenderscript NO-SOURCE
> Task :react-native-localize:generateDebugResValues UP-TO-DATE
> Task :react-native-localize:generateDebugResources UP-TO-DATE
> Task :react-native-localize:packageDebugResources UP-TO-DATE
> Task :react-native-localize:generateDebugRFile UP-TO-DATE
> Task :react-native-localize:prepareLintJar UP-TO-DATE
> Task :react-native-localize:generateDebugSources UP-TO-DATE
> Task :react-native-localize:javaPreCompileDebug UP-TO-DATE
> Task :react-native-localize:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-localize:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-svg:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-svg:compileDebugRenderscript NO-SOURCE
> Task :react-native-svg:generateDebugResValues UP-TO-DATE
> Task :react-native-svg:generateDebugResources UP-TO-DATE
> Task :react-native-svg:packageDebugResources UP-TO-DATE
> Task :react-native-svg:generateDebugRFile UP-TO-DATE
> Task :react-native-svg:prepareLintJar UP-TO-DATE
> Task :react-native-svg:generateDebugSources UP-TO-DATE
> Task :react-native-svg:javaPreCompileDebug UP-TO-DATE
> Task :react-native-svg:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-svg:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-vector-icons:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-vector-icons:compileDebugRenderscript NO-SOURCE
> Task :react-native-vector-icons:generateDebugResValues UP-TO-DATE
> Task :react-native-vector-icons:generateDebugResources UP-TO-DATE
> Task :react-native-vector-icons:packageDebugResources UP-TO-DATE
> Task :react-native-vector-icons:generateDebugRFile UP-TO-DATE
> Task :react-native-vector-icons:prepareLintJar UP-TO-DATE
> Task :react-native-vector-icons:generateDebugSources UP-TO-DATE
> Task :react-native-vector-icons:javaPreCompileDebug UP-TO-DATE
> Task :react-native-vector-icons:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-vector-icons:bundleLibCompileDebug UP-TO-DATE
> Task :react-native-webview:generateDebugBuildConfig UP-TO-DATE
> Task :react-native-webview:compileDebugRenderscript NO-SOURCE
> Task :react-native-webview:generateDebugResValues UP-TO-DATE
> Task :react-native-webview:generateDebugResources UP-TO-DATE
> Task :react-native-webview:packageDebugResources UP-TO-DATE
> Task :react-native-webview:generateDebugRFile UP-TO-DATE
> Task :react-native-webview:compileDebugKotlin UP-TO-DATE
> Task :react-native-webview:prepareLintJar UP-TO-DATE
> Task :react-native-webview:generateDebugSources UP-TO-DATE
> Task :react-native-webview:javaPreCompileDebug UP-TO-DATE
> Task :react-native-webview:compileDebugJavaWithJavac UP-TO-DATE
> Task :react-native-webview:bundleLibCompileDebug UP-TO-DATE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE
> Task :app:compileDebugJavaWithJavac UP-TO-DATE
> Task :@react-native-community_async-storage:mergeDebugShaders UP-TO-DATE
> Task :@react-native-community_async-storage:compileDebugShaders UP-TO-DATE
> Task :@react-native-community_async-storage:generateDebugAssets UP-TO-DATE
> Task :@react-native-community_async-storage:packageDebugAssets UP-TO-DATE
> Task :@react-native-community_google-signin:mergeDebugShaders UP-TO-DATE
> Task :@react-native-community_google-signin:compileDebugShaders UP-TO-DATE
> Task :@react-native-community_google-signin:generateDebugAssets UP-TO-DATE
> Task :@react-native-community_google-signin:packageDebugAssets UP-TO-DATE
> Task :@react-native-community_slider:mergeDebugShaders UP-TO-DATE
> Task :@react-native-community_slider:compileDebugShaders UP-TO-DATE
> Task :@react-native-community_slider:generateDebugAssets UP-TO-DATE
> Task :@react-native-community_slider:packageDebugAssets UP-TO-DATE
> Task :@react-native-community_viewpager:mergeDebugShaders UP-TO-DATE
> Task :@react-native-community_viewpager:compileDebugShaders UP-TO-DATE
> Task :@react-native-community_viewpager:generateDebugAssets UP-TO-DATE
> Task :@react-native-community_viewpager:packageDebugAssets UP-TO-DATE
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders UP-TO-DATE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :react-native-admob:mergeDebugShaders UP-TO-DATE
> Task :react-native-admob:compileDebugShaders UP-TO-DATE
> Task :react-native-admob:generateDebugAssets UP-TO-DATE
> Task :react-native-admob:packageDebugAssets UP-TO-DATE
> Task :react-native-camera:mergeGeneralDebugShaders UP-TO-DATE
> Task :react-native-camera:compileGeneralDebugShaders UP-TO-DATE
> Task :react-native-camera:generateGeneralDebugAssets UP-TO-DATE
> Task :react-native-camera:packageGeneralDebugAssets UP-TO-DATE
> Task :react-native-device-info:mergeDebugShaders UP-TO-DATE
> Task :react-native-device-info:compileDebugShaders UP-TO-DATE
> Task :react-native-device-info:generateDebugAssets UP-TO-DATE
> Task :react-native-device-info:packageDebugAssets UP-TO-DATE
> Task :react-native-fbsdk:mergeDebugShaders UP-TO-DATE
> Task :react-native-fbsdk:compileDebugShaders UP-TO-DATE
> Task :react-native-fbsdk:generateDebugAssets UP-TO-DATE
> Task :react-native-fbsdk:packageDebugAssets UP-TO-DATE
> Task :react-native-fs:mergeDebugShaders UP-TO-DATE
> Task :react-native-fs:compileDebugShaders UP-TO-DATE
> Task :react-native-fs:generateDebugAssets UP-TO-DATE
> Task :react-native-fs:packageDebugAssets UP-TO-DATE
> Task :react-native-localize:mergeDebugShaders UP-TO-DATE
> Task :react-native-localize:compileDebugShaders UP-TO-DATE
> Task :react-native-localize:generateDebugAssets UP-TO-DATE
> Task :react-native-localize:packageDebugAssets UP-TO-DATE
> Task :react-native-svg:mergeDebugShaders UP-TO-DATE
> Task :react-native-svg:compileDebugShaders UP-TO-DATE
> Task :react-native-svg:generateDebugAssets UP-TO-DATE
> Task :react-native-svg:packageDebugAssets UP-TO-DATE
> Task :react-native-vector-icons:mergeDebugShaders UP-TO-DATE
> Task :react-native-vector-icons:compileDebugShaders UP-TO-DATE
> Task :react-native-vector-icons:generateDebugAssets UP-TO-DATE
> Task :react-native-vector-icons:packageDebugAssets UP-TO-DATE
> Task :react-native-webview:mergeDebugShaders UP-TO-DATE
> Task :react-native-webview:compileDebugShaders UP-TO-DATE
> Task :react-native-webview:generateDebugAssets UP-TO-DATE
> Task :react-native-webview:packageDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets UP-TO-DATE
> Task :app:copyDebugBundledJs SKIPPED
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:signingConfigWriterDebug UP-TO-DATE
> Task :@react-native-community_async-storage:bundleLibRuntimeDebug UP-TO-DATE
> Task :app:checkDebugDuplicateClasses UP-TO-DATE
> Task :@react-native-community_google-signin:bundleLibRuntimeDebug UP-TO-DATE
> Task :@react-native-community_slider:bundleLibRuntimeDebug UP-TO-DATE
> Task :@react-native-community_viewpager:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-admob:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-camera:bundleLibRuntimeGeneralDebug UP-TO-DATE
> Task :react-native-device-info:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-fbsdk:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-fs:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-localize:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-svg:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-vector-icons:bundleLibRuntimeDebug UP-TO-DATE
> Task :react-native-webview:bundleLibRuntimeDebug UP-TO-DATE
> Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
> Task :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
> Task :@react-native-community_async-storage:processDebugJavaRes NO-SOURCE
> Task :@react-native-community_async-storage:bundleLibResDebug UP-TO-DATE
> Task :@react-native-community_async-storage:mergeDebugJniLibFolders UP-TO-DATE
> Task :@react-native-community_async-storage:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_async-storage:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_google-signin:processDebugJavaRes NO-SOURCE
> Task :@react-native-community_google-signin:bundleLibResDebug UP-TO-DATE
> Task :@react-native-community_google-signin:mergeDebugJniLibFolders UP-TO-DATE
> Task :@react-native-community_google-signin:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_google-signin:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_slider:processDebugJavaRes NO-SOURCE
> Task :@react-native-community_slider:bundleLibResDebug UP-TO-DATE
> Task :@react-native-community_slider:mergeDebugJniLibFolders UP-TO-DATE
> Task :@react-native-community_slider:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_slider:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_viewpager:processDebugJavaRes NO-SOURCE
> Task :@react-native-community_viewpager:bundleLibResDebug UP-TO-DATE
> Task :@react-native-community_viewpager:mergeDebugJniLibFolders UP-TO-DATE
> Task :@react-native-community_viewpager:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :@react-native-community_viewpager:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-admob:processDebugJavaRes NO-SOURCE
> Task :react-native-admob:bundleLibResDebug UP-TO-DATE
> Task :react-native-admob:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-admob:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-admob:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-camera:processGeneralDebugJavaRes NO-SOURCE
> Task :react-native-camera:bundleLibResGeneralDebug UP-TO-DATE
> Task :react-native-camera:mergeGeneralDebugJniLibFolders UP-TO-DATE
> Task :react-native-camera:transformNativeLibsWithMergeJniLibsForGeneralDebug UP-TO-DATE
> Task :react-native-camera:transformNativeLibsWithIntermediateJniLibsForGeneralDebug UP-TO-DATE
> Task :react-native-device-info:processDebugJavaRes NO-SOURCE
> Task :react-native-device-info:bundleLibResDebug UP-TO-DATE
> Task :react-native-device-info:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-device-info:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-device-info:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-fbsdk:processDebugJavaRes NO-SOURCE
> Task :react-native-fbsdk:bundleLibResDebug UP-TO-DATE
> Task :react-native-fbsdk:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-fbsdk:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-fbsdk:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-fs:processDebugJavaRes NO-SOURCE
> Task :react-native-fs:bundleLibResDebug UP-TO-DATE
> Task :react-native-fs:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-fs:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-fs:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-localize:processDebugJavaRes NO-SOURCE
> Task :react-native-localize:bundleLibResDebug UP-TO-DATE
> Task :react-native-localize:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-localize:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-localize:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-svg:processDebugJavaRes NO-SOURCE
> Task :react-native-svg:bundleLibResDebug UP-TO-DATE
> Task :react-native-svg:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-svg:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-svg:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-vector-icons:processDebugJavaRes NO-SOURCE
> Task :react-native-vector-icons:bundleLibResDebug UP-TO-DATE
> Task :react-native-vector-icons:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-vector-icons:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-vector-icons:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :react-native-webview:processDebugJavaRes NO-SOURCE
> Task :react-native-webview:bundleLibResDebug UP-TO-DATE
> Task :react-native-webview:mergeDebugJniLibFolders UP-TO-DATE
> Task :react-native-webview:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :react-native-webview:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings
259 actionable tasks: 2 executed, 257 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
> Could not read path 'C:\TFS\rean\dietethic\main-v8\UI\mobile\UI\android\app\build\intermediates\transforms\mergeJniLibs\debug\0\lib\armeabi-v7a'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s

error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'.
> Could not read path 'C:\TFS\rean\dietethic\main-v8\UI\mobile\UI\android\app\build\intermediates\transforms\mergeJniLibs\debug\0\lib\armeabi-v7a'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 15s

    at checkExecSyncError (child_process.js:629:11)
    at execFileSync (child_process.js:647:13)
    at runOnAllDevices (c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:74:39)
    at buildAndRun (c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:158:41)
    at Object.runAndroid [as func] (c:\TFS\rean\dietethic\main-v8\UI\mobile\UI\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:106:12)
    at process._tickCallback (internal/process/next_tick.js:68:7)

microsoft/vscode-react-native

Answer questions grean

It works for me, formidable ! Error has disapeared and breakpoints are hitting well now :)

useful!
source:https://uonfu.com/
answerer
Réan Guillaume grean Dietethic Toulouse, France https://dietethic.net Founder@Dietethic.net Tools for healthcare. Dietethic mobile App for Android & iOS
Github User Rank List