Issue in resolving nonnull and notnull symbol in looper.java

后端 未结 5 2051

I\'m developing an android app please help me to solve dependency error.

package android.os;
import android.support.annotation.NonNull;
import android.suppor         


        
5条回答
  •  独厮守ぢ
    2021-01-17 13:47

    Since Google announced at IO17 gradle:3.0, the compile configuration is now deprecated and should be replaced by implementation or api

    So prefer

    dependencies {
        ...
        implementation 'com.android.support:support-annotations:27.1.1'
        ...
    }
    

    or greater version

提交回复
热议问题