so i reinstalled linux on my computer and after i reinstalled android studio i tried getting an app that i wrote on to my phone which previously had not been a problem. The App
Change compileSdkVersion 'android-N' to compileSdkVersion 22 and targetSdkVersion 'N' to targetSdkVersion 22
compileSdkVersion 'android-N'
compileSdkVersion 22
targetSdkVersion 'N'
targetSdkVersion 22