google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.7k stars 6.02k forks source link

how make default buildconfig to release I mean how change gradle that by default when build APK on Android Studio always be release by default? #11373

Closed pooya-mohammadhossein closed 8 months ago

pooya-mohammadhossein commented 8 months ago

For Demo application how set the default build config always set as Release. I mean how set following signingConfig signingConfigs.debug to signingConfigs.release ?

Thanks.


  buildTypes {
        release {
            shrinkResources true
            minifyEnabled true
            proguardFiles = [
                    "proguard-rules.txt",
                    getDefaultProguardFile('proguard-android.txt')
            ]
            signingConfig signingConfigs.debug
        }
        debug {
            jniDebuggable = true
        }
    }

Sincerely Kind Regards,

oceanjules commented 8 months ago

Please do not abuse the issue tracker by circumventing the deprecation confirmation

I understand this project is deprecated, that I should file my issue in the [Media3 issue tracker](https://github.com/androidx/media/issues/new/choose) instead of here, and this issue will be closed with no response.

The issue is not related to the library, but to signing. Please take a look at the following guides:

pooya-mohammadhossein commented 8 months ago

@oceanjules This is not a valid response. I have tried to create a Question in this GitHub but the feature of asking question in this GitHub project was not available. Bye!

oceanjules commented 8 months ago

@pooya-mohammadhossein The message states that you should not be using this deprecated Github repo for raising any questions, which is why it didn't work. Head over to Media3 issue tracker for any Media3/Exoplayer related problems.