在本机生成apk的问题

时间:2019-07-11 04:12:45

标签: android reactjs apk native picker

我正在尝试在react-native中生成apk,但是出现了一些错误。 这是我的build.gradle文件:

 buildscript {
        ext {
            buildToolsVersion = "28.0.3"
            minSdkVersion = 16
            compileSdkVersion = 28
            targetSdkVersion = 28
            supportLibVersion = "28.0.0"
            googlePlayServicesAuthVersion = "15.0.1"
        }

失败:构建失败,并出现异常。

  

任务':react-native-picker:verifyReleaseResources'的执行失败。   工人提出了1个例外:             com.android.builder.internal.aapt.v2.Aapt2Exception:Android资源链接失败             C:\ Users \ admin \ Desktop \ Mobile-budget \ mobile-budget \ node_modules \ react-native-picker \ android \ build \ intermediates \ res \ merged \ release \ values-v28 \ values-v28.xml:7:错误:资源android:attr / dialogCornerRadius           未找到。             C:\ Users \ admin \ Desktop \ Mobile-budget \ mobile-budget \ node_modules \ react-native-picker \ android \ build \ intermediates \ res \ merged \ release \ values-v28 \ values-v28.xml:11:错误:资源android:attr / dialogCornerRadius            未找到。             C:\ Users \ admin \ Desktop \ Mobile-budget \ mobile-budget \ node_modules \ react-native-picker \ android \ build \ intermediates \ res \ merged \ release \ values \ values.xml:2727:错误:资源android: attr / fontVariationSettings否           找不到。             C:\ Users \ admin \ Desktop \ Mobile-budget \ mobile-budget \ node_modules \ react-native-picker \ android \ build \ intermediates \ res \ merged \ release \ values \ values.xml:2728:错误:资源android:找不到attr / ttcIndex。             错误:链接引用失败。i

0 个答案:

没有答案