I try to install my app to my phone but I get app not installed error when sign as release apk this is my gradle for app
apply plugin: 'com.android.application'
android {
signingConfigs {
signingConfigs {
keyAlias 'newv'
keyPassword 'key'
storeFile file('/dir')
storePassword 'pass'
}}
my app have two module and below this file that i wan from package options
packagingOptions {
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/armeabi/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/mips/libc++_shared.so'
pickFirst 'lib/mips64/libc++_shared.so'
}
dexOptions {
maxProcessCount 8
javaMaxHeapSize "1g"
preDexLibraries true
}
compileSdkVersion 26
buildToolsVersion "26.0.1"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.sadeem.mobiletv"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
debug {
shrinkResources false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
jniDebuggable true
}
release {
shrinkResources false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
jniDebuggable false
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile project(':libvlc')
compile project(':api')
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support:design:26.+'
compile 'com.jakewharton:butterknife:7.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:support-v4:26.+'
compile 'com.android.support:recyclerview-v7:26.+'
testCompile 'junit:junit:4.12'
}
my gradle module one is
configurations.maybeCreate("default")
artifacts.add("default", file('api-release.aar'))
and two is
configurations.maybeCreate("default") artifacts.add("default", file('libvlc-3.0.0-null.aar'))
i do't why not install after release apk any one help