Trying to build the websockets-reborn branch I get the following error:
mh@x200:~/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn$ ./gradlew build
signing.properties not found
Verifying me.leolin:ShortcutBadger
Verifying se.emilsjolander:stickylistheaders
Verifying com.google.android.gms:play-services-base
Verifying com.astuetz:pagerslidingtabstrip
Verifying org.w3c:smil
Verifying org.apache.httpcomponents:httpclient-android
Verifying com.github.chrisbanes.photoview:library
Verifying com.makeramen:roundedimageview
Verifying com.afollestad:material-dialogs
Verifying com.soundcloud.android:android-crop
Verifying com.android.support:appcompat-v7
Verifying com.android.support:recyclerview-v7
Verifying com.melnykov:floatingactionbutton
Verifying com.google.zxing:android-integration
Verifying com.android.support:support-v4-preferencefragment
Verifying com.squareup.dagger:dagger
Verifying com.doomonafireball.betterpickers:library
Verifying com.madgag.spongycastle:prov
Verifying org.whispersystems:jobmanager
Verifying org.whispersystems:libpastelog
Verifying com.android.support:support-annotations
Verifying com.nineoldandroids:library
Verifying javax.inject:javax.inject
Verifying com.madgag.spongycastle:core
Verifying org.whispersystems:axolotl-android
Verifying com.googlecode.libphonenumber:libphonenumber
Verifying com.google.protobuf:protobuf-java
Verifying com.squareup.okhttp:okhttp
Verifying com.fasterxml.jackson.core:jackson-databind
Verifying org.whispersystems:axolotl-java
Verifying org.whispersystems:curve25519-android
Verifying com.squareup.okio:okio
Verifying com.fasterxml.jackson.core:jackson-annotations
Verifying com.fasterxml.jackson.core:jackson-core
Verifying org.whispersystems:curve25519-java
Verifying com.android.support:support-v4
:preBuild
:compileDebugNdk
:preDebugBuild
:checkDebugManifest
:preReleaseBuild
:prepareComAfollestadMaterialDialogs0731Library
:prepareComAndroidSupportAppcompatV72103Library
:prepareComAndroidSupportRecyclerviewV72103Library
:prepareComAndroidSupportSupportV42211Library
:prepareComAndroidSupportSupportV4Preferencefragment100Library
:prepareComAstuetzPagerslidingtabstrip101Library
:prepareComDoomonafireballBetterpickersLibrary153Library
:prepareComGithubChrisbanesPhotoviewLibrary123Library
:prepareComGoogleAndroidGmsPlayServicesBase6587Library
:prepareComMakeramenRoundedimageview150Library
:prepareComMelnykovFloatingactionbutton110Library
:prepareComSoundcloudAndroidAndroidCrop0910Library
:prepareMeLeolinShortcutBadger102WS2Library
:prepareOrgWhispersystemsAxolotlAndroid131Library
:prepareOrgWhispersystemsCurve25519Android022Library
:prepareOrgWhispersystemsJobmanager0110Library
:prepareOrgWhispersystemsLibpastelog106Library
:prepareOrgWhispersystemsTextsecureAndroid161Library
:prepareSeEmilsjolanderStickylistheaders220Library
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.doomonafireball.betterpickers/library/1.5.3/res/drawable-xxhdpi/ic_recurrence_bubble_outline_disabled.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.doomonafireball.betterpickers/library/1.5.3/res/drawable-xxhdpi/ic_recurrence_bubble_outline.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-hdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-hdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-xhdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.doomonafireball.betterpickers/library/1.5.3/res/drawable-xxhdpi/ic_recurrence_bubble_disabled.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-hdpi/abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-mdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.doomonafireball.betterpickers/library/1.5.3/res/drawable-xxhdpi/ic_recurrence_bubble_fill.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.3/res/drawable-xhdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:processDebugManifest
:processDebugResources
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values/values.xml:2862: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v11/values.xml:173: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v21/values.xml:258: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values/values.xml:2873: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v11/values.xml:190: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v21/values.xml:269: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/home/mh/Downloads/android-sdk-linux/build-tools/22.0.1/aapt package -f --no-crunch -I /home/mh/Downloads/android-sdk-linux/platforms/android-22/android.jar -M /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug -A /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/assets/debug -m -J /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/generated/source/r/debug -F /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/resources-debug.ap_ -G /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/proguard-rules/debug/aapt_rules.txt --debug-mode --custom-package org.thoughtcrime.securesms -0 apk --output-text-symbols /home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/symbols/debug
Error Code:
1
Output:
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values/values.xml:2862: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v11/values.xml:173: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v21/values.xml:258: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values/values.xml:2873: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v11/values.xml:190: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
/home/mh/textsecurejavajens/textsecure-websockets-reborn/TextSecure-feature-websocket-reborn2/TextSecure-feature-websocket-reborn/build/intermediates/res/debug/values-v21/values.xml:269: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog.Alert'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 8.069 secs
The normal textsecure builds without problems. libtextsecure-java-fix-maven_local with ./gradlew tasks installArchives as well.
Before coming so far I had to update the versions and checksums for a couple of packages in the build.gradle file. I took the versions from the current whispersystems-textsecure respository.
In case the large debug log is needed I can generate and upload it as well
I the above error a problem of my setup or a general problem? Any help is appreciated.
Thanks and best regards.
Trying to build the websockets-reborn branch I get the following error:
The normal textsecure builds without problems. libtextsecure-java-fix-maven_local with ./gradlew tasks installArchives as well. Before coming so far I had to update the versions and checksums for a couple of packages in the build.gradle file. I took the versions from the current whispersystems-textsecure respository.
In case the large debug log is needed I can generate and upload it as well
I the above error a problem of my setup or a general problem? Any help is appreciated. Thanks and best regards.