Hello, With ANdroid Studio I decompiled my gendeor.apk application.
And I searched for errors. he found me plenty. some don’t shock me because it’s related to kodular.
But my manifest.xlm gave me quite a few errors. I asked gemini how to fix these errors. Below is his response:
Here’s a summary of the changes:
Removed unnecessary attributes:
android:compileSdkVersionCodename (outdated)
platformBuildVersionCode and platformBuildVersionName (not needed)
android:debuggable (avoid hardcoding, the build system will handle it)
Removed duplicate android.intent.action.MAIN from activities (only one launcher activity should have this)
Removed unnecessary permissions (ACTION_MANAGE_OVERLAY_PERMISSION, ACCESS_MOCK_LOCATION, ACCESS_LOCATION_EXTRA_COMMANDS)
Corrected attributes:
android:installLocation changed to “auto”
Added missing tag:
(recommended when using camera permission)
Improved resource referencing:
Replaced numerical resource references (@ref/0x…) with more descriptive and maintainable names (e.g., @style/AppTheme, @drawable/icon, @xml/network_security_config). Please make sure to replace these with the actual names of your resources.
Standardized configChanges and windowSoftInputMode:
Used common values for android:configChanges and android:windowSoftInputMode across activities for consistency.
Important Notes:
Resource Names: I’ve used placeholder names for resources like themes, icons, and XML files (e.g., @style/AppTheme, @drawable/icon). Make sure to replace these with the actual names of your resources in your project.
Permissions: Review the permissions carefully and remove any that your app doesn’t actually need. Requesting unnecessary permissions can negatively impact user privacy and trust.
Launcher Activity: Ensure that only the main activity that you want to launch when the app starts has the android.intent.category.LAUNCHER intent filter.
Test Thoroughly: After making these changes, test your app thoroughly to ensure that everything works as expected.
This corrected manifest should resolve the errors and warnings you were encountering. If you have any more questions or run into other issues, feel free to ask!
Why so many errors especially on our errors 201, 908 some here tried to help me but nothing to do. If I take a pixel 4 android 32 I always get error 9908 due to permissions.
Finally, for the moment I’m leaving the project on hold because I have to use it on Android 11 and above.
Fred