Have recently upgraded to Android Studio 3.1, and at the same time I\'m trying the Android P preview.
I\'m getting the following error on compiling:
Are you using a firebase in your project? Using firebase core or firebase app indexing seem to be causing the problem. I was having the same problem, but commenting on firebase packages makes the error to go away
// implementation 'com.google.firebase:firebase-core:16.0.8'
// implementation 'com.google.firebase:firebase-ads:17.2.0'
// implementation 'com.google.firebase:firebase-appindexing:17.1.0'