gpt4 book ai didi

java - 错误:In ForegroundView,无法找到属性前景

转载 作者:行者123 更新时间:2023-12-02 12:01:31 27 4
gpt4 key购买 nike

当我在 android studio 3 中执行 paystack3.0.9 android 代码时出现以下错误。

Error:In ForegroundView, unable to find attribute foreground

Error:In ForegroundView, unable to find attribute foregroundInsidePadding

Error:Execution failed for task ':paystack:processDebugResources'. com.android.ide.common.process.ProcessException: Failed to execute aapt

应用程序 Gradle 详细信息:

buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
}
}

模块 gradle 详细信息:

android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
aaptOptions {
useNewCruncher false
}

......


dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
android {
useLibrary 'org.apache.http.legacy'
}

compile 'com.flurry.android:analytics:6.3.1'
compile 'com.braintreepayments.api:braintree:1.+'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp:2.0.0'
compile 'com.kbeanie:image-chooser-library:1.4.4@aar'
compile 'com.sothree.slidinguppanel:library:3.1.1'
compile 'com.google.code.gson:gson:2.5'
compile 'co.paystack.android:paystack:3.0.9'
compile 'com.android.support:support-v4:26.1.0'
compile 'com.google.android.gms:play-services:7.0.0'
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.facebook.android:facebook-android-sdk:3.19.0'
compile 'com.android.support:multidex:1.0.0'
}

}

添加“compile 'co.paystack.android:paystack:3.0.9'”后,我收到上述错误。请帮我解决这个问题。

谢谢

最佳答案

我认为这个问题已在该存储库的问题页面上得到解决:https://github.com/PaystackHQ/paystack-android/issues/33

关于java - 错误:In <declare-styleable> ForegroundView,无法找到属性前景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47219739/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com