作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
测试一个新的 react-native 项目:react-native init
react-native 运行-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
...
虽然构建成功,但这个警告让我抓狂,有什么想法吗?
RN:v0.18.1操作系统:Mac 10.11.3
谢谢!
最佳答案
通过更新 build.gradle
文件中的构建 gradle 版本消除了警告。
改变
classpath 'com.android.tools.build:gradle:1.3.1'
到
classpath 'com.android.tools.build:gradle:1.5.0'
关于android - react-native android assembleDebug日志: Unknown source file : warning: string 'catalyst_debugjs' has no default translation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35050991/
测试一个新的 react-native 项目:react-native init react-native 运行-android 日志: ... :app:bundleDebugJsAndAssets
我是一名优秀的程序员,十分优秀!