Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnKnown error FunContactsFragment{43c35800} is not added into rigger. please check your config or contact author. #79

Open
liuhedev opened this issue Jul 24, 2019 · 1 comment

Comments

@liuhedev
Copy link

liuhedev commented Jul 24, 2019

apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
apply plugin: 'android-aspectjx'
apply plugin: 'com.alibaba.arouter'
apply plugin: 'com.xtev.autotrace'



android {
    def currentVersionCode = getVersionCode()
    compileSdkVersion rootProject.ext.android.compileSdkVersion
    defaultConfig {
        applicationId rootProject.ext.android.appId
        minSdkVersion rootProject.ext.android.minSdkVersion
        targetSdkVersion rootProject.ext.android.targetSdkVersion
        versionCode currentVersionCode
        versionName "2.0."
        multiDexEnabled true
        javaCompileOptions {
            annotationProcessorOptions {
                arguments = [eventBusIndex      : "com.sitechdev.vehicle.utils.MyEventBusIndex",
                             AROUTER_MODULE_NAME: project.getName()]
            }
        }
        buildConfigField("String", "BUILD_TIME", "\"" + getCurrentTime("yyyy-MM-dd HH:mm") + "\"")
    }
    signingConfigs {
        release {
            storeFile file(rootProject.ext.store.storeKey)
            storePassword rootProject.ext.store.storePassword
            keyAlias rootProject.ext.store.keyAlias
            keyPassword rootProject.ext.store.keyPassword
        }
    }
    repositories {
        flatDir {
            dirs 'libs'
        }
    }
    buildTypes {
        debug {
            minifyEnabled false
            shrinkResources false
            signingConfig signingConfigs.release
            debuggable true
            jniDebuggable true
            zipAlignEnabled true
            versionNameSuffix String.valueOf(DEBUG_VERISON_NAME_STR)
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            buildConfigField("Boolean", "TEST", "true")
        }
    }
    compileOptions {
        sourceCompatibility rootProject.ext.android.sourceCompatibilityVersion
        targetCompatibility rootProject.ext.android.targetCompatibilityVersion
    }
    android {
        lintOptions {
            checkReleaseBuilds false
            // Or, if you prefer, you can continue to check for errors in release builds,
            // but continue the build even when errors are found:
            abortOnError false
        }
    }
    sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }

}


greendao {
    schemaVersion 1
    daoPackage 'com.sitechdev.vehicle.carnetwork.greendao'
    targetGenDir 'src/main/java'
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation rootProject.ext.dependencies.design
    implementation rootProject.ext.dependencies.appcompatV7
    implementation rootProject.ext.dependencies.greendao
    implementation rootProject.ext.dependencies.zxing
    implementation rootProject.ext.dependencies.multidex
    implementation rootProject.ext.dependencies.constraint
    implementation rootProject.ext.dependencies.recyclerview
    implementation rootProject.ext.dependencies.bugly
    implementation rootProject.ext.dependencies.location
    implementation rootProject.ext.dependencies.smartrefresh
    implementation rootProject.ext.dependencies.photoView
    implementation rootProject.ext.dependencies.jsbridge
    implementation rootProject.ext.dependencies.mqttlib
    implementation rootProject.ext.dependencies.emojiCompat
    implementation rootProject.ext.dependencies.emojiBundle
    implementation rootProject.ext.dependencies.gifDrawable
    implementation project(':framework')
}
@liuhedev
Copy link
Author

如上,考虑Fragment性能问题,所以将fragment作为工厂类缓存处理,在showFragment的时候,会报以上异常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant