I am trying to make android studio project,
I was run project in Android Device Manager is fine, but when I try to run on a real device I have some error:
Error:Failed to capture snapshot of input files for task 'transformClassesWithInstantRunForDebug' property 'otherFileInputs' during up-to-date check.
> Failed to create MD5 hash for file 'C:\Users\psd1-pc\AppData\Local\Android\sdk\platforms\android-21\android.jar'.
my real device have Lollipop Android, what do I do for resolve this problem
thank you.
With Instant Run enabled, you need to build and run the project with the same api level. A debug app build with Instant Run for a specific api will only work for the same api level in the real device.
If you want to run the app, please turn off Instant Run, then rebuild the app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With