0
私はgithubから取得したAlexa Androidアプリをビルドしようとしています...しかし、その表示がeroorです。 "signing.gradleを見つけられませんAndroid buildTypes>独自の設定でコンフィグレーションに署名してください。 これはgithubのリンクです: - https://github.com/willblaschko/AlexaAndroidsigning.gradleが見つからない場合は、Androidのビルドタイプを交換してください>自分の設定でコンフィグレーションに署名してください
そして、build.gradleファイルからそのエラーが表示されています。あなたのsigningConfigsと
apply plugin: 'com.android.application'
if (file('signing.gradle').exists()) {
apply from: 'signing.gradle'
}else{
throw new TaskExecutionException(null, new Exception("Unable to find
signing.gradle, please replace Android buildTypes > signing configs with
your own configuration."));
}
android {
compileSdkVersion 24
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.willblaschko.android.alexavoicelibrary"
minSdkVersion 21
targetSdkVersion 24
versionCode 5
versionName "2.1.1"
multiDexEnabled true;
}
buildTypes {
debug{
versionNameSuffix " Debug"
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseConfig
}
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseConfig
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'com.android.support:multidex:1.0.1'
compile 'com.squareup.okhttp3:okhttp:3.2.0'
compile project(path: ':libs:AlexaAndroid')
compile project(path: ':libs:RecorderLevelView')
compile project(path: ':libs:speechutils-master')
}