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

Recompile doesn't work , if I modify Manifest or any resource #2399

Closed
sshuvro58 opened this issue Sep 4, 2020 · 4 comments
Closed

Recompile doesn't work , if I modify Manifest or any resource #2399

sshuvro58 opened this issue Sep 4, 2020 · 4 comments

Comments

@sshuvro58
Copy link

Recompile doesn't work , if I modify Manifest or any resource

Here is how I decomplie it

apktool d -f -r zoomroom.5.1.35624.0822.apk

If I recompile it
apktool b zoomroom.5.1.35624.0822

I get the following error

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

However , If I do not change anything , it works fine

I have also included --use-aapt2 , I get the same error

Information

  1. Apktool Version (apktool -version) - 2.4.1
  2. Operating System (Mac, Linux, Windows) - Linux
  3. APK From? (Playstore, ROM, Other) - Playstore

Stacktrace/Logcat

Include stacktrace here

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

Steps to Reproduce

  1. apktool

Frameworks

If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)

APK

If this APK can be freely shared, please upload/attach a link to it.
https://apkpure.com/zoom-rooms/us.zoom.zrc

@MrIkso
Copy link
Contributor

MrIkso commented Sep 4, 2020

Send full log please

@sshuvro58
Copy link
Author

Send full log please

apktool b zoomroom.5.1.35624.0822
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /home/paranoid/Downloads/new_try/zoomroom.5.1.35624.0822/res/layout-v22/pzr_binding_login_fragment.xml:10: error: No resource identifier found for attribute 'screenReaderFocusable' in package 'android'
W:
W: /home/paranoid/Downloads/new_try/zoomroom.5.1.35624.0822/res/layout-v22/zm_zr_conf_toolbar.xml:20: error: No resource identifier found for attribute 'screenReaderFocusable' in package 'android'
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_8414531028194679346.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --version-code, 21, --version-name, 5.1.35624.0822, --no-version-vectors, -F, /tmp/APKTOOL1382623739461020781.tmp, -e, /tmp/APKTOOL18029152062007404445.tmp, -0, arsc, -I, /home/paranoid/.local/share/apktool/framework/1.apk, -S, /home/paranoid/Downloads/new_try/zoomroom.5.1.35624.0822/res, -M, /home/paranoid/Downloads/new_try/zoomroom.5.1.35624.0822/AndroidManifest.xml]

@giacomoferretti
Copy link
Contributor

Have to you tried to empty your framework dir using apktool empty-framework-dir? Maybe your framework is not updated.

Otherwise you can decode and build using the -p . parameter to specify the current folder as your framework dir.

@iBotPeaches
Copy link
Owner

Added new Android 11 resources here - 22fdee4 - will be in next release.

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

No branches or pull requests

4 participants