我不知道我的Project上的哪个更改出现了这个错误,我无法在不修复此问题的情况下运行我的应用程序。以下是我的依赖项:
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:support-v4:27.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:support-annotations:+'
implementation 'com.android.support:gridlayout-v7:27.1.1'
在我搜索Not Null的设置中,它被禁用了。我启用它但它仍然是红色。
我的Looper课程:
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.os.LooperProto;
import android.util.Log;
import android.util.Printer;
import android.util.Slog;
import android.util.proto.ProtoOutputStream;
NonNull
,Nullable
,LooperProto
,Slog
,ProtoOutputStream
为红色。
NonNull
班级中的 Nullable
和Handler
也是红色。
请帮助我,我不知道,我应该做什么,我认为我有所有依赖。