BuildAPKs / buildAPKs

Really quickly build APKs on handheld device (smartphone and tablet) in Amazon, Android, Chromebook, PRoot and Windows📲 See https://buildapks.github.io/docsBuildAPKs/setup to start building APKs.
https://buildapks.github.io/buildAPKs/
GNU General Public License v3.0
519 stars 56 forks source link

Struggling to compile specific app #32

Closed PeterKW closed 4 months ago

PeterKW commented 9 months ago

I found some of the scripts that compile an app. But I'm struggling how to swap out the addresses for the new app? Is there an easier way of compiling an Android app in Termux?

git clone https://github.com/JJTech0130/PNRGatewayClientV2

git clone https://github.com/sdrausty/buildAPKs
./buildAPKs/scripts/build/buildMyFirstAPKs.sh

Screenshot_20230924-014946.png

Screenshot_20230924-015511.png

Screenshot_20230924-020624.png

github-actions[bot] commented 9 months ago

Thank you for contributing to make this project better😎 Keep up and follow to solve this issue.

PeterKW commented 9 months ago

?

PeterKW commented 9 months ago
AndroidManifest.xml  build.one.bash  java  res
~/.../src/main $ ./build.one.bash

Beginning build in ~/PNRGatewayClientV2/app/src/main/:
APIServer.java
AndroidManifest.xml
MainActivity.java
PDUReceiver.java
SMSReceiver.java
activity_main.xml
activity_sms_send.xml
arrays.xml
backup_rules.xml
build.one.bash
colors.xml
data_extraction_rules.xml
ic_baseline_sim_card_24.xml
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.webp
ic_launcher.xml
ic_launcher_background.xml
ic_launcher_foreground.xml
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.webp
ic_launcher_round.xml
logo.png
root_preferences.xml
settings_activity.xml
strings.xml
themes.xml
themes.xml
aapt: started...
res/values/themes.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.MaterialComponents.DayNight.DarkActionBar'.

res/values/themes.xml:7: error: Error: No resource found that matches the given name: attr 'colorOnPrimary'.

res/values/themes.xml:11: error: Error: No resource found that matches the given name: attr 'colorOnSecondary'.

res/values/themes.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimary'.

res/values/themes.xml:6: error: Error: No resource found that matches the given name: attr 'colorPrimaryVariant'.

res/values/themes.xml:9: error: Error: No resource found that matches the given name: attr 'colorSecondary'.

res/values/themes.xml:10: error: Error: No resource found that matches the given name: attr 'colorSecondaryVariant'.

res/values-night/themes.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.MaterialComponents.DayNight.DarkActionBar'.

res/values-night/themes.xml:7: error: Error: No resource found that matches the given name: attr 'colorOnPrimary'.

res/values-night/themes.xml:11: error: Error: No resource found that matches the given name: attr 'colorOnSecondary'.

res/values-night/themes.xml:5: error: Error: No resource found that matches the given name: attr 'colorPrimary'.

res/values-night/themes.xml:6: error: Error: No resource found that matches the given name: attr 'colorPrimaryVariant'.

res/values-night/themes.xml:9: error: Error: No resource found that matches the given name: attr 'colorSecondary'.

res/values-night/themes.xml:10: error: Error: No resource found that matches the given name: attr 'colorSecondaryVariant'.

Signal generated aapt build.one.bash build.one.bash: EXITING...
buildAPKs signal 220 received by build.one.bash in /data/data/com.termux/files/home/PNRGatewayClientV2/app/src/main by build.one.bash.  More information in `/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.main.log` file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.main.log")" && VAR="$(grep -v \-\- <<< $VAR)" && head <<< $VAR && tail <<< $VAR
grep: /data/data/com.termux/files/home/buildAPKs/var/log/stnderr.main.log: No such file or directory
Completing tasks...
Completed tasks in ~/PNRGatewayClientV2/app/src/main/.

~/.../src/main $ ls
github-actions[bot] commented 4 months ago

old issue sanse activity message