Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resource issues #1812

Merged
merged 5 commits into from
Apr 8, 2023
Merged

Fix resource issues #1812

merged 5 commits into from
Apr 8, 2023

Conversation

nitram84
Copy link
Contributor

@nitram84 nitram84 commented Apr 7, 2023

I tested recompiling with some random simple apps, e.g.

https://apkpure.com/typescript-tutorial/com.cosmiclearn.typescripttutorial
https://apkpure.com/gradle-dependencies-generator/com.androidgradle.app

and just fixed the first resource or gradle issue in each iteration. The first app now fails with a java issue. I used gradle 7.4.2 to take another bug (also reproducible with gradle 7.6).

For review: Each commit fixes one bug. I used apktool as a reference for the exported resources.

The following issues can now be closed: #1073 and #1682

For the next issues a data structure to aggregate infos for gradle build file generation would help, e.g. for a flag to track usage of "android:pathData-Attributes" + minSdkVersion < 21 to set "vectorDrawables.useSupportLibrary = true" or a legacy Apache http client detection....

@skylot skylot merged commit 35e0201 into skylot:master Apr 8, 2023
3 checks passed
@skylot
Copy link
Owner

skylot commented Apr 8, 2023

@nitram84 thanks for fixes!
These sample apps are really very simple, so I think it is possible to fix java code compilation issues 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] Replace raw values in resource's xml with existing enum/flag whenever possible
2 participants