You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~ ❯ build.buildAPKs.bash 11:27:20 PM
Updating buildAPKs; build.buildAPKs.bash will attempt to load sources from git submodule repositories into ~/buildAPKs. This may take a little while to complete. Please be patient while build.buildAPKs.bash downloads source code from https://github.com:
curl: (3) nested brace in URL position 28:
https://maven.google.com/{/{/{/{/{-{.aar
^
BuildAPKs build.buildAPKs.bash at.bash build.buildAPKs.bash trap.bash ERROR: Generated script error signal -OL near or at line number 79 by `curl` with return value 3,.[0m
/data/data/com.termux/files/home/buildAPKs/scripts/bash/shlibs/trap.bash: line 28: JDR: unbound variable
Same thing with build.github.bash buildapks as the LIBAUTH file suggests. I also have downloaded all stable versions of appcompat and appcompat-resources into ~/buildAPKs/var/cache/lib
Any pointers would be appreciated.
Update: I have made these changes to ~/buildAPKs/scripts/bash/shlibs/prep.bash, namely just the MCLOOKUP function:
the echo calls are there for debugging, the sed calls are to remove escape sequences that occasionally occur in ONEDEP values, and any ONEDEP value consisting of just "{" is skipped, which solves the original problem. Also, the com.android.support url seems to special so I made a special case for it, although I haven't checked every one--whenever this script was devised, the structure of the website seems to have changed since then, assuming the script was accurate to begin with. Currently trying buildAll.bash, will see if there is any success when building.
There tended to be another error regarding missing resources as referenced by the manifest, but maybe that's just because the artifacts weren't linked properly by the project. I will update with the result.
Update:
Every attempt to build an app seems to give one of three errors:
<some file>.xml:<some line>: error: No resource identifier found for attribute '<some attribute>' in package 'android'
OR
<some file>.xml:<some line>: error: Error: No resource found that matches the given name (at '<some attribute>' with value '@android:<some value>').
AND sometimes the occasional combo,
grep: warning: stray \ before - #maybe this line
res/values/styles.xml:<some line>: error: Error retrieving parent for item: No resource found that matches the given name 'android:<some resource>'.
Update: It does seem to be an aapt issue, as this happens only during the aapt step. I just don't know how to fix it, as any version of it that I use gives the same errors, while I was definitely able to build at least some of the apps in the past (even though a small number actually worked)
The text was updated successfully, but these errors were encountered:
Same thing with
build.github.bash buildapks
as the LIBAUTH file suggests. I also have downloaded all stable versions of appcompat and appcompat-resources into~/buildAPKs/var/cache/lib
Any pointers would be appreciated.
Update: I have made these changes to ~/buildAPKs/scripts/bash/shlibs/prep.bash, namely just the MCLOOKUP function:
the echo calls are there for debugging, the sed calls are to remove escape sequences that occasionally occur in ONEDEP values, and any ONEDEP value consisting of just
"{"
is skipped, which solves the original problem. Also, thecom.android.support
url seems to special so I made a special case for it, although I haven't checked every one--whenever this script was devised, the structure of the website seems to have changed since then, assuming the script was accurate to begin with. Currently tryingbuildAll.bash
, will see if there is any success when building.There tended to be another error regarding missing resources as referenced by the manifest, but maybe that's just because the artifacts weren't linked properly by the project. I will update with the result.
Update:
Every attempt to build an app seems to give one of three errors:
OR
AND sometimes the occasional combo,
Update: It does seem to be an aapt issue, as this happens only during the aapt step. I just don't know how to fix it, as any version of it that I use gives the same errors, while I was definitely able to build at least some of the apps in the past (even though a small number actually worked)
The text was updated successfully, but these errors were encountered: