cardslib icon indicating copy to clipboard operation
cardslib copied to clipboard

i can install that from gradle

Open pishguy opened this issue 8 years ago • 1 comments

Hi all. i'm trying to install this library from gradle but i get this error:

Error:In ForegroundLinearLayout, unable to find attribute android:foregroundInsidePadding Error:Execution failed for task ':app:processDebugResources'.

com.android.ide.common.internal.LoggedErrorException: Failed to run command: /home/mahdi/Desktop/Programs/SDK/android-sdk-linux_new/build-tools/21.1.2/aapt package -f --no-crunch -I /home/mahdi/Desktop/Programs/SDK/android-sdk-linux_new/platforms/android-22/android.jar -M /home/mahdi/Projects/MakuMarket/app/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /home/mahdi/Projects/MakuMarket/app/build/intermediates/res/debug -A /home/mahdi/Projects/MakuMarket/app/build/intermediates/assets/debug -m -J /home/mahdi/Projects/MakuMarket/app/build/generated/source/r/debug -F /home/mahdi/Projects/MakuMarket/app/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package ir.pishguy.makumarket.app -0 apk --output-text-symbols /home/mahdi/Projects/MakuMarket/app/build/intermediates/symbols/debug Error Code: 1 Output: ERROR: In ForegroundLinearLayout, unable to find attribute android:foregroundInsidePadding

pishguy avatar Aug 02 '15 17:08 pishguy

I had the same issue:

ERROR: In <declare-styleable> ForegroundLinearLayout, unable to find attribute android:foregroundInsidePadding
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/username/adt-bundle-linux-x86-20131030/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1

What helped was this fix. I switched to build tools v. 22.0.1 and it resolved the issue.

marekyggdrasil avatar Nov 10 '15 14:11 marekyggdrasil