Termux write permissions
I have achieved a solution by making the project folder in the main storage (/emulated/0/ProjectName) instead of on the sd card.
In termux i navigated to (...ProjectName/src/com/package/) and ran 'mkdir test'. In the ide i then created 'test.txt' in the newly made test directory. This all worked fine, although i have not linked git to this directory it proves that write access is there for both apps.
Before i was attempting to use a folder in the sd card which would not allow the permissions. I did not change anything else regarding settings and permissions between these two attempts, but some were changed prior to the initial attempt in the sd card, which may have played a role. If you are having the same issue feel free to comment and i will go through all other settings i changed before this. or maybe someone with better knowledge of android can comment as to why this worked.
edit: quote: &quot;Some phones prevent third party apps from accessing the sd card but with the appropriate permissions all apps can access the internal storage.&quot;