Closed Daniel41920 closed 5 years ago
Confirmed in both aapt1/aapt2.
I: Building resources...
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:54: error: no definition for declared symbol 'free.reddit.news:array/defaultActions'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:55: error: no definition for declared symbol 'free.reddit.news:array/defaultActionsValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:56: error: no definition for declared symbol 'free.reddit.news:array/fontValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:57: error: no definition for declared symbol 'free.reddit.news:array/fonts'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:58: error: no definition for declared symbol 'free.reddit.news:array/mailNames'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:59: error: no definition for declared symbol 'free.reddit.news:array/mailValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:60: error: no definition for declared symbol 'free.reddit.news:array/prefetchNames'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:61: error: no definition for declared symbol 'free.reddit.news:array/prefetchValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:62: error: no definition for declared symbol 'free.reddit.news:array/textSizes'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:63: error: no definition for declared symbol 'free.reddit.news:array/textValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:64: error: no definition for declared symbol 'free.reddit.news:array/themeValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:65: error: no definition for declared symbol 'free.reddit.news:array/themes'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:66: error: no definition for declared symbol 'free.reddit.news:array/viewValues'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:67: error: no definition for declared symbol 'free.reddit.news:array/viewValuesBeta'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:68: error: no definition for declared symbol 'free.reddit.news:array/views'.
W: /Users/connortumbleson/Desktop/Apktool/Bugs/Bug1922/reddit.news/res/values/public.xml:69: error: no definition for declared symbol 'free.reddit.news:array/viewsBeta'.
W: error: failed linking references.
I had the same issues with this APK: https://www.apkmirror.com/apk/supercell/brawl-stars/brawl-stars-14-118-release/brawl-stars-14-118-android-apk-download/
I've noticed resources in res/values/arrays.xml were using the style tag instead of the array tag. Fixing tags manually and rebuilding solved the issue.
Same issue with the Termius APK, @jeanbmar's fix works. Edit: It kind of works. The array doesn't seem to decompile correctly in the first place. Edit 2: Seems to be fixed in #1994.
I've noticed resources in res/values/arrays.xml where using the style tag instead of the array tag. Fixing tags manually and rebuilding solved the issue.
Can you please elaborate what you mean by "style tag" instead of "array tag"? I have the same problem showing up with fonts (but I don't have a res/values/arrays.xml)
Update: it works when I download the tool and build it. I guess then I will wait for next release.
I am in the same boat with @micmar - it doesn't work when using the public released version 2.3.4 but it works with a locally built version 2.4.0-53fdd9-SNAPSHOT
I think at this point the issue has been fixed. It is just a matter of knowing when it will be released. Is there any release date planned for 2.4.0? Thanks.
Apologies, it seems this was a duplicate of #1994 which has since been fixed. It will be in the upcoming v2.4.0 release.
So I've been working on a menu for Roblox and when I get ready to build it, it says Public symbol array/roblox_channels declared here is not defined I've gone through it and it seems that nothing is wrong with it but I don't know why it won't let me build it.
Information
apktool -version
) - 2.3.4Stacktrace/Logcat
Steps to Reproduce
Frameworks
Not an APK from an OEM ROM.
APK
https://www.apkmirror.com/apk/dbrady/relay-for-reddit-2/relay-for-reddit-2-9-0-72-release/relay-for-reddit-9-0-72-2-android-apk-download/download/
Questions to ask before submission
apktool d
,apktool b
without changing anything? Yes.