• LnReader编译


    解决错误: ReanimatedUIImplementation.java:13: 错误: 找不到符号 ViewManagerResolver viewManagerResolver,

    解决参考

    package com.facebook.react.uimanager;
    
    import androidx.annotation.Nullable;
    import com.facebook.react.bridge.ReactApplicationContext;
    import com.facebook.react.bridge.ReadableArray;
    import com.facebook.react.uimanager.events.EventDispatcher;
    import com.swmansion.reanimated.layoutReanimation.ReanimatedNativeHierarchyManager;
    import java.util.List;
    
    public class ReanimatedUIImplementation extends UIImplementation {
      public ReanimatedUIImplementation(
          ReactApplicationContext reactContext,
          UIManagerModule.ViewManagerResolver viewManagerResolver,//第13行, "UIManagerModule." 是新增的
          //...
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14

    nodejs 17报错 , 降到nodejs 16

    F:\lnreader>  yarn run buildRelease
    """
    Failed to construct transformer:  Error: error:0308010C:digital envelope routines::unsupported
        at new Hash (node:internal/crypto/hash:67:19)
        at Object.createHash (node:crypto:135:10)
        at stableHash (F:\lnreader\node_modules\metro-cache\src\stableHash.js:19:8)
        at Object.getCacheKey (F:\lnreader\node_modules\metro-transform-worker\src\index.js:647:7)
        at getTransformCacheKey (F:\lnreader\node_modules\metro\src\DeltaBundler\getTransformCacheKey.js:32:19)
        at new Transformer (F:\lnreader\node_modules\metro\src\DeltaBundler\Transformer.js:180:28)
        at F:\lnreader\node_modules\metro\src\Bundler.js:58:29 {
      opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
      library: 'digital envelope routines',
      reason: 'unsupported',
      code: 'ERR_OSSL_EVP_UNSUPPORTED'
    """
    
    nvm current
    #v17.9.1
    
    nvm use 16.16.0
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20

    …卡在app:bundleReleaseJsAndAssets
    参考?

    npm install -g react-native-cli
    react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
    
    
    • 1
    • 2
    • 3
  • 相关阅读:
    spring 中 @Validated/@Valid
    计算机三级备考——数据库技术
    MySQL数据的完整性和多表查询
    如何在安卓設備上更換IP地址?
    Mybatis中where标签和if标签结合使用说明
    HarmonyOS/OpenHarmony(Stage模型)应用开发组合手势(二)并行识别
    sqllab第二十四关通关笔记
    PTA-6-42 设计门票(抽象类)
    Leetcode 剑指 Offer II 001. 整数除法
    PDF应该怎么转换成Excel文档呢?
  • 原文地址:https://blog.csdn.net/hfcaoguilin/article/details/126231364