找不到我的下划线课程。传递注释库

时间:2019-07-16 07:39:00

标签: android android-annotations

android studio 3.4

在app / build.gradle

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation project(':common')

在common / build.gradle中:

def AAVersion = '4.6.0'

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
    api "org.androidannotations:androidannotations-api:$AAVersion"

但出现编译错误:

myproject\cart\CartFinishFragment.java:13: error: cannot find symbol

import com.company.android.myproejct.fragment.navigation.CartFragment_;

0 个答案:

没有答案