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

ant*_*ate 9 android gradle react-native

测试一个新的react-native项目:react-native init

react-native run-android日志:

...
: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
...
Run Code Online (Sandbox Code Playgroud)

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

RN:v0.18.1 OS:Mac 10.11.3

谢谢!

ant*_*ate 6

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

更改

classpath 'com.android.tools.build:gradle:1.3.1'
Run Code Online (Sandbox Code Playgroud)

classpath 'com.android.tools.build:gradle:1.5.0'
Run Code Online (Sandbox Code Playgroud)