I find there is a folder named androidTest in Android studio project, Can I delete the folder androidTest if I don't do test in Android studio?
TL;DR: No. It will not cause any problems. Hidden folders in your home directory should contain only application settings.
When the tests consist only of unit tests. When the number of tests to run is large(500+). When the tests need to run on your local machine.
src/androidTest is for unit tests that involves android instrumentation. src/test is for pure unit test that do not involve android framework. You can run tests here without running on a real device or on emulator. You can use both folders. Use the first one to test code that use Android framework.
Please don`t delete . android because this folder contain some setting that enable app to be installed and run on android emulator or device. If you delete this folder, apk installation will be rejected during installation in the android device or emulator.
Yes, you can delete it if you don't wanna use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With