Skip to content

Commit 2b897a4

Browse files
authored
Added namespace in build.gradle
Added namespace in module's build.gradle file to avoid "Namespace not specified. Specify a namespace in the module's build file." error. New version of Gradle requires namespace to be specified in build.gradle file.
1 parent 518c671 commit 2b897a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ android {
2828
// Bumping the plugin compileSdkVersion requires all clients of this plugin
2929
// to bump the version in their app.
3030
compileSdkVersion 31
31+
namespace 'org.tensorflow.tflite_flutter'
3132

3233
// Bumping the plugin ndkVersion requires all clients of this plugin to bump
3334
// the version in their app and to download a newer version of the NDK.
@@ -64,4 +65,4 @@ dependencies {
6465

6566
implementation("org.tensorflow:tensorflow-lite:${tflite_version}")
6667
implementation("org.tensorflow:tensorflow-lite-gpu:${tflite_version}")
67-
}
68+
}

0 commit comments

Comments
 (0)