Finally with the help of Maurizi i created the 2 Keys to add in default.xml
I write here what i did so if someone in future will have problems can follow this instructions:
cd /usr/local/otm/app/opentreemap
python manage.py shell
then
(InteractiveConsole)
>>> from api.models import APIAccessCredential
>>> key = APIAccessCredential.create()
then run these 2 commands to see at screen the Keys that you will have to copy and paste in default.xml:
>>> print key.access_key and then
>>> print key.secret_key
Now i've created in C:\otm-android-master\OpenTreeMapSkinned\res\values\default.xml
and this is the content
but in android studio i recieve
:OpenTreeMapSkinned:generateDebugResources
:OpenTreeMapSkinned:mergeDebugResources
C:\otm-android-master\OpenTreeMapSkinned\res\values\defaults.xml:3:1: Error: Il contenuto non è consentito nel prologo. = (Content is not allowed in prolog)
:OpenTreeMapSkinned:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':OpenTreeMapSkinned:mergeDebugResources'.
> C:\otm-android-master\OpenTreeMapSkinned\res\values\defaults.xml:3:1: Error: Il contenuto non è consentito nel prologo. = Content is not allowed in prolog
* 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: 13.359 secs