小编evi*_*evi的帖子

模块中的gradle aar library dependecy:无法解析

我是gradle的新手,我有一个依赖性的问题.我有以下项目结构:

-MyApp
-MyAppLibrary
-MyAppPro
-MyAppFree
-ThirdPartyLibraryWrapper
--libs\ThirdPartyLibrary.aar
Run Code Online (Sandbox Code Playgroud)

无论MyAppProMyAppFree依靠MyAppLibrary,这就要看ThirdPartyLibraryWrapper.顾名思义,它ThirdPartyLibraryWrapper是外部库的包装器,即ThirdPartyLibrary.aar.

这是我的配置:

build.gradle MyAppPro

apply plugin: 'com.android.application'
android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.example"
        minSdkVersion 8
        targetSdkVersion 22
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles 'proguard.cfg'
        }
    }
}

dependencies {
    compile project(':MyAppLibrary')
}
Run Code Online (Sandbox Code Playgroud)

build.gradle MyAppLibrary

apply plugin: 'com.android.library'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 22
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_7
            targetCompatibility JavaVersion.VERSION_1_7 …
Run Code Online (Sandbox Code Playgroud)

android android-gradle-plugin

12
推荐指数
1
解决办法
9288
查看次数

Firebase崩溃:如何以编程方式上传映射文件?

Firebase崩溃是一个很酷的工具,但我认为没有任何方法可以在构建后通过API以编程方式上传Proguard映射文件.

最近,"自动化文件上传"选项应用程序,但在学习更多链接中实际上没有信息可用.

在此输入图像描述

有谁知道更多的东西?

android firebase

6
推荐指数
1
解决办法
1148
查看次数

标签 统计

android ×2

android-gradle-plugin ×1

firebase ×1