antoniolg / MaterialEverywhere

Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.
1.29k stars 306 forks source link

Compilation Fails on Ubuntu with Java 7 and Android Studio .9.2 #8

Closed Gopinathp closed 9 years ago

Gopinathp commented 9 years ago

gopinath@wzdt5:~/code/oss/MaterialEverywhere-master$ ./gradlew :app:installDebug :app:preBuild :app:compileDebugNdk :app:preDebugBuild :app:checkDebugManifest :app:preReleaseBuild :app:prepareComAndroidSupportAppcompatV72100Library :app:prepareComAndroidSupportSupportV42100Library :app:prepareDebugDependencies :app:compileDebugAidl :app:compileDebugRenderscript :app:generateDebugBuildConfig :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets :app:generateDebugResValues :app:generateDebugResources :app:mergeDebugResources /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-xhdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-xhdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-mdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.0/res/drawable-hdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited :app:processDebugManifest :app:processDebugResources /home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:8: error: Error: No resource found that matches the given name: attr 'android:windowAllowReturnTransitionOverlap'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:33: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:10: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:39: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:17: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:45: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:24: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v11/values.xml:51: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v14/values.xml:31: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:246: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

/home/gopinath/code/oss/MaterialEverywhere-master/app/build/intermediates/res/debug/values-v21/values.xml:254: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.

:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

antoniolg commented 9 years ago

Are you compiling using the latest SDK? It seems that it can't find the attributes related to Android 5.0, so maybe you are compiling with a previous version.

antoniolg commented 9 years ago

The example compiles properly. This is a punctual problem in a single user, and had no response after 10 days, so I'm closing this.