Android 打包 armeabi-v7a、arm64-v8a、x86和universal
阅读更多https://blog.logrocket.com/adding-custom-fonts-react-native/
- 项目根目录新建
react-native.config.js
|
https://blog.logrocket.com/adding-custom-fonts-react-native/
react-native.config.js
|
react-native-config 配置多包名&多环境 APKs 共存
以前都是准备几台不同的 android 手机安装不同环境的包,如果想一个手机安装不同环境的包,只能删了重新打然后重新安装。
解决问题的根本原因是,构建不同环境的包,假设我有三个环境
|
那么我就打包的时候,通过不同的.env
配置文件,动态的把包名和 APP 的名字打进去。
研究了半天,其实react-native-config
是可以解决这个问题的,只不过需要修改打包的gradle
脚本。
iOS
安装lottie
报错:
|
淘宝npm证书yarn报错(certificate has expired)
这尼玛大早上的来就给我报错,
error An unexpected error occurred: “https://registry.npm.taobao.org/@react-native-async-storage%2fasync-storage: certificate has expired”.
|
新项目执行pod install
报错 …
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
|
Unable to resolve module `./debugger-ui/debuggerWorker.d9da4ed7` from ``
公司的祖传代码升级,升级完了没法调试了 …
|
他奶奶的我就知道绝对是这个坑货搞的鬼 …
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
Caused by: com.android.builder.errors.EvalIssueException: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.