./gradlew assembleRelease
명령을 사용하여 응용 프로그램의 릴리스 apk를 생성합니다. 응용 프로그램을 설치하려면 app.No의 실마리가 없습니다. 실마리가 없습니다. 구글. 두 번째 아이콘을 클릭하면 Simple Indeterminate가 표시됩니다.2 apk, 릴리스 apk 설치 후, gradle 빌드 사용
여기 내 build.gradle 파일입니다
buildscript {
repositories {
maven { url 'http://download.crashlytics.com/maven' }
}
dependencies {
classpath 'com.crashlytics.tools.gradle:crashlytics-gradle:1.0.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'crashlytics'
repositories {
maven { url 'http://download.crashlytics.com/maven' }
}
android {
compileSdkVersion 21
buildToolsVersion '20.0.0'
defaultConfig {
versionCode 23
versionName "1.1.8.5"
applicationId "com.squad.run"
minSdkVersion 10
targetSdkVersion 20
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
signingConfigs {
//Set debug.keystore file here
release {
def propsFile = rootProject.file('keystore.properties')
def Properties props = new Properties()
props.load(new FileInputStream(propsFile))
storeFile = file(props['storeFile'])
storePassword = props['storePassword']
keyAlias = props['keyAlias']
keyPassword = props['keyPassword']
}
}
buildTypes {
debug {
applicationIdSuffix ".debug"
ext.enableCrashlytics = false
}
release {
zipAlign true
signingConfig signingConfigs.release
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt')
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
// compile 'com.android.support:support-v4:20.0.0'
compile project(':Libraries:viewPagerIndicator_Squadrun')
compile project(':Libraries:facebookSDK')
compile project(':Libraries:library')
compile project(':Libraries:progressHUD_Squadrun')
compile project(':Libraries:slidingMenuLibrary_SquadRun')
compile project(':Libraries:MobihelpSDK')
compile 'com.squareup.retrofit:retrofit:1.5.1'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.google.android.gms:play-services:6.1.71'
compile 'com.android.support:appcompat-v7:21'
compile 'com.squareup.picasso:picasso:2.3.4'
compile 'org.apache.httpcomponents:httpmime:4.2.3'
compile 'com.squareup.okhttp:okhttp:1.6.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:1.6.0'
compile 'oauth.signpost:signpost-commonshttp4:1.2.1.2'
compile 'org.twitter4j:twitter4j-core:4.0.1'
compile files('libs/FlurryAnalytics-4.1.0.jar')
compile 'com.crashlytics.android:crashlytics:1.0.0'
}
"앱 목록"이란 무엇입니까? 홈 화면 실행기를 의미합니까? 설정에 설치된 응용 프로그램 목록을 의미합니까? 다른 의미가 있니? 그 외에도, 앱 모듈의'build.gradle' 파일과'AndroidManifest.xml' 파일을 게시하기 위해 질문을 업데이트하는 것을 고려해보십시오. – CommonsWare
매니페스트가 2 개의 런처 인 텐트를 선언하고 있습니다. – Simon
@Simon : 반드시 그렇지는 않습니다 - Gradle 파일에는'debug' 대'release' 빌드에 대한 별도의'applicationId' 값이있을 수 있습니다. 이 경우 두 개의 실행 프로그램 항목이 있으면 디버그 앱과 릴리스 앱이 동시에 설치되었음을 의미 할 수 있습니다. 이 경우 설치된 응용 프로그램 목록에 두 개의 항목이 있습니다 (단 하나의 응용 프로그램이 아니라 두 개의 'LAUNCHER 활동이있는 응용 프로그램의 경우). 그것이 우리가 증상의 정확한 특성에 관해 더 많은 정보를 필요로하는 이유입니다. – CommonsWare