使用styled-components吧
waveheart
@waveheart
0
Reputation
4
Posts
195
Profile views
0
Followers
0
Following
Best posts made by waveheart
This user hasn't posted anything yet.
Latest posts made by waveheart
-
RE: 拉的公司的老项目,本地的RN环境没问题, android环境也没问题, 但是报support包不存在错误
@caesar-feng 解决了,项目里面有以下两项设置, 貌似会强制使用androidx?
android.useAndroidX=true android.enableJetifier=true
-
RE: 拉的公司的老项目,本地的RN环境没问题, android环境也没问题, 但是报support包不存在错误
谢谢大佬 ,添加过了,但是没有效果
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" implementation "com.android.support:support-v4:${rootProject.ext.supportLibVersion}" // implementation 'androidx.appcompat:appcompat:1.0.0-alpha1' implementation "com.facebook.react:react-native:+" // From node_modules
-
拉的公司的老项目,本地的RN环境没问题, android环境也没问题, 但是报support包不存在错误
RN 项目demo
Android 项目demo报错信息
dependcy 关于support 包的内容 implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}" implementation "com.facebook.react:react-native:+" // From node_modules implementation 'com.android.support:multidex:1.0.0'
貌似是android.support 包的问题, baidumap 用的是比较老的v4的包, 但是就是引不到,卡这个问题两天了