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

Struggling to compile specific app #32

Closed
PeterKW opened this issue Sep 24, 2023 · 4 comments
Closed

Struggling to compile specific app #32

PeterKW opened this issue Sep 24, 2023 · 4 comments

Comments

@PeterKW
Copy link

PeterKW commented Sep 24, 2023

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
Copy link

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

@PeterKW
Copy link
Author

PeterKW commented Sep 24, 2023

?

@PeterKW
Copy link
Author

PeterKW commented Sep 24, 2023

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

Copy link

github-actions bot commented Feb 6, 2024

old issue sanse activity message

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

No branches or pull requests

1 participant