Merge pull request #8890 from Dhilan007/v3-testcase-android

Rolling back default build mode of samples to debug on Android
remove unneeded codes