androidandroid-studioapkandroid-project-template

Where to Add text file on an Android Studio Project to place internal comments that won't be deployed on APK


I want to add a text file on Android Studio where to place internal comments, ideas, development status, pendings, etc.

The issue is that I don't want this file to be part of deployment APK's, but I want to have it inside Android Studio project for simplicity.

I found somewhere that suggest to put it at resources folder: res/raw, but this content will be deployed on APK and I don't want it.


Solution

  • Create a notes/ directory off of the project root. Or a docs/ directory. Or whatever you want.

    Everything inside of src/ for a module is a candidate for being included in an APK. Conversely, stuff in directories that Android Studio does not know about (e.g., notes/, docs/, super-sekrit-stuff/) will not be included in an APK, unless you do something specific in the Gradle build files to request that they be included.