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

How add appcompat #28

Closed yyyyyy-0976 closed 1 year ago

yyyyyy-0976 commented 2 years ago

I add appcompat.arr and jar file in /data/data/com.termux/files/home/buildAPKs/var/cache/lib but it is still giving these Beginning build in ~/hello-jni/app/src/main/: AndroidManifest.xml BasePresenter.java CMakeLists.txt HelloJniActivity.java HelloJniMvpView.java HelloPresenter.java MvpView.java Presenter.java User.java activity_hello_jni.xml app-utils.c colors.xml dimens.xml dimens.xml hello-jni.c ic_launcher.png ic_launcher.png ic_launcher.png ic_launcher.png ic_launcher.png strings.xml styles.xml Loading artifacts and libraries into the compilation: Adding 2 artifacts and libraries from directory /data/data/com.termux/files/home/buildAPKs/var/cache/lib into build main :DONE aapt: started... res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

res/values/styles.xml:8: error: Error: No resource found that matches the given name: attr 'colorAccent'.

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

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

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/hello-jni/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 ~/hello-jni/app/src/main/.

SDRausty commented 2 years ago

https://github.com/agnostic-apollo/agnostic-apollo/issues/1

Anonymous2716 commented 2 years ago

This seems aapt issue.

github-actions[bot] commented 1 year ago

old issue sanse activity message