Soru & Cevap

Gradle.Buil Hata Could not find property

14.05.2016 - 09:38

Error:(40, 0) Could not find property 'RELEASE_STORE_PASSWORD' on SigningConfig_Decorated{name=release, storeFile=C:\Users\Alperen\Desktop\Muhappet-master\TMessagesProj\config\release.keystore, storePassword=null, keyAlias=null, keyPassword=null, storeType=C:\Users\Alperen\Desktop\Muhappet-master\TMessagesProj\config\release.keystore}. Open File buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.1.3' } } apply plugin: 'com.android.application' repositories { mavenCentral() } dependencies { compile 'com.android.support:support-v4:22.0.+' compile 'com.google.android.gms:play-services:7.0.0' compile 'net.hockeyapp.android:HockeySDK:3.5.+' compile 'com.googlecode.mp4parser:isoparser:1.0.+' compile 'com.android.support:recyclerview-v7:+' } android { compileSdkVersion 22 buildToolsVersion '22.0.1' compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } signingConfigs { debug { //storeFile file("config/debug.keystore") } release { storeFile file("config/release.keystore") storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } } buildTypes { debug { debuggable true jniDebuggable true signingConfig signingConfigs.debug } release { debuggable false jniDebuggable false signingConfig signingConfigs.release } foss { debuggable false jniDebuggable false signingConfig signingConfigs.release } } sourceSets.main { jniLibs.srcDir 'libs' jni.srcDirs = [] //disable automatic ndk-build call } sourceSets.debug { manifest.srcFile 'config/debug/AndroidManifest.xml' } sourceSets.release { manifest.srcFile 'config/release/AndroidManifest.xml' } sourceSets.foss { manifest.srcFile 'config/foss/AndroidManifest.xml' } defaultConfig { applicationId "com.muhappet.android" minSdkVersion 9 targetSdkVersion 22 versionCode 492 versionName "2.7.0.tr" } }

13 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

Profile picture for user playablegraphs
playablegraphs
14.05.2016 - 06:32
signingConfigs {
             release {
            storeFile file('dosyadi.key')
            storePassword 'sifre'
            keyAlias 'keykulladi'
            keyPassword 'sifre'
                    }
            }

bu satırları düzenle ve build.gradle'a ekle.
Jdk 8.0 ile bir adet key oluştur.jdk 7'de bug var.