我想将数据放在androidTest/res/values/string.xml文件夹的xml文件中.我创建了文件说test.xml,内容如下.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="test">hello</string>
</resources>
Run Code Online (Sandbox Code Playgroud)
当我试图通过R.string.test访问现场测试时.它无法访问,并说"无法解决符号测试".有人可以在这里建议我.
testing android android-resources android-testing android-espresso