react-native android assembleDebug日志:未知源文件:警告:字符串’catalyst_debugjs’没有默认的翻译

前端之家收集整理的这篇文章主要介绍了react-native android assembleDebug日志:未知源文件:警告:字符串’catalyst_debugjs’没有默认的翻译前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
测试一个新的react-native项目:react-native init

react-native run-android log:

@H_502_3@... :app:bundleDebugJsAndAssets SKIPPED :app:processDebugManifest :app:processDebugResources Unknown source file : warning: string 'catalyst_debugjs' has no default translation. Unknown source file : warning: string 'catalyst_element_inspector' has no default translation. Unknown source file : warning: string 'catalyst_jsload_error' has no default translation. Unknown source file : warning: string 'catalyst_jsload_message' has no default translation. Unknown source file : warning: string 'catalyst_jsload_title' has no default translation. Unknown source file : warning: string 'catalyst_reloadjs' has no default translation. Unknown source file : warning: string 'catalyst_settings' has no default translation. Unknown source file : warning: string 'catalyst_settings_title' has no default translation. :app:generateDebugSources :app:processDebugJavaRes UP-TO-DATE ...

虽然构建成功,但这个警告让我发疯,任何想法?

RN:v0.18.1
操作系统:Mac 10.11.3

谢谢!

通过更新build.gradle文件中的构建gradle版本来消除警告.

更改

@H_502_3@classpath 'com.android.tools.build:gradle:1.3.1'

@H_502_3@classpath 'com.android.tools.build:gradle:1.5.0'

猜你在找的React相关文章