Сеанс "приложение": установка не удалась. Приложение не может быть установлено: INSTALL_FAILED_INVALID_APK - PullRequest
0 голосов
/ 26 марта 2020

Здравствуйте, доброе утро, сообщество, я несколько запутался, я интегрирую инструмент Cisco AppDynamics, при выполнении интеграции, как упомянуто в документации, и при запуске проекта выдается следующая ошибка.

Installation did not succeed.
The application could not be installed: INSTALL_FAILED_INVALID_APK
The APKs are invalid.
Retry

Журнал событий:

Session 'app': Installation did not succeed.
                The application could not be installed: INSTALL_FAILED_INVALID_APK
                Retry

build.gradel:

// Top-level build file where you can add configuration options common to all sub-projects/modules.
 buildscript {

repositories {
    google()
    jcenter()

}
dependencies {
    classpath 'com.android.tools.build:gradle:3.6.1'
    classpath 'com.appdynamics:appdynamics-gradle-plugin:4.5.+'


    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
    }
 }
  allprojects {
   repositories {
    google()
    jcenter()

  }
}
   task clean(type: Delete) {
   delete rootProject.buildDir
}

build.gradel (: app)

apply plugin: 'com.android.application'
apply plugin: 'adeum'

android {
compileSdkVersion 29
buildToolsVersion "29.0.2"

defaultConfig {
    applicationId "mx.com.hdi.autoseguro.appdynamics"
    minSdkVersion 23
    targetSdkVersion 29
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    }
  }
}

зависимости {

implementation 'com.appdynamics:appdynamics-runtime:4.5.+'

}

...