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

[BUG] Missing res-xml file after building #3532

Open
Android-Unknown opened this issue Mar 6, 2024 · 5 comments
Open

[BUG] Missing res-xml file after building #3532

Android-Unknown opened this issue Mar 6, 2024 · 5 comments

Comments

@Android-Unknown
Copy link

Information

  1. Apktool Version (apktool -version) - 2.7.0, 2.9.3
  2. Operating System (Mac, Linux, Windows) - Windows
  3. APK From? (Playstore, ROM, Other) - Other
  4. Java Version (java --version) - 17.0.5

Stacktrace/Logcat

java.lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data
                                                                                                    	at android.app.ActivityThread.installProvider(ActivityThread.java:7251)
                                                                                                    	at android.app.ActivityThread.installContentProviders(ActivityThread.java:6787)
                                                                                                    	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6704)
                                                                                                    	at android.app.ActivityThread.access$1300(ActivityThread.java:237)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loop(Looper.java:223)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:7664)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
                                                                                                    Caused by: java.lang.IllegalArgumentException: Missing android.support.FILE_PROVIDER_PATHS meta-data

Steps to Reproduce

  1. Original folder res/xml before decoding:
    изображение

  2. java -jar apktool_2.9.3.jar d -r app.apk

  3. java -jar apktool_2.9.3.jar b app

изображение

Please, help me

@iBotPeaches
Copy link
Owner

Do you mind putting up a failing test case by editing a sample application with some of the files involved in this? Without an application that would help give me a base to start from.

@Android-Unknown
Copy link
Author

@iBotPeaches for example this apk
https://dropmefiles.com/468105

@Android-Unknown
Copy link
Author

@iBotPeaches any ideas?

@iBotPeaches
Copy link
Owner

Sorry, I didn't download the file in time and it expired. If you can re-upload.

@Android-Unknown
Copy link
Author

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

No branches or pull requests

2 participants