目前,我的Android compileSdkVersion
設置爲24,在我的依賴,我已經包括compile 'com.android.support:support-v4:24.0.0'
Android的錯誤,而編譯com.android.support:support-v4:24.0.0
然而,當我嘗試建立,我得到一個錯誤:
java.lang.IncompatibleClassChangeError: The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct
有沒有人知道如何解決這個問題?
你使用這個連接到互聯網嗎? –
@VinayJaju yup! – kyangy