flutter_pty icon indicating copy to clipboard operation
flutter_pty copied to clipboard

AGP8 mandates build.gradle to add namespace

Open wyq0918dev opened this issue 2 years ago • 1 comments

Add the following code in android{} of build.gradle

// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
    namespace 'com.example.flutter_pty'
}

wyq0918dev avatar May 28 '23 04:05 wyq0918dev

Since this repo seems no longer being maintained, you can use this fork instead to fix this issue

dependencies:
// ...
  flutter_pty:
    git: https://github.com/shadow3aaa/flutter_pty

shadow3aaa avatar Sep 01 '24 11:09 shadow3aaa