FragmentRigger
FragmentRigger copied to clipboard
UnKnown error FunContactsFragment{43c35800} is not added into rigger. please check your config or contact author.
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')
}
如上,考虑Fragment性能问题,所以将fragment作为工厂类缓存处理,在showFragment的时候,会报以上异常。