decipher3114 / Revancify

The only revancify
Apache License 2.0
855 stars 61 forks source link

AAPT binary aapt2 does not exist #35

Open micropolla opened 1 year ago

micropolla commented 1 year ago

trying to patch TikTok (com.ss.android.ugc.trill 30.8.4)

log:

AAPT binary aapt2 does not exist
Usage: revanced-cli patch [-fpw] [--exclusive] [--mount] [--alias=<alias>]
                          [--custom-aapt2-binary=<aaptBinaryPath>]
                          [-d=<deviceSerial>] [--keystore=<keystoreFilePath>]
                          [--keystore-entry-password=<password>]
                          [--keystore-password=<keyStorePassword>]
                          -o=<outputFilePath> [--options=<optionsFile>]
                          [-r=<resourceCachePath>] [--signer=<signer>]
                          -b=<patchBundles> [-b=<patchBundles>]...
                          [-e=<excludedPatches>]... [-i=<includedPatches>]...
                          [-m=<integrations>]... <apk>
Patch an APK file
      <apk>               APK file to be patched
      --alias=<alias>     The alias of the key from the keystore to sign the
                            patched APK file with
                            Default: ReVanced Key
  -b, --patch-bundle=<patchBundles>
                          One or more bundles of patches
      --custom-aapt2-binary=<aaptBinaryPath>
                          Path to a custom AAPT binary to compile resources with
  -d, --device-serial=<deviceSerial>
                          ADB device serial to install to
                            Default: null
  -e, --exclude=<excludedPatches>
                          List of patches to exclude
      --exclusive         Only include patches that are explicitly specified to
                            be included
                            Default: false
  -f, --force             Bypass compatibility checks for the supplied APK's
                            version
                            Default: false
  -i, --include=<includedPatches>
                          List of patches to include
      --keystore=<keystoreFilePath>
                          Path to the keystore to sign the patched APK file with
      --keystore-entry-password=<password>
                          The password of the entry from the keystore for the
                            key to sign the patched APK file with
      --keystore-password=<keyStorePassword>
                          The password of the keystore to sign the patched APK
                            file with
  -m, --merge=<integrations>
                          One or more DEX files or containers to merge into the
                            APK
      --mount             Install by mounting the patched APK file
                            Default: false
  -o, --out=<outputFilePath>
                          Path to save the patched APK file to
      --options=<optionsFile>
                          Path to patch options JSON file
                            Default: options.json
  -p, --purge             Purge the temporary resource cache directory after
                            patching
                            Default: false
  -r, --resource-cache=<resourceCachePath>
                          Path to temporary resource cache directory
                            Default: revanced-resource-cache
      --signer=<signer>   The name of the signer to sign the patched APK file
                            with
                            Default: ReVanced
  -w, --warn              Warn if a patch can not be found in the supplied
                            patch bundles
                            Default: false

Rooted: false
Arch: arm64-v8a
App: TikTok v30.8.4
CLI: revanced-cli-v4.0.1.jar
Patches: revanced-patches-v2.193.0.jar
Integrations: revanced-integrations-v0.119.1.apk
Patches argument: -i feed-filter
-i downloads
-i playback-speed
-i show-seekbar
-i hide-ads
-i disable-login-requirement
-i fix-google-login
-i settings

i did fetch tools also, didn't change anything

micropolla commented 1 year ago

fixed

solution: uninstall and reinstall revancify