Since I have upgraded my Nexus 5x to Android O DP3 I am not able to test my applications. I get the error for not having configured my Gradle-file to work with the new API-l
Appears to be resolved by Android Studio 3.0 Canary 4 and Gradle 3.0.0-alpha4.