ThisIsLibra / AndroidProjectCreator

Convert an APK to an Android Studio Project using multiple open-source decompilers

Home Page:https://maxkersten.nl/projects/androidprojectcreator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failed with jadx

owen800q opened this issue · comments

When built the decompiled apk, the error message shown

/media/Programming/Reverse_engineering/Android/Tools/Decompiler/AndroidProjectCreator/build/didi_src/app/src/main/res/drawable-v21/$avd_show_password__2.xml: Error: '$' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore
/media/Programming/Reverse_engineering/Android/Tools/Decompiler/AndroidProjectCreator/build/didi_src/app/src/main/res/assets/crashlytics-build.properties: Error: The file name must end with .xml
/media/Programming/Reverse_engineering/Android/Tools/Decompiler/AndroidProjectCreator/build/didi_src/app/src/main/res/drawable-v24/$ic_launcher_foreground__0.xml: Error: '$' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

Project view

image

After I renamed the file name, two of three errors has gone, but still get this error

/res/assets/crashlytics-build.properties: Error: The file name must end with .xml

Solved, this is because the assets folder being placed under the res directory
Instead, it should be src/main/assets not src/main/res/assets

commented

@owen800q did you moves the whole assets folder from src/main/res/ to src/main/ or only those resources that have $ in the filename?

Also did you rename the file by removing the $ only?

What do you tryin to do with .. Genshin Impact android package?

commented

Solved, this is because the assets folder being placed under the res directory Instead, it should be src/main/assets not src/main/res/assets

I got this error too , but I don't understand how did you resolved it. can you explain thast in detail?