Clean build your project and then Run android studio code example Example: clean build in android studio ./gradlew clean