I was setting up an Android app to be installed and launched by Appium onto an emulator. The full log file is at http://www.tjmaher.com/2017/06/behind-the-scenes-install-launch-appium.html
I noticed as the app was being force stopped, it was not cleaning any generated files… should it?
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/ventmahe/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“emulator-5554”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles
capability if wanted.
-T.J. Maher
Fully support clearSystemFiles desired capability, deleting the derived data
it is iOS. and this folder is like “/Users/YOUR_USERNAME/Library/Developer/Xcode/DerivedData”
It is iOS? I don’t understand. What part is iOS? … My Appium setup only was installing an Android apk on an Android emulator.
And the statement: “[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted”… would lead me to believe that it is something to do with AndroidDriver.
-T.J. Maher
i believe mostly iOS only and it is deleting data/logs generated by Appium on PC. maybe Android also
- just never found what it is deleting …
Ah! Okay! I am new at this.
I don’t know what it should be deleting, either.
-T
original issue for iOS (met also. mine comment inside) - https://github.com/appium/appium/issues/7242