我在android studio 3中执行paystack3.0.9 android代码时出现以下错误。
错误:在ForegroundView中,无法找到属性前景
错误:在ForegroundView中,无法找到属性foregroundInsidePadding
错误:任务':paystack:processDebugResources'的执行失败。 com.android.ide.common.process.ProcessException:无法执行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' }}
添加“ 编译”co.paystack.android:paystack:3.0.9' “后,我收到上述错误。 请帮我解决这个问题。
谢谢
I am the getting following errors while i execute paystack3.0.9 android code in android studio 3.
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
Application Gradle details:
buildscript { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } } dependencies { classpath 'com.android.tools.build:gradle:2.2.0' } }Module gradle details:
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' }}
After adding "compile 'co.paystack.android:paystack:3.0.9'", i am getting the above mentioned error. Please help me to fix this issue.
Thanks
最满意答案
我认为这个问题已在该回购的问题页面上解决: https : //github.com/PaystackHQ/paystack-android/issues/33
I think this issue has been addressed on the issues page of that repo: https://github.com/PaystackHQ/paystack-android/issues/33
更多推荐
android,compile,'com,paystack,电脑培训,计算机培训,IT培训"/> <meta name=
发布评论