ponnamkarthik / FlutterRtmpPlublisher

A Flutter Plugins that helps you to brodcast Live via RTMP right from your flutter application
Other
53 stars 44 forks source link

Downgrading kotlin issue #12

Closed Vercjames closed 4 years ago

Vercjames commented 4 years ago

for thos running into a Kotlin issue, Go to build.gradle, and replace your build script with:

buildscript {
    ext.kotlin_version = '1.3.0'
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

then in the app/build.gradle

change minSdkVersion 16 to minSdkVersion 21

finally, if you get a AndroindManifest.xml issue remove

android:label="<YOURAPPNAME>"