Closed martin-bertele closed 6 months ago
So I guess package-internally the namespace could be set and devs will not run into the error, at the same time the workaround fixes it already.
add to your top-level build.gradle
allprojects {
repositories {
google()
mavenCentral()
}
// This code is where all the magic happens and fixes the error.
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
}
// This code is where all the magic happens and fixes the error.
}
Thanks for sharing! Happy to take a PR fixing this for good in the project, if you're up for it.
@saghul seems it's already there, just need to merge it. https://github.com/jitsi/jitsi-meet-flutter-sdk/pull/48
Trying to build with Android Studio:
A problem occurred configuring project ':jitsi_meet_flutter_sdk'.
Other packages had this as well, e.g. in the inappview a version upgrade fixed this
https://github.com/pichillilorenzo/flutter_inappwebview/issues/1975