문제

I'm writing tests for application that is compiled and obfuscated. Currently to access View I use Id form /res/values/public.xml

View myView = solo.getView(0x7f0b0030);
solo.clickOnView(((LinearLayout) (myView)).getChildAt(3));

This approach is valid only util application is not recompiled.

Is there any way to acces view by Id without having R file?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top