Open chifflier opened 9 years ago
Encountering the same issue when following the build instructions, which relies on the current master branch.
The specific error line that references the missing dependency is line 59 of build.gradle
As the dependency only seems required for the Non Google Play build, commenting out the nonplay references on line 19 and on lines 59 to 61 allows the Google Play version to build.
Seems the libsupplychain dependency came in this commit https://github.com/WhisperSystems/Flock/commit/b25ab2e878a91245894162ee35941d8186dc7c6b on Feb 11th 2015, few months back.
the build instructions should be updated to exclude the nonplay
build flavor from the process, thanks for the info and sorry this has been a issue for so long, when I first skimmed over this issue I had incorrectly assumed it was only a problem for people specifically trying the nonplay
build.
how do i exlude the nonplay ?
@SudoAccess Ensure this exists at the top of flock/build.gradle
:
apply plugin: 'com.android.application'
apply plugin: 'witness'
android {
variantFilter { variant ->
if(variant.getFlavors().get(0).name.equals('nonplay')) {
variant.setIgnore(true);
}
}
compileSdkVersion 21
buildToolsVersion '21.1.2'
// snip
Submitted a PR
Hi,
Build of current master (2015-04-09,
./gradlew build
) branch fails with error:Where can I find this lib ? Or, is there any missing instruction on how to build ?
Thanks