1

这个错误是在我将我的 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).
4

1 回答 1

-1

只需在 gradle.properties 上使用它

android.enableJetifier=false
于 2019-09-18T19:28:33.263 回答