• Mua VIP Member ủng hộ Forum cũng như tắt quảng cáo trên diễn đàn bạn nhé.

Chia sẻ Hướng dẫn tự Build Youtube Revanced

  • Người tạo chủ đề invisibleMan
  • Ngày bắt đầu
  • Người dùng được gắn thẻ Không có
tốt nhất là dev xây dựng để user tự build. đây là 1 cách lách luật
 
ad gõ adb devices để lấy mã thiết bị đang kết nối qua USB Debug ad
rồi mà. tôi tưởng lỗi sdk vs adb cập nhật hết vẫn ko build dc =))
chịu
(máy bạn cũng thế/)
 
full lỗi
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:6: error: resource android:color/background_cache_hint_selector_material_light is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:7: error: resource android:color/background_floating_material_dark is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:8: error: resource android:color/Blue_700 is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:9: error: resource android:color/Indigo_800 is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:10: error: resource android:color/GM2_grey_800 is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:11: error: resource android:color/Red_700 is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:12: error: resource android:color/Teal_700 is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:13: error: resource android:color/accent_device_default_dark_60_percent_opacity is private.
WARNING: C:\Users\Nhat\Desktop\revanced\revanced-cache\res\values-v31\colors.xml:14: error: resource android:color/autofill_background_material_dark is private.
WARNING: error: failed linking references.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Nhat\AppData\Local\Temp\brut_util_Jar_83681714404779093258821975121077957641.tmp, link, -o, C:\Users\Nhat\Desktop\revanced\revanced-cache\aapt_temp_file, --min-sdk-version, 23, --target-sdk-version, 31, --version-code, 1530254784, --version-name, 17.26.34, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, C:\Users\Nhat\AppData\Local\Temp\APKTOOL6670593688009943595.tmp, -0, arsc, -I, C:\Users\Nhat\AppData\Local\apktool\framework\1.apk, --manifest, C:\Users\Nhat\Desktop\revanced\revanced-cache\AndroidManifest.xml, C:\Users\Nhat\Desktop\revanced\revanced-cache\build\resources.zip]
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:626)
at app.revanced.patcher.Patcher.save(Patcher.kt:199)
at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:27)
at app.revanced.cli.command.MainCommand.run(MainCommand.kt:133)
at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at picocli.CommandLine.execute(CommandLine.java:2078)
at app.revanced.cli.main.MainKt.main(Main.kt:7)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Nhat\AppData\Local\Temp\brut_util_Jar_83681714404779093258821975121077957641.tmp, link, -o, C:\Users\Nhat\Desktop\revanced\revanced-cache\aapt_temp_file, --min-sdk-version, 23, --target-sdk-version, 31, --version-code, 1530254784, --version-name, 17.26.34, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, C:\Users\Nhat\AppData\Local\Temp\APKTOOL6670593688009943595.tmp, -0, arsc, -I, C:\Users\Nhat\AppData\Local\apktool\framework\1.apk, --manifest, C:\Users\Nhat\Desktop\revanced\revanced-cache\AndroidManifest.xml, C:\Users\Nhat\Desktop\revanced\revanced-cache\build\resources.zip]
at brut.util.OS.exec(OS.java:99)
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:487)
... 13 more
INFO: Deleting existing resource cache directory
@ngtrongha
 
Ad cho mình xem full code a gõ thử, với ad thử tải bản patches (bản java) mới về lại xem
tôi gõ code mẫu của ông đấy. (thay mỗi id device máy tôi thôi)
đã tải patch mới. Máy bạn t cũng thế, nhưng máy của Sốt thì không bị. Chạy dc. Lạ vãi
 
Back
Bên trên