devamitkumartiwari / devicesafetyinfo

MIT License
2 stars 2 forks source link

Remove package property from AndroidManifest.xml #3

Open vladimir-beloded opened 6 months ago

vladimir-beloded commented 6 months ago

It is needed to remove the package property from the AndroidManifest.xml since it is no longer supported and fails Android builds.

The stack trace I am getting:

Execution failed for task ':device_safety_info:processDebugManifest'.
> A failure occurred while executing com.android.build.gradle.tasks.ProcessLibraryManifest$ProcessLibWorkAction
   > Incorrect package="com.devamitkumartiwari.device_safety_info" found in source AndroidManifest.xml:  .pub-cache/hosted/pub.dev/device_safety_info-0.0.4/android/src/main/AndroidManifest.xml.
     Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
     Recommendation: remove package="com.devamitkumartiwari.device_safety_info" from the source AndroidManifest.xml: .pub-cache/hosted/pub.dev/device_safety_info-0.0.4/android/src/main/AndroidManifest.xml.
amitkumartiwaridis commented 5 months ago

please try to run flutter clean, then flutter pub get and check still it having issues @vladimir-beloded

vladimir-beloded commented 5 months ago

@amitkumartiwaridis, yes, I'm still experiencing this issue even after running flutter clean.

Won-gyu commented 1 week ago

I experience the same issue

devamitkumartiwari commented 1 week ago

@Won-gyu @vladimir-beloded please check version 0.0.9