当前位置: 动力学知识库 > 问答 > 编程问答 >

testing - Correct way to use permission in Android Instrumentation Tests

问题描述:

I am starting with Android Instrumentation Tests and I'm having problems when these tests needs permission, for example to save files.

Which is the correct way to configure my project and my android tests to find permissions defined at my AndroidManifest.xml

Now, AndroidManifest.xml is at default location: src-main

Is it need moving to other folder? Modify some in build.gradle?

Thaks

分享给朋友:
您可能感兴趣的文章:
随机阅读: