小编Rag*_*age的帖子

多个android应用程序可以访问同一个firebase数据库吗

是否有可能多个Android应用程序访问单个firebase后端.如果没有这种情况下的替代方案?

android firebase firebase-realtime-database

17
推荐指数
4
解决办法
2万
查看次数

在为Android实施Google登录时,任务':app:transformClassesWithDexForDebug'的执行失败

我正在尝试为Android实施Google登录,而我正在关注instructoins

https://developers.google.com/identity/sign-in/android/start-integrating

但在构建应用程序时,我收到以下错误.

信息:Gradle任务[:app:generateDebugSources,:app:generateDebugAndroidTestSources,:app:assembleDebug]:app:preBuild UP-TO-DATE:app:preDebugBuild UP-TO-DATE:app:checkDebugManifest:app:preReleaseBuild UP-TO-日期:应用:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE:应用:prepareComAndroidSupportDesign2301Library UP-TO-DATE:应用:prepareComAndroidSupportSupportV42301Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesAds810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesAnalytics810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesAppindexing810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesBase810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesBasement810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesIdentity810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesMeasurement810Library UP-TO-DATE:应用:prepareComGoogleAndroidGmsPlayServicesPlus810Library UP-TO-DATE :应用:prepareDebugD 依赖:app:compileDebugAidl UP-TO-DATE:app:compileDebugRenderscript UP-TO-DATE:app:generateDebugBuildConfig UP-TO-DATE:app:generateDebugAssets UP-TO-DATE:app:mergeDebugAssets UP-TO-DATE:app:generateDebugResValues最新消息:app:processDebugGoogleServices找不到包名为'com.questo.rugved.questo'的匹配客户端:app:generateDebugResources:app:mergeDebugResources UP-TO-DATE:app:processDebugManifest UP-TO-DATE:app: processDebugResources UP-TO-DATE:app:generateDebugSources UP-TO-DATE:app:preDebugAndroidTestBuild UP-TO-DATE:app:prepareDebugAndroidTestDependencies:app:compileDebugAndroidTestAidl UP-TO-DATE:app:processDebugAndroidTestManifest UP-TO-DATE:app:compileDebugAndroidTestRenderscript最新版本:app:generateDebugAndroidTestBuildConfig UP-TO-DATE:app:generateDebugAndroidTestAssets UP-TO-DATE:app:mergeDebugAndroidTestAssets UP-TO-DATE:app:generateDebugAndroidTestResValues UP-TO-DATE:app:generateDebugAndroidTestResources UP-TO-DATE :应用:mergeDebugAndr oidTestResources UP-TO-DATE:app:processDebugAndroidTestResources UP-TO-DATE:app:generateDebugAndroidTestSources UP-TO-DATE:app:compileDebugJavaWithJavac UP-TO-DATE:app:compileDebugNdk UP-TO-DATE:app:compileDebugSources UP-TO-日期:app:transformClassesAndResourcesWithExtractJarsForDebug:app:transformClassesWithDexForDebug UNEXPECTED TOP-LEVEL EXCEPTION:错误:任务':app:transformClassesWithDexForDebug'的执行失败.com.android.build.transform.api.TransformException:com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程'command'/ usr/lib/jvm/java-7-oracle/bin/java''以非零退出值2结束信息:BUILD FAILED信息:总时间:1分钟39.994秒信息:1错误信息:0警告信息:在控制台中查看完整输出

我的顶级gradle是


    buildscript {
        repositories {
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:1.3.0'
            classpath 'com.google.gms:google-services:1.4.0-beta3'

            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module …

android gradle android-gradle-plugin google-signin

13
推荐指数
2
解决办法
5万
查看次数