我正尝试在Android Studio上使用这个文本应用程序-- https://github.com/tranleduy2000/text_converter。然而,gradle构建失败了(错误消息如下)。请让我知道需要修复什么才能正常工作。
Error:C:\Users...\Desktop\text\signing.properties (系统无法找到指定的文件)。让我知道这个keystore.properties到底是什么,有没有可能创建这个文件,因为它在github repo文件中不可用。
发布于 2018-09-21 17:11:53
替换应用程序级别的build.gradle如下所示,我删除了登录配置,登录配置是在playstore上发布的关键。
/*
* Copyright (C) 2017-2018 Tran Le Duy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
useLibrary 'org.apache.http.legacy'
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 401
versionName "4.0.1"
}
sourceSets {
main.res.srcDirs += 'src/main/res-cipher'
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.12'
implementation project(':lvl')
implementation project(':common')
implementation "com.android.support:appcompat-v7:$androidSupportVersion"
implementation "com.android.support:cardview-v7:$androidSupportVersion"
implementation "com.android.support:design:$androidSupportVersion"
implementation "com.android.support:support-v4:$androidSupportVersion"
implementation group: 'commons-lang', name: 'commons-lang', version: '2.6'
implementation 'com.google.zxing:core:3.3.0'
implementation 'com.journeyapps:zxing-android-embedded:3.5.0@aar'
implementation 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
implementation 'io.github.kobakei:ratethisapp:1.2.0'
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4'
}
apply plugin: 'com.google.gms.google-services'https://stackoverflow.com/questions/52440274
复制相似问题