Building failed with Exception thrown at CryptorUnitTest
Closed this issue · 2 comments
aeroxy commented
Task :app:testDebugUnitTest
me.iweizi.stepchanger.CryptorUnitTest > main FAILED
java.io.FileNotFoundException at CryptorUnitTest.java:29me.iweizi.stepchanger.CryptorUnitTest > testDecrypt FAILED
java.io.FileNotFoundException at CryptorUnitTest.java:294 tests completed, 2 failed
aeroxy commented
Probably cuz I am using a mac:
RandomAccessFile file = new RandomAccessFile("C:\Xiaomi\XiaoMiFlash\Source\ThirdParty\Google\Android\step.info", "r");
iweizime commented
you can remove the test code and build again. file "C:\Xiaomi\XiaoMiFlash\Source\ThirdParty\Google\Android\step.info" is copied from my cellphone.