【问题标题】:Got error while testing App - Firebase Test Lab测试应用时出错 - Firebase 测试实验室
【发布时间】:2018-07-24 23:03:15
【问题描述】:

我只是不明白这是什么错误。当我尝试在 Firebase 测试实验室的设备上测试我的应用程序时,我得到了它。当我在手机和 Android Studio 中的 android 模拟器上测试应用程序时,一切正常,但在这里,在创建的第一个活动时,我收到这个错误,我不知道是什么意思。如果你知道问题,或者如何解决它,请帮助我。谢谢

这是我的 build.gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 26
defaultConfig {
    applicationId "edurbrito.SuperLigaUsers"
    minSdkVersion 21
    targetSdkVersion 26
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'org.apache.commons:commons-lang3:3.7'

testImplementation 'junit:junit:4.12'
implementation 'com.android.support:support-annotations:27.1.1'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

//noinspection GradleCompatible
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.google.firebase:firebase-core:16.0.1'
implementation 'com.android.support:design:26.1.0'
implementation 'com.shawnlin:number-picker:2.4.6'

implementation files('libs/activation.jar')
implementation files('libs/additionnal.jar')
implementation files('libs/mail.jar')}
apply plugin: 'com.google.gms.google-services'

【问题讨论】:

  • 是否为您的构建启用了 ProGuard?
  • @BobSnyder ,不,不是,但现在我在构建签名的 apk 文件时遇到了另一个错误。 “找不到超类或接口”,“找不到引用的类”,是错误...

标签: java android firebase firebase-test-lab gson


【解决方案1】:

您能否加入https://firebase-community.slack.com 的#test-lab 频道,然后发布此失败测试的示例matrix-id?几天前提交了一个新的 Firebase 测试实验室错误,可能与此相同,但如果不检查您的测试矩阵,我们就无法判断。

【讨论】:

  • 我会尝试这样做。谢谢
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多