【问题标题】:Jetifier failed to transformJetifier 改造失败
【发布时间】:2019-11-15 23:35:05
【问题描述】:

在我将 react-native 升级到 0.59 版本并应用 jetifier 进行新更新后发生此错误。

Execution failed to transform for task ':app:javaPrecompileDebug' Failed to transform 
'localSDK.jar' using Jetifier. Reason: Method code too large!. (Run with --stacktrace for more details).

【问题讨论】:

    标签: android react-native androidx android-jetifier


    【解决方案1】:

    只需在 gradle.properties 上使用它

    android.enableJetifier=false
    

    【讨论】:

      猜你喜欢
      • 2020-01-16
      • 2015-12-04
      • 2019-12-12
      • 2021-11-22
      • 1970-01-01
      • 2021-08-28
      • 2020-09-11
      • 1970-01-01
      • 2015-04-05
      相关资源
      最近更新 更多