Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not tally all the results for builtAPKs #14

Open
leejie123 opened this issue Oct 8, 2024 · 2 comments
Open

Could not tally all the results for builtAPKs #14

leejie123 opened this issue Oct 8, 2024 · 2 comments

Comments

@leejie123
Copy link

leejie123 commented Oct 8, 2024

Screenshot_2024-10-09-02-35-20-279_com.termux.jpg

Screenshot_2024-10-09-02-38-36-636_com.termux.jpg

and the exported logs:

�[1;38;5;115mBeginning buildAPKs setup:�[0m
COMMAND au enables rollback, available at https://wae.github.io/au/ IS NOT FOUND: Continuing...

�[1;34mActivating wake lock: �]2;Activating wake lock: OK��[1;32mDONE�[0m
�[1;7;38;5;100mTo update module ~/buildAPKs/sources/entertainment to the newest version remove the ~/buildAPKs/sources/entertainment/.git file and run init.bash again.�[0m
�[1;7;38;5;158mSearching for job directories in /data/data/com.termux/files/home/buildAPKs/sources/entertainment: Please be patient...�[0m
�[0m
�[1;38;5;116mBeginning build in ~/buildAPKs/sources/entertainment/commonsware/cw-android/Files/ReadWrite/:
�[0mAndroidManifest.xml
ReadWriteFileDemo.java
cw.png
main.xml
strings.xml
�[1;38;5;115maapt: started...
�[0m�[1;48;5;167mSignal generated aapt build.one.bash build.one.bash: EXITING...�[0m
�[?25h�[1;7;38;5;0mbuildAPKs signal 220 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/commonsware/cw-android/Files/ReadWrite by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log")" && VAR="$(grep -v -- <<< $VAR)" && head <<< $VAR && tail <<< $VAR �[0m
res/layout/main.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'singleLine' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'gravity' in package 'android'

grep: warning: stray \ before -
res/layout/main.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'singleLine' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'gravity' in package 'android'

�[1;38;5;151mCompleting tasks...
�[0m�[1;38;5;151mCompleted tasks in ~/buildAPKs/sources/entertainment/commonsware/cw-android/Files/ReadWrite/.

�[0m�[?25h�[0m�[0m
�[1;38;5;116mBeginning build in ~/buildAPKs/sources/entertainment/madisp/divide-and-conquer/madisp-divide-and-conquer-60678a0/src/main/:
�[0mAndroidManifest.xml
AnimatingLine.java
Ball.java
BallEngine.java
BallRegion.java
Constants.java
Direction.java
DirectionPoint.java
DivideAndConquerActivity.java
DivideAndConquerView.java
EULA
GameOverActivity.java
GameOverDialog.java
GameState.java
NewGameCallback.java
Preferences.java
Shape2d.java
WelcomeActivity.java
WelcomeDialog.java
ball.png
ballsicon.jpg
explosion1.png
explosion2.png
explosion3.png
game_over_dialog.xml
ids.xml
main.xml
strings.xml
welcome_dialog.xml
�[1;38;5;115maapt: started...
�[0m�[1;48;5;167mSignal generated aapt build.one.bash build.one.bash: EXITING...�[0m
�[?25h�[1;7;38;5;0mbuildAPKs signal 220 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/madisp/divide-and-conquer/madisp-divide-and-conquer-60678a0/src/main by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log")" && VAR="$(grep -v -- <<< $VAR)" && head <<< $VAR && tail <<< $VAR �[0m
res/layout/main.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'singleLine' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'gravity' in package 'android'

res/layout/welcome_dialog.xml:16: error: No resource identifier found for attribute 'layout_weight' in package 'android'

res/layout/welcome_dialog.xml:16: error: No resource identifier found for attribute 'textAppearance' in package 'android'

res/layout/welcome_dialog.xml:16: error: No resource identifier found for attribute 'text' in package 'android'

res/layout/welcome_dialog.xml:8: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceSmall').

res/layout/welcome_dialog.xml:16: error: Error: No resource found that matches the given name (at 'textAppearance' with value '?android:attr/textAppearanceSmall').

�[1;38;5;151mCompleting tasks...
�[0m�[1;38;5;151mCompleted tasks in ~/buildAPKs/sources/entertainment/madisp/divide-and-conquer/madisp-divide-and-conquer-60678a0/src/main/.

�[0m�[?25h�[0m�[0m
�[1;38;5;116mBeginning build in ~/buildAPKs/sources/entertainment/twuster/Rubix/twuster-Rubix-51be3c6/:
�[0mAndroidManifest.xml
Cube.java
GLColor.java
GLFace.java
GLShape.java
GLVertex.java
GLWorld.java
Kube.java
KubeRenderer.java
Layer.java
M4.java
README.md
Rubix.iml
TouchRotateActivity.java
TouchSurfaceView.java
ant.properties
build.xml
ic_launcher.png
ic_launcher.png
ic_launcher.png
ic_launcher.png
main.xml
strings.xml
�[1;38;5;115maapt: started...
�[0m�[1;48;5;167mSignal generated aapt build.one.bash build.one.bash: EXITING...�[0m
�[?25h�[1;7;38;5;0mbuildAPKs signal 220 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/twuster/Rubix/twuster-Rubix-51be3c6 by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log")" && VAR="$(grep -v -- <<< $VAR)" && head <<< $VAR && tail <<< $VAR �[0m
res/layout/main.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'singleLine' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'gravity' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:7: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:7: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:7: error: No resource identifier found for attribute 'text' in package 'android'

�[1;38;5;151mCompleting tasks...
�[0m�[1;38;5;151mCompleted tasks in ~/buildAPKs/sources/entertainment/twuster/Rubix/twuster-Rubix-51be3c6/.

�[0m�[?25h�[0m�[0m
�[1;38;5;116mBeginning build in ~/buildAPKs/sources/entertainment/uvwxy/android-snappy/uvwxy-android-snappy-e5c16c6/:
�[0mAndroidManifest.xml
Focus.java
LICENSE
MyCamera.java
Snappy.java
camera.png
camera.png
camera.png
icon.png
icon.png
icon.png
main.xml
main.xml
strings.xml
�[1;38;5;115maapt: started...
�[0m�[1;48;5;167mSignal generated aapt build.one.bash build.one.bash: EXITING...�[0m
�[?25h�[1;7;38;5;0mbuildAPKs signal 220 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/uvwxy/android-snappy/uvwxy-android-snappy-e5c16c6 by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.entertainment.log")" && VAR="$(grep -v -- <<< $VAR)" && head <<< $VAR && tail <<< $VAR �[0m
res/layout/main.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_width' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'singleLine' in package 'android'

res/layout/main.xml:2: error: No resource identifier found for attribute 'gravity' in package 'android'

res/layout-hdpi/main.xml:55: error: No resource identifier found for attribute 'layout_height' in package 'android'

res/layout-hdpi/main.xml:55: error: No resource identifier found for attribute 'text' in package 'android'

res/layout-hdpi/main.xml:55: error: No resource identifier found for attribute 'id' in package 'android'

res/layout-hdpi/main.xml:55: error: No resource identifier found for attribute 'layout_toLeftOf' in package 'android'

res/layout-hdpi/main.xml:55: error: No resource identifier found for attribute 'layout_alignBottom' in package 'android'

�[1;38;5;151mCompleting tasks...
�[0m�[1;38;5;151mCompleted tasks in ~/buildAPKs/sources/entertainment/uvwxy/android-snappy/uvwxy-android-snappy-e5c16c6/.

�[0m�[?25h�[0m�[7;38;5;122mFile ~/buildAPKs/.conf/GAUTH has information about enabling OAuth authentication to increase the rate limit for authenticated Github users.

Also, file ~/buildAPKs/.conf/LIBAUTH has information regarding the integration of artifacts and libraries into compilations. The functionality of this option is being enhanced. To improve this automation see https://github.com/BuildAPKs/buildAPKs/issues and pulls...�[0m

�[7;38;5;122mRunning $(cat /data/data/com.termux/files/home/buildAPKs/.conf/GAUTH /data/data/com.termux/files/home/buildAPKs/.conf/LIBAUTH):�[0m

The first line of this file is intentionally left blank for the user to complete. Please insert an OAuth token pair (token:token) in the first line of this file to enable OAuth authentication with Github in order to complete this configuration file. The command 'curl' will use this information to query GitHub in open text format. Pages https://docs.github.com/en/rest/overview/other-authentication-methods and https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token have information about authentication methods.

The 'build.github*.bash' scripts can stall for unauthenticated users of Github due to the high bandwith they consume when conducting multiple queries. Enabling OAuth authentication increases the rate limit for authenticated Github users. This link https://github.com/settings/tokens creates OAuth tokens easily.

Information about Github authentication can be viewed at this address https://developer.github.com/v3/auth/#basic-authentication at Github. This command 'grep -C 4 -hr AUT ~/buildAPKs/scripts/' shows how the user token combination is used in the buildAPKs scripts to access the increased rate limit for authenticated Github users.

A solution for a "stash them before you merge" message after running '~/buildAPKs/update.buildAPKs.sh' is 'mv ~/buildAPKs/[file] ~/buildAPKs/stash/' to clear this message and update. Compare the changes with 'diff ~/buildAPKs/[file] ~/buildAPKs/stash/[file]' after updating.

To clear the "Please commit your changes or stash them before you merge" message after trying to update with '~/buildAPKs/update.buildAPKs.sh' a solution is to use these shell commands:

mv ~/buildAPKs/.conf/GAUTH ~/buildAPKs/stash/GAUTH

After moving this file, run '~/buildAPKs/update.buildAPKs.sh' again. To add the OAuth username token pair (user:token) again to the newly updated file from the stashed GAUUTH file, you can use these shell commands (hint: copy and paste):

(head -1 ~/buildAPKs/stash/GAUTH && cat ~/buildAPKs/.conf/GAUTH) > ~/buildAPKs/var/tmp/GAUTH.$$.tmp && mv ~/buildAPKs/var/tmp/GAUTH.$$.tmp ~/buildAPKs/.conf/GAUTH

This will add the OAuth token from the copied ~/buildAPKs/stash/GAUTH file to the first line of the newly updated GAUTH file.

GAUTH EOF

false
true

English

20211011 UNDER CONSTRUCTION!
BuildAPKs/buildAPKs#1
BuildAPKs/buildAPKs#2
BuildAPKs/buildAPKs#13
BuildAPKs/buildAPKs#24

Change the first line of this file to true to use artifacts and libraries during compilation; When the first line of this file is changed to true, BuildAPKs loads files from these folders into the build process from directories located in:

LIBDIRPATH=("$JDR/lib" "$JDR/libraries" "$JDR/library" "$JDR/libs" "$RDR/var/cache/lib") # modify array LIBDIRPATH to suit the projects artifact needs. The directory '~/buildAPKs/var/cache/lib' is created for working with libraries. Libraries can be downloaded from these web links:
https://mvnrepository.com/artifact/androidx.appcompat
https://mvnrepository.com/artifact/com.android.support/appcompat-v7

Adjust the paths to the prerequisites of the project in 'LIBDIRPATH build.one.bash'. You can populate the ~/buildAPKs/var/cache/lib directory from the https://mvnrepository.com website. For example, this link https://mvnrepository.com/artifact/androidx.appcompat/appcompat has appcompat libraries that you can download into ~/buildAPKs/var/cache/lib for compiling inclusion.

The command 'cd ~/buildAPKs/var/cache/lib && curl -OL https://maven.google.com/androidx/appcompat/appcompat/1.1.0/appcompat-1.1.0.aar && ~/buildAPKs/build.github.bash buildapks' will attempt to build everything https://github.com/BuildAPKs has to offer including appcompat-1.1.0.aar and system artifacts into to build once the first line in this file is changed to true.

The functionality of this option is being enhanced; and to improve this automation, see https://github.com/BuildAPKs/buildAPKs/issues and https://github.com/BuildAPKs/buildAPKs/pulls.

=========
Español

20211011 EN CONSTRUCCI�N!
BuildAPKs/buildAPKs#1
BuildAPKs/buildAPKs#2
BuildAPKs/buildAPKs#13
BuildAPKs/buildAPKs#24

Cambie la primera línea de este archivo a true para usar artefactos y bibliotecas durante la compilación; Cuando la primera línea de esto se cambia a true, BuildAPKs carga archivos de la estas carpetas dentro el proceso de compilación en directorios ubicados en:

LIBDIRPATH=("$JDR/lib" "$JDR/libraries" "$JDR/library" "$JDR/libs" "$RDR/var/cache/lib") # Adapte las rutas a los requisitos previos del proyecto en LIBDIRPATH. El directorio '~/buildAPKs/var/cache/lib' se crea para trabajar con bibliotecas. Las bibliotecas se pueden descargar desde estos enlaces web:
https://mvnrepository.com/artifact/androidx.appcompat
https://mvnrepository.com/artifact/com.android.support/appcompat-v7

Adapte las rutas a los requisitos previos del proyecto en 'LIBDIRPATH build.one.bash'. Puede llenar el directorio ~/buildAPKs/var/cache/lib desde el sitio https://mvnrepository.com web. Por ejemplo, este enlace https://mvnrepository.com/artifact/androidx.appcompat/appcompat contiene bibliotecas appcompat que puede descargar en ~/buildAPKs/var/cache/lib para compilar la inclusión.

El comando 'cd ~/buildAPKs/var/cache/lib && curl -OL https://maven.google.com/androidx/appcompat/appcompat/1.1.0/appcompat-1.1.0.aar && ~/buildAPKs/build.github.bash buildapks' intentará construir todo lo que https://github.com/BuildAPKs tiene para ofrecer, incluyendo appcompat-1.1.0.aar y artefactos del sistema para construir una vez que la primera línea de este archivo tenga ha sido reemplazado por true.
https://github.com/BuildAPKs tiene que ofrecer incluyendo appcompat-1.1.0.aar y artefactos del sistema en la compilación una vez que la primera línea de este archivo se cambia a true.

Se está mejorando la funcionalidad de esta opción; y para mejorar esta automatización, consulte https://github.com/BuildAPKs/buildAPKs/issues y https://github.com/BuildAPKs/buildAPKs/pulls.

===========
Française

20211011 EN CONSTRUCTION!
BuildAPKs/buildAPKs#1
BuildAPKs/buildAPKs#2
BuildAPKs/buildAPKs#13
BuildAPKs/buildAPKs#24

Modifiez la première ligne de ce fichier sur true pour utiliser des artefacts et des bibliothèques pendant la compilation; Lorsque la première ligne de cette est changé en true, BuildAPKs charge les fichiers de ceux-ci des dossiers dedans le processus de génération à partir de répertoires situés dans:

LIBDIRPATH=("$JDR/lib" "$JDR/libraries" "$JDR/library" "$JDR/libs" "$RDR/var/cache/lib") # Adaptez les chemins aux prérequis du projet dans LIBDIRPATH. Le répertoire '~/buildAPKs/var/cache/lib' est créé pour fonctionner avec les bibliothèques. Les bibliothèques peuvent être téléchargées à partir de ces liens Web:
https://mvnrepository.com/artifact/androidx.appcompat
https://mvnrepository.com/artifact/com.android.support/appcompat-v7

Adaptez les chemins aux prérequis du projet dans 'LIBDIRPATH build.one.bash'. Vous pouvez remplir le répertoire ~/buildAPKs/var/cache/lib à partir du site https://mvnrepository.com Web. Par exemple, ce lien https://mvnrepository.com/artifact/androidx.appcompat/appcompat contient des bibliothèques appcompat que vous pouvez télécharger dans ~/buildAPKs/var/cache/lib pour compiler l'inclusion.

La commande 'cd ~/buildAPKs/var/cache/lib && curl -OL https://maven.google.com/androidx/appcompat/appcompat/1.1.0/appcompat-1.1.0.aar && ~/buildAPKs/build.github.bash buildapks' tentera de construire tout ce que https://github.com/BuildAPKs veulent offrir avec appcompat-1.1.0.aar et des artefacts système dans la version une fois que la première ligne de ce fichier est remplacée par true.

La fonctionnalité de cette option est en cours d'amélioration; et pour améliorer cette automatisation, voir https://github.com/BuildAPKs/buildAPKs/issues et https://github.com/BuildAPKs/buildAPKs/pulls.

LIBAUTH EOF:�[0m

�[7;38;5;122m1 showing of files ~/buildAPKs/.conf/{GAUTH,LIBAUTH} remaining; Continuing...�[0m

�[1;1;38;5;108mBuild APKs (Android Package Kits) with scripts in ~/buildAPKs/scripts/{bash,ksh,sh,zsh}/build/:
build.apps.bash
build.bits.bash
build.browsers.bash
build.buildAPKs.bash
build.clocks.bash
build.compasses.bash
build.demos.bash
build.developers.tools.bash
build.entertainment.bash
build.flashlights.bash
build.games.bash
build.hellos.bash
build.in.dir.bash
build.keyboards.bash
build.launchers.bash
build.live.wallpapers.bash
build.native.bash
build.one.bash
build.one.bash0
build.samples.bash
build.top10.bash
build.tutorials.bash
build.widgets.bash
buildAll.bash
buildApplications.bash
buildFlashlights.bash
buildGames.bash
buildSamples.bash
build.dir.ksh
build.ksh
build.dir.sh
build.sh
build.dir.zsh
build.zsh�[0m

Build time: 8 seconds

�[1;1;38;5;118mCalculating for ~/buildAPKs/. This may take a while; Please be patient...�[0m

�[1;1;38;5;119mThe total increases as modules and projects are added; The build scripts add modules and projects and create APKs on device. Results for ~/buildAPKs/sources/:�[0m

4 possible.total
0 built.total

�[1;1;38;5;120mResults for ~/buildAPKs/sources/entertainment/:�[0m

4 possible
0 built

�[1;1;38;5;124mCould not tally all the results for builtAPKs: �[1;32mContinuing...�[0m

Please share information about new projects found at https://github.com/BuildAPKs/db.BuildAPKs/issues and https://github.com/BuildAPKs/db.BuildAPKs/pulls in order to assist in developing this project.

�[1;34mReleasing wake lock: �]2;Releasing wake lock: OK��[1;32mDONE�[0m
�[1;38;5;107mTo always have wake lock set to on: �[1;38;5;109mtouch ~/buildAPKs/var/lock/set.lock�[0m
�[?25h�[0m�[1;7;38;5;155msetup.buildAPKs.bash �[0m�[1;34m: �[1;32mDONE � �[0m

�[0m�]2; setup.buildAPKs.bash : DONE � ��[?25h�[0m

Copy link

github-actions bot commented Oct 8, 2024

Good issue; you are awesome person 😎 Keep up and follow to solve this issue.

@leejie123
Copy link
Author

hi,I am interested to try the project to build an apk,and I don't know whether it's successful built?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant