Compile Failure, Please help to look at
Opened this issue · 6 comments
Log
Information:Gradle tasks [:app:assembleBaiduDebug]
:app:preBuild UP-TO-DATE
:app:preBaiduDebugBuild UP-TO-DATE
:app:checkBaiduDebugManifest
:app:preBaiduReleaseBuild UP-TO-DATE
:app:preC360DebugBuild UP-TO-DATE
:app:preC360ReleaseBuild UP-TO-DATE
:app:preLeanoteDebugBuild UP-TO-DATE
:app:preLeanoteReleaseBuild UP-TO-DATE
:app:preUcDebugBuild UP-TO-DATE
:app:preUcReleaseBuild UP-TO-DATE
:app:preWandoujiaDebugBuild UP-TO-DATE
:app:preWandoujiaReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72221Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2221Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72221Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV132221Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:app:prepareComAutomatticRest102Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidAnswers112Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidBeta112Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidCrashlytics222Library UP-TO-DATE
:app:prepareComGithubChrisbanesPhotoviewLibrary123Library UP-TO-DATE
:app:prepareComHelpshiftAndroidAar380Library UP-TO-DATE
:app:prepareComSimperiumAndroidSimperium064Library UP-TO-DATE
:app:prepareIoFabricSdkAndroidFabric120Library UP-TO-DATE
:app:prepareJpWasabeefRicheditorAndroid110Library UP-TO-DATE
:app:prepareOrgThoughtcrimeSslPinningAndroidPinning100Library UP-TO-DATE
:app:prepareOrgWordpressDragSortListview061Library UP-TO-DATE
:app:prepareOrgWordpressEmailchecker03Library UP-TO-DATE
:app:prepareOrgWordpressGraphview340Library UP-TO-DATE
:app:prepareOrgWordpressMediapicker124Library UP-TO-DATE
:app:prepareOrgWordpressPasscodelock100Library UP-TO-DATE
:app:prepareOrgWordpressPersistentedittext101Library UP-TO-DATE
:app:prepareOrgWordpressSlidinguppanel100Library UP-TO-DATE
:app:prepareBaiduDebugDependencies
:app:compileBaiduDebugAidl UP-TO-DATE
:app:compileBaiduDebugRenderscript UP-TO-DATE
:app:generateBaiduDebugBuildConfig UP-TO-DATE
:app:generateBaiduDebugAssets UP-TO-DATE
:app:mergeBaiduDebugAssets UP-TO-DATE
:app:generateBaiduDebugResValues UP-TO-DATE
:app:generateBaiduDebugResources UP-TO-DATE
:app:mergeBaiduDebugResources
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/leanote_icon_circle.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_note_pressed.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/legacy_dashicon_format_quote_grey.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_note_normal.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/toggle_bg_off.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-hdpi-v4/hs__chat_new.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xxhdpi-v4/hs__chat_new.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.simperium.android/simperium/0.6.4/res/drawable-hdpi-v4/logo_login.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/leanote_appicon.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xhdpi-v4/hs__action_search.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/toggle_bg_on.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.simperium.android/simperium/0.6.4/res/drawable/simperium_logo.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/legacy_dashicon_format_quote.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xxhdpi-v4/hs__report_issue.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.simperium.android/simperium/0.6.4/res/drawable-mdpi-v4/logo_login.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-hdpi-v4/hs__report_issue.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/org.wordpress/mediapicker/1.2.4/res/drawable-hdpi-v4/action_mode_confirm_checkmark.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_category_pressed.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/noticon_clock.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xxhdpi-v4/hs__action_search.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xhdpi-v4/hs__chat_new.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/media_movieclip.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/progress_thumb_pressed.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/media_image_placeholder.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.simperium.android/simperium/0.6.4/res/drawable/login_logo.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/noticon_picture_grey.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_category_normal.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.simperium.android/simperium/0.6.4/res/drawable-xhdpi-v4/logo_login.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/org.wordpress/mediapicker/1.2.4/res/drawable-xxhdpi-v4/tab_icon_create_gallery.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/leanote_icon_blue.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/progress_thumb_off.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-xhdpi-v4/hs__report_issue.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/legacy_dashicon_editor_underline_grey.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/org.wordpress/mediapicker/1.2.4/res/drawable-xhdpi-v4/tab_icon_create_gallery.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_me_normal.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-mdpi-v4/hs__action_search.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/progress_thumb.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/noticon_picture.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-mdpi-v4/hs__report_issue.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable/leanote_launch_screen.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-mdpi-v4/hs__chat_new.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: ERROR: 9-patch image /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/title_bar.9.png malformed.
AAPT: Must have one-pixel frame that is either transparent or white.
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/org.wordpress/mediapicker/1.2.4/res/drawable-hdpi-v4/tab_icon_create_gallery.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/com.helpshift/android-aar/3.8.0/res/drawable-hdpi-v4/hs__action_search.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/legacy_dashicon_editor_underline.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/build/intermediates/exploded-aar/org.wordpress/mediapicker/1.2.4/res/drawable-xhdpi-v4/action_mode_confirm_checkmark.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT: /Users/ou/ASWorkSpace/leanote-android/app/src/main/res/drawable-hdpi/ic_tab_me_pressed.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:app:mergeBaiduDebugResources FAILED
Error:Execution failed for task ':app:mergeBaiduDebugResources'.Some file crunching failed, see logs for details
Information:BUILD FAILED
Information:Total time: 4 mins 18.175 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
Are you using android studio to import the project? You can choose 'check out project from version control from github', then build it.
我按照你说的方法,重新导入项目,尝试编译运行,得到了和上面相同的log,我用的是android studio 1.5, 麻烦帮忙看一下,非常感谢
我用的1.3, 没碰到这个问题,另外一位用1.5也有类似的问题,你可以参考解决下。
https://github.com/leanote/leanote-android/issues/7#issuecomment-175435751
2.0beta5也是这样
遇到同样的问题, 尝试加入MultilDex则提示
18:08:14.401 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':app:packageAllLeanoteDebugClassesForMultiDex'.
18:08:14.401 [ERROR] [org.gradle.BuildExceptionReporter] > java.util.zip.ZipException: duplicate entry: net/jcip/annotations/GuardedBy.class
非常希望在我的Android手机上使用LeanNote,也非常愿意为它出一点力,可否提供一个能够编译通过的版本,这样大家好在上边添砖加瓦呢:)
我的开发环境:
Mac OS
Android Studio 2.2
Build #AI-145.3276617, built on September 15, 2016
JRE: 1.8.0_76-release-b03 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
你可以暂时使用这个版本https://github.com/xingstarx/leanote-android
是可以编译通过的