新手求助,打包apk时出现问题,求大家帮助一下!



  • :app:generateReleaseResources
    :app:mergeReleaseResources
    :app:bundleReleaseJsAndAssets
    Scanning 593 folders for symlinks in /Users/hoopy/apkDemo/node_modules (6ms)
    Scanning 593 folders for symlinks in /Users/hoopy/apkDemo/node_modules (6ms)
    Loading dependency graph, done.
    warning: the transform cache was reset.
    bundle: start
    bundle: finish
    bundle: Writing bundle output to: /Users/hoopy/apkDemo/android/app/build/intermediates/assets/release/index.android.bundle

    utf8 is not a function

    :app:bundleReleaseJsAndAssets FAILED

    FAILURE: Build failed with an exception.

    • What went wrong:
      Execution failed for task ':app:bundleReleaseJsAndAssets'.

    Process 'command 'node'' finished with non-zero exit value 1


Log in to reply