小编SUP*_*LEX的帖子

锁定验证失败

每次我的应用程序启动时,我都会收到此错误,有人告诉我它与synchronizedjava有关.但是,我不是直接使用它(尽管我的应用程序中的每个库都有).我不知道从哪里开始,我应该发布什么代码.有任何想法吗?

在这里你可以看到我的一些日志与一堆不同的库抱怨:

08-06 20:04:52.287 14696-14696/com.supercilex.robotscouter.debug I/art: Late-enabling -Xcheck:jni
08-06 20:04:52.323 14696-14705/com.supercilex.robotscouter.debug E/art: Failed sending reply to debugger: Broken pipe
08-06 20:04:52.323 14696-14705/com.supercilex.robotscouter.debug I/art: Debugger is no longer active
08-06 20:04:52.323 14696-14705/com.supercilex.robotscouter.debug I/art: Starting a blocking GC Instrumentation
08-06 20:04:52.386 14696-14696/com.supercilex.robotscouter.debug W/System: ClassLoader referenced unknown path: /data/app/com.supercilex.robotscouter.debug-2/lib/arm64
08-06 20:04:55.309 14696-14696/com.supercilex.robotscouter.debug W/System: ClassLoader referenced unknown path: /data/app/com.supercilex.robotscouter.debug-2/lib/arm64
08-06 20:04:55.372 14696-14696/com.supercilex.robotscouter.debug W/art: Class com.google.firebase.FirebaseApp failed lock verification and will run slower.
08-06 20:04:55.372 14696-14696/com.supercilex.robotscouter.debug W/art: Common causes for lock …
Run Code Online (Sandbox Code Playgroud)

java android

10
推荐指数
1
解决办法
3123
查看次数

使用实现或api时,Firebase性能配置因v1.1.2而失败

我正在尝试升级支持Android Gradle Plugin版本的firebase-plugins依赖版本,但Gradle构建配置会一直失败,除非我使用的是不推荐使用的版本.我正在使用Play服务版本,并且我添加了依赖项,因此失败了:1.1.23+compile11.4.2firebase-perf

implementation "com.google.firebase:firebase-perf:$playServicesVersion"
Run Code Online (Sandbox Code Playgroud)

修复它的唯一方法是将上面的内容更改implementation为compile.有没有人找到解决方案来解决这个问题?(除了降级到firebase-plugins版本1.1.0-alpha1?)

这是错误消息:

* What went wrong:
A problem occurred configuring project ':app'.
> To use the Firebase Performance Plugin, the Firebase Performance Monitoring SDK must be added to the app's build.gradle. Please add compile 'com.google.firebase:f
irebase-perf:VERSION_NUMBER_GREATER_THAN_OR_EQUAL_TO_11.0.4' to the app's build.gradle.
Run Code Online (Sandbox Code Playgroud)

编辑:已修复此问题firebase-plugins:1.1.3.

android firebase build.gradle android-gradle-plugin firebase-performance

5
推荐指数
1
解决办法
542
查看次数

'com.github.triplet.play' 任务 ':app:generateAppNameReleasePlayResources' 的配置发现一些问题

在我将 android studio 更新到 3.4.2 和 gradle 后,当我运行此行时

gradlew publishApkappNameRelease 
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

* What went wrong: Some problems were found with the configuration of task ':app:generateappNameReleasePlayResources'.
> File 'E:\Projects\packagename\app\src\main\play' specified for property '$1' does not exist.
> File 'E:\Projects\packagename\app\src\appName\play' specified for property '$2' does not exist.
> File 'E:\Projects\packagename\app\src\release\play' specified for property '$3' does not exist.
> File 'E:\Projects\packagename\app\src\appNameRelease\play' specified for property '$4' does not exist.

* Try: Run with --stacktrace option to get the stack trace. Run with --info or …
Run Code Online (Sandbox Code Playgroud)

android gradle android-gradle-plugin gradle-play-publisher

5
推荐指数
1
解决办法
2768
查看次数