In RunTime show error in Gradle the error:
Error:Execution failed for task \':app:transformClassesWithInstantRunForDebug\'.
Unexpected inputs: Imm
Remove Build Folder from Project->app->build and run your project.
It seems you have enable Instant Run in Android Studio.
1) Disable Instant Run from File -> Settings -> Instant Run
2) Clean Your Project
3) Run Your App
When I Add this line the problem solved:
MobileAds.initialize(getApplicationContext(), "ca-app-pub-xxxxxxxxxxxxx");
Thanks for all who response.
Personally, Build
=> Clean Project
and then rebuilding
fixed it for me.