Closed lllttt06 closed 7 months ago
I'm having this issue too. Seems like the problem is the invalid package name, as @lllttt06 said.
I'm not sure but changing this value
https://github.com/tpucci/shake_gesture/blob/717042704baa58c8439d2022f3cf52ddcc422c73/shake_gesture_android/android/src/main/AndroidManifest.xml#L1
to shake_gesture_android.example
, might solve this issue.
I think it needs to be the same as the value from build.gradle
:
https://github.com/tpucci/shake_gesture/blob/717042704baa58c8439d2022f3cf52ddcc422c73/shake_gesture/example/android/app/build.gradle#L45
did it work after changing the manifest package name?
I couldn't, when I built it, it overwrote what I had changed. Had to use another package
Hello there ! Sorry, I have disabled the notifications for Christmas but did not enable them again after 😅 I'll fix that this weekend 🙂 Happy to see this package is used by the community
Thanks so much @tpucci for developing this package, i left a like on pub.dev and star here on github if that motivates you 😅
Should be fixed in 1.0.1 ✅ You can update this dependency. Feel free to reopen if there is still an issue 🙂
If you want a workaround for the previous version, try this snippet in the root build.gradle
:
// Fixes "Namespace not specified." errors.
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
}
Hi, thank you for providing good a plugin! The problem is I can't build apk by
flutter build apk
command. The error message is here.I can run app by
flutter run
command. Maybe you should changeshake_gesture_android
package name.