When I click the run button in Android studio(4.0.2 for Windows 64-bit), I get the following error.
Installation did not succeed. The application could not be installed.
List of apks: [0] 'C:\Users\XXX\AndroidStudioProjects\IlkProje\app\build\outputs\apk\debug\app-debug.apk' Installation failed due to: 'closed'
Try this way:
1.Open run/debug configuration dialog:- Run> edit configurations.
Navigate to You app > General > Installation Options > Install Flags. add install flags -r -t.
Note: This flags means adb install -r -t apk path