This week we have been trying to set up Tracker App on our machines(Linux and Windows Environments) as specified in the documentation, but we have Issues with the code.
Running /* gradlew build/ everything builds just fine except with the following error /string too large to encode using UTF-8 written instead as ‘STRING_TOO_LARGE’ ./, Closely inspecting, /gradlew clean build --stacktrace/, the error, we discover that the following classes are flaging that out, in one of the build tasks: /RuleActionHideOptionGroup , RuleActionHideOption */ called in several classes.
All this is happening in the master branch, switching to one of the branches 2.0.0-beta, the same issue is found except with one more added issue in the AndroidManifest.xml (with Content Provider).
Would you please help us on the above issues or advice us on which branches we can switch to for us to move forward. The application is to be used by master students from the University of Oslo, doing their research in Malawi, led by their supervisor Jens.
In order to build the app project the first step would be following these steps.
If you are using the sdk and rule engine submodules instead of the dependencies, make sure to comment and uncomment the correct lines in the app build.gradle.
You can ignore the “STRING_TOO_LARGE” error. The problem with the missing classes is that the rule engine has not been updated yet (it will be ready shortly). You can check the pull request status at the github repository. Once it is accepted everything should build without a problem. In the meantime, you could try using the repo from this pull request or commenting the code where RuleActionHideGroup and RuleActionHideOption are being called.
2.0.0_beta branch is the current development branch. I would not recommend working on it right now as we are refactoring much of the code which make it unstable. But if you want to try make sure to checkout the develop branch for the SDK submodule.
Hope this helps you building the project. Let us know if you need anything else,