ftde0 / yt2009

2009 youtube frontend.
Apache License 2.0
193 stars 119 forks source link

(help) Cant build YT APK #15

Closed lovebug0706 closed 1 year ago

lovebug0706 commented 1 year ago

The version of the APK is 1.6.21. Im trying to build it with Apktool 2.9.0. It gives me an error on a file i didnt even touch. Heres the log: PS C:\Users\myname\Downloads\youtubechanger> java -jar .\apktool_2.9.0.jar b .\youtube\ I: Using Apktool 2.9.0 I: Checking whether sources has changed... I: Checking whether resources has changed... I: Building resources... W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:9: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:10: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:11: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:12: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:13: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:14: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml:15: error: invalid value for type 'attr'. Expected a reference. W: C:\Users\myname\Downloads\youtubechanger\.\youtube\res\values\attrs.xml: error: file failed to compile. brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\myname\AppData\Local\Temp\brut_util_Jar_68929862255961559523204784042177947137.tmp, compile, --dir, C:\Users\myname\Downloads\youtubechanger\.\youtube\res, --legacy, -o, C:\Users\myname\Downloads\youtubechanger\.\youtube\build\resources.zip] PS C:\Users\myname\Downloads\youtubechanger>

attrs.xml looks perfectly fine. `

10.0dip 12.0dip 15.0dip 18.0dip 88.0dip 68.0dip 6.0dip

`

Can anybody help me possibly? Thanks.

lovebug0706 commented 1 year ago

Fixed it. Dont go for the early 1.0 versions, the 2.0 versions have the exact same look, and actually build.