【发布时间】:2017-10-05 11:30:48
【问题描述】:
目前,我的 android compileSdkVersion 设置为 24,在我的依赖项中,我已包含 compile '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 是的!