Git Product home page Git Product logo

sdrausty / buildapks Goto Github PK

View Code? Open in Web Editor NEW
333.0 30.0 71.0 3.96 MB

Really quickly build APKs on handheld device (smartphone or tablet) in Amazon, Android, Chromebook and Windows📲 See https://buildapks.github.io/docsBuildAPKs/setup to start building APKs.

Home Page: https://sdrausty.github.io/buildAPKs

License: Apache License 2.0

Shell 100.00%
android android-smartphone apk android-apk tablet android-application chromebook mobile-app opensource open-source

buildapks's Introduction

Androids be more than computers!

Not a building, nor kinescope TV box,

Not a notebook, nor laptop,

It is a small shiny palm held thing.

When is the holograph gonna sing?

by SDRausty


Climate Spiral

bau2

bau2 mit model scenario

USA liquid natural gas surplus

Liquid hydrogen and liquid natural gas container ship terminals for the EU! Are you familiar with R hydro thermal heating? Does the EU buy natural gas from Russia? Why? Would you rather be a little cooler, or watch WW3 ignite? Turn your gas heating off right now, please! Rubles for one more slavic genocide

geoform your nest

геоформировать свое гнездо

terraform your nest

терраформировать свое гнездо

I am very happy that I can try to terraform my crib, and you can attempt to terraform your crib too!

я очень счастлив, что могу попробуй терраформировать свою кроватку, и вы тоже можете попробовать терраформировать свою кроватку!

Letter from President Joe Biden, March 23 2022

20220325-biden-poland.jpg max1200.jpg The mass surrender of the Slavs to Ukraine is requested; join NATO, please.

в массовом порядке запросили массовую сдачу славян Украине; вступайте в НАТО, пожалуйста.

Before the war in the Ukrainian, President Volodymyr Zelensky paid regular visits to the front line in eastern Ukraine

Before the war in the Ukrainian, President Volodymyr Zelensky paid regular visits to the front line in eastern Ukraine

President Vladimir Putin has played with the nuclear war button much too much. This is why he is insane! Can we please help him and his country, the people of the Russian Federation?

Президент Владимир Путин слишком много играл с кнопкой ядерной войны. Вот почему он сошел с ума! Можем ли мы помочь ему и его стране, народу Российской Федерации?

Президент Владимир Путин слишком много играл с кнопкой. Он сумасшедший!

кухни на калошах

Russian_army_food_truck-ym6vJ7dC-QQ.mp4
The.Cranberries.-.Zombie.Official.Music.Video.-6Ejga4kJUts.mp4
-.24.2022.-7g5ZVwDqLRg.mp4

He wants his fuse to be lit for a post World War III. Он хочет, чтобы его фитиль загорелся для послезавтра Третьей мировой войны.

Он хочет, чтобы его фитиль загорелся для Третьей мировой войны.

ukraine_night_time_satellite_image

GOES16

GOES17


rouge Termux curators #2

everyone

A win win includes everyone as everybody wins.


I would like to know why Termux is asking for help, then bashes its' helpers by banning, deleting and minimizing contributor's work that Termux user's are seeking to use on their Android palmheld devices. How will Termux users find what they are seeking for when work contributed to Termux for Termux end users is gone?

> Why not run POV-Ray on your Android?

My first comment in this issue answers op's request, and it is minimized now. It seems that running povray was not possible on Android handheld until @koppi's request was answered by me. Granted, the answer is a nonnative Termux answer, but I still cannot phantom why answering op's question is considered off topic spam now, but not in 2017. This logic is mad:

It did not work = It works = SPAM = off topic

I felt that this topic is important enough to let upstream know too at https://github.com/POV-Ray/povray/issues/291, and it seems that upstream is not as eager to delete/minimize my hard effort/work with contributions as Termux curators are recently now.

The SDRausty account is now banned for years at Termux Gitter. I still do not know why; Can you please unban the SDRausty account at Termux Gitter please?

> No, a package that works with glib in proot does not mean that it works with Termux/android.

The reason TermuxArch exists is because of Termux user requests. Much of the work at TermuxArch is modifying the scripts without cracking/rooting Android.

> Pointing out that a package works in proot is off-topic in a package request issue like this one, so I disagree.

Does this answer imply that granting op's request via TermuxArch should NOT have been announced to the Termux community. Please keep in mind that finding a working povray in Termux PRoot took much time for it did NOT work in almost all PRoot solution is NOT effortless either. Finding a solution that works consistently and reliably requires very much effort and time. Rooting Android devices to use Termux seems to make absolutely no sense at all as privileged apps can run Android! Do you not agree @Grimler91?

> that the package in question was available from archlinux, which was frankly annoying

I do not find the topic that it did not work, but now it works annoying at all. Especially when it grants Termux user requests that seem to be met with applause except for Termux's applause and thanks, as in this topic here.

It is great that povray is finally available in native Termux. Contributing to this issue, and at https://github.com/POV-Ray/povray/issues/291 took much time. Finding a working povray solution took even more time and effort. A thank you was not expected. Neither was a ban.

>Pointing out that a package works in proot is off-topic

Trivializing precious hard work given to Termux is shamefull and finding my hard work that eventually led to povray's native integration minimized and deleted and more of this same behaviour at https://github.com/termux by Termux's curators while supurfulous topics are displayed up front, and in plain sight consuming time and detracting from the main topic, "does it work well on handheld without rooting Android?" only speaks of our team's integraty. Do you agree?

Why are all my comments minimized in this issue, and all across the board at https://github.com/termux suddenly minimized?

ANSWER: Were you asked to crack/break/root an Android smartphone via rooting an Android with a proprietary unknown source code Android APK by the current curators of Termux!?

THIS GITHUB ACCOUNT WAS ASKED BY TERMUX CURATORS TO CRACK/ROOT THEIR ANDROID MACHINE MANY TIMES DURING THE YEARS WHEN I HAD THOUGHT WE WERE WORKING TOGETHER WITH A COMMON GOAL IN MIND BY SOME THE CURRENT CURATORS OF TERMUX!


SHMEM+

session0 wae.bashChicago - 25 or 6 to 4 (Official Audio)-8A3HZvGN0qs.webm

session1 wae.bashChicago\ Transit\ Authority\ Beginnings-pWd3BvRw4IU.mpv

session2 wae.bashDoes\ Anybody\ Really\ Know\ What\ Time\ It\ Is-lzLbmOHTYcI.webm

session3 wae.bashSaturday\ in\ the\ Park-vL7Op9ZQ3E0.webm

session4 wae.bashSia\ -\ The\ Greatest-GKSRyLdjsPA.mpv 🎵 🎶

CTRL+\ can be used to restart plays as desired.


Playing in the Snowscape, January 2022

Service Duck Chester 2 and Service Dog Princess Playing in the Snowscape, January 2022

What is a service animal? A service animal should have a task that directly helps its handler in any way.

Isaiah 11:6 The wolf also shall dwell with the lamb, and the leopard shall lie down with the kid; and the calf and the young lion and the fatling together; and a little child shall lead them.

Isaiah 11:7 And the cow and the bear shall feed; their young ones shall lie down together: and the lion shall eat straw like the ox.

Isaiah 11:8 And the sucking child shall play on the hole of the asp, and the weaned child shall put his hand on the cockatrice' den.

Isaiah 11:9 They shall not hurt nor destroy in all my holy mountain: for the Earth shall be full of the knowledge of the LORD, as the waters cover the sea.

Luke 11:9 And I say unto you, Ask, and it shall be given you; seek, and ye shall find; knock, and it shall be opened unto you.

Luke 11:10 For every one that asketh receiveth; and he that seeketh findeth; and to him that knocketh it shall be opened.

Mark 16:14 Afterward he appeared unto the eleven as they sat at meat, and upbraided them with their unbelief and hardness of heart, because they believed not them which had seen him after he was risen.

Mark 16:15 And he said unto them, Go ye into all the world, and preach the gospel to every creature.

Mark 16:16 He that believeth and is baptized shall be saved; but he that believeth not shall be damned.

Mark 16:17 And these signs shall follow them that believe; In my name shall they cast out devils; they shall speak with new tongues;


USA liquid natural gas surplus

Does the EU buy natural gas from Russia? Why? Would you rather be a little cooler, or watch WW3 ignite? Turn your gas heating off, please!

geoform your nest

геоформировать свое гнездо

terraform your nest

терраформировать свое гнездо

I am very happy that I can try to terraform my crib, and you can too!

я очень счастлив, что могу попробуй терраформировать свою кроватку, и вы тоже можете!


mkdip ~/serviceanimals/{dog,duck,rabbit,turkey}

buildapks's People

Contributors

sdrausty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buildapks's Issues

Lets bring The power of Pascal and Pandroid bundle to yours wonderful tool

Dear Mr Rausty,
Lets allow Pascal users to create Pascal applications directly on Android devices by using PPCJVM, which will create Java classes and Apache Ant will create .dex files by using special Android SDK tool. This bundle is also capable to create truly native ARM or ARM64 Bit .so libraryes.
The author of The bundle use his bundle to create fully functioning apps for his programmers work.
What would be needed?
I Am afraid, that we will not have The chance to bring fully functioning Oracle Java Open JDK which will work for Termux. Editing source code of such complex tool would be too complex for AN programmers wolunteers around The world.
And I do not think, that Apache Ant will work without Java Open JDK.
We must use only Open JDK, because it is not legal to create Android apps even for personal purposes by using non Open Java JDK. This is also The reason why Android studio is shipped with Open JDK.
This project will not require graphical apps. My goal is to avoid using of Lazarus IDE. SOme of its parts do not support Proot environment. Its build in macro interpreter.
We only can make compilation script which will call FPC compiler. So I suggest you to work together by using yours excellent ArchLinux script. So We would had to use ArchLinux as A work environment.
No clean Termux.
Existing Open JDK can hang and can frooze The device. I Am writing about Open JDK for Termux.
Pandroid bundle is here:

https://github.com/zeljkoc/pandroid
Thank you for yours support.

seems broken

close - fixed , i guess it was set to "gh" and not "http" as i expected
still had to mess around a bit, but have all making now ...thx

$ ./buildMyFirstAPKs.sh
Already up to date.
Updating 4 additional components of ~/buildAPKs/:
Adding ~/buildAPKs/scripts/scripts/sh/shlibs...
Cloning into '/data/data/com.termux/files/home/buildAPKs/scripts/sh/shlibs'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.4]: errno=No route to host

fatal: clone of 'git://github.com/shlibs/shlibs.sh' into submodule path '/data/data/com.termux/files/home/buildAPKs/scripts/sh/shlibs' failed
Cannot add submodule ~/buildAPKs/scripts/scripts/sh/shlibs: Continuing...
Adding ~/buildAPKs/scripts/opt/db...
Cloning into '/data/data/com.termux/files/home/buildAPKs/opt/db'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.4]: errno=No route to host

fatal: clone of 'git://github.com/BuildAPKs/db.BuildAPKs' into submodule path '/data/data/com.termux/files/home/buildAPKs/opt/db' failed
Cannot add submodule ~/buildAPKs/scripts/opt/db: Continuing...
Adding ~/buildAPKs/scripts/scripts/bash/shlibs...
Cloning into '/data/data/com.termux/files/home/buildAPKs/scripts/bash/shlibs'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.4]: errno=No route to host

fatal: clone of 'git://github.com/shlibs/shlibs.bash' into submodule path '/data/data/com.termux/files/home/buildAPKs/scripts/bash/shlibs' failed
Cannot add submodule ~/buildAPKs/scripts/scripts/bash/shlibs: Continuing...
Adding ~/buildAPKs/scripts/opt/api/github...
Cloning into '/data/data/com.termux/files/home/buildAPKs/opt/api/github'...
fatal: unable to connect to github.com:
github.com[0: 140.82.113.4]: errno=No route to host

fatal: clone of 'git://github.com/BuildAPKs/buildAPKs.github' into submodule path '/data/data/com.termux/files/home/buildAPKs/opt/api/github' failed
Cannot add submodule ~/buildAPKs/scripts/opt/api/github: Continuing...
cp: cannot stat '/data/data/com.termux/files/home/buildAPKs/opt/db': No such file or directory

ERROR return value 1 received by buildMyFirstAPKs.sh ushlibs.bash buildMyFirstAPKs.sh trap.bash: Exiting due to error signal -r near or at line number 13 by cp with return value 1.,.
Signal 139 exit received by buildMyFirstAPKs.sh ushlibs.bash trap.bash: Exiting...

$ cd && git clone https://github.com/sdrausty/buildAPKs
Cloning into 'buildAPKs'...
remote: Enumerating objects: 197, done.
remote: Counting objects: 100% (197/197), done.
remote: Compressing objects: 100% (104/104), done.
remote: Total 5546 (delta 124), reused 144 (delta 73), pack-reused 5349
Receiving objects: 100% (5546/5546), 3.82 MiB | 2.57 MiB/s, done.
Resolving deltas: 100% (3384/3384), done.

BuildAPKs tots.bash EXIT: Signal 1 received by build.entertainment.bash!

$ ./buildAPKs/scripts/build/buildMyFirstAPK.sh
Beginning buildAPKs setup:
\e[1;38;5;117mCommand au enables rollback; Available at https://wae.github.io/au/ : Continuing...
Unknown command: 'aapt' (run 'pkg help' for usage information)
fatal: destination path 'buildAPKs' already exists and is not an empty directory.
Cannot update ~/buildAPKs prerequisites: Continuing...

Already up to date.

Activating wake lock: DONE

To always have wake lock set to on: touch ~/buildAPKs/lock/set.lock.

To update module ~/buildAPKs/sources/entertainment to the newest version remove the ~/buildAPKs/sources/entertainment/.git file and run build.entertainment.bash again.

Beginning build in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice
aapt: started...
aapt: done; ecj: begun...
134 build.one.bash
Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice

buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log file.

Running: tail -n 16 /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log

Aborted
Cloning into '/data/data/com.termux/files/home/buildAPKs/debs/ecj4.6'...
dpkg: warning: ignoring request to remove ecj which isn't installed
Aborted
Aborted
Aborted
Aborted
Aborted
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/bin’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/gen’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/obj’: No such file or directory
Aborted
Aborted
Aborted
Aborted
Aborted

Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice

Beginning build in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/Preview
aapt: started...
aapt: done; ecj: begun...
134 build.one.bash
Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/Preview

buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/Preview by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log file.

Running: tail -n 16 /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log

Cloning into '/data/data/com.termux/files/home/buildAPKs/debs/ecj4.6'...
dpkg: warning: ignoring request to remove ecj which isn't installed
Aborted
Aborted
Aborted
Aborted
Aborted
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/bin’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/gen’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/obj’: No such file or directory
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted

Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/Preview

Beginning build in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/ReadWrite
aapt: started...
aapt: done; ecj: begun...
134 build.one.bash
Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/ReadWrite

buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/ReadWrite by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log file.

Running: tail -n 16 /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log

dpkg: warning: ignoring request to remove ecj which isn't installed
Aborted
Aborted
Aborted
Aborted
Aborted
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/bin’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/gen’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/obj’: No such file or directory
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted

Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/ReadWrite

Beginning build in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/com.mobilepearls.flashlight
aapt: started...
aapt: done; ecj: begun...
134 build.one.bash
Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/com.mobilepearls.flashlight

buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/com.mobilepearls.flashlight by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log file.

Running: tail -n 16 /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log

Aborted
Aborted
Aborted
Aborted
Aborted
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/bin’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/gen’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/obj’: No such file or directory
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted

Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/com.mobilepearls.flashlight

Beginning build in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/uk.co.jarofgreen.JustADamnCompass
aapt: started...
aapt: done; ecj: begun...
134 build.one.bash
Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/uk.co.jarofgreen.JustADamnCompass

buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/uk.co.jarofgreen.JustADamnCompass by build.one.bash. More information in /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log file.

Running: tail -n 16 /data/data/com.termux/files/home/buildAPKs/log/stnderr.entertainment.log

Aborted
Aborted
Aborted
Aborted
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/bin’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/gen’: No such file or directory
find: ‘/data/data/com.termux/files/home/buildAPKs/sources/entertainment/PairOfDice/obj’: No such file or directory
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted
Aborted

Cleaning up...
Completed tasks in /data/data/com.termux/files/home/buildAPKs/sources/entertainment/uk.co.jarofgreen.JustADamnCompass

Calculating for ~/buildAPKs/. This may take a while; Please be patient.

The total increases as modules are added; The build scripts add modules and create APKs on device. Results for ~/buildAPKs/sources/:

5 possible.total
0 built.total

Results for ~/buildAPKs/sources/entertainment/:

5 possible
0 built
ls: cannot access '/data/data/com.termux/files/home/buildAPKs/cache/builtAPKs/entertainment20190923': No such file or directory
/data/data/com.termux/files/home/buildAPKs/scripts/bash/shlibs/tots.bash: line 60: 0

Releasing wake lock: DONE

To always have wake lock set to on: touch ~/buildAPKs/lock/set.lock.

BuildAPKs tots.bash ERROR: Generated script error 2 near or at line number 60 by wc! - 1 : syntax error: invalid arithmetic operator (error token is "Releasing wake lock: DONE

To always have wake lock set to on: touch ~/buildAPKs/lock/set.lock.

BuildAPKs tots.bash ERROR: Generated script error 2 near or at line number 60 by wc! - 1 ")

Build APKs (Android Package Kits) with scripts in ~/buildAPKs/scripts/bash/build/:

build.apps.bash
build.clocks.bash
build.compasses.bash
build.developers.tools.bash
build.dir.bash
build.entertainment.bash
build.games.bash
build.github.orgs.bash
build.github.topics.bash
build.github.users.bash
build.live.wallpapers.bash
build.one.bash
build.samples.bash
buildAll.bash
buildApplications.bash
buildBrowsers.bash
buildFlashlights.bash
buildGames.bash
buildSamples.bash
buildTop10.bash
buildTutorials.bash
buildWidgets.bash

Releasing wake lock: rm: cannot remove '/data/data/com.termux/files/home/buildAPKs/lock/wake.27104.lock': No such file or directory

Releasing wake lock: rm: cannot remove '/data/data/com.termux/files/home/buildAPKs/lock/wake.27104.lock': No such file or directory
BuildAPKs tots.bash EXIT: Signal 1 received by build.entertainment.bash!

Error building APK Neamar/KISS

Is it possible to build that APK?

https://github.com/Neamar/KISS

There is no error output to log file upon ERROR 160.

I git cloned the repo, and used build.in.dir.bash...

~/KISS $ ~/buildAPKs/scripts/bash/build/build.in.dir.bash
Activating wake lock: DONE                                    Searching for job directories in /data/data/com.termux/files/home/KISS: Please be patient...

Beginning build in ~/KISS/app/src/main/:
AddSearchProviderPreference.java                              AndroidManifest.xml
AnimatedListView.java
AppPojo.java
AppProvider.java
AppRecord.java                                                AppResult.java
ApplicationsSearcher.java
AutoFinishTransparentActivity.java
BlockableListView.java
BottomPullEffectView.java
Calculator.java
CalculatorProvider.java
CallResult.java
ClipboardUtils.java
ColorPickerDialog.java
ColorPickerPalette.java
ColorPickerSwatch.java
ColorPreference.java
ColorStateDrawable.java
ContactsPojo.java
ContactsProvider.java
ContactsResult.java
CustomIconDialog.java
DB.java
DBHelper.java
DataHandler.java
DefaultLauncherPreference.java
DrawableUtils.java
DummyActivity.java
ExcludePreferenceScreen.java
ExperienceTweaks.java
ExportSettingsPreference.java
Favorites.java
Forwarder.java
ForwarderManager.java
FreezeHistorySwitch.java
FuzzyScore.java
GoogleCalendarIcon.java
HistorySearcher.java
IProvider.java
IconPack.java
IconPackCache.java
IconPackXML.java
IconsHandler.java
ImportSettingsPreference.java
ImprovedQuickContactBadge.java
IncomingCallHandler.java
IncomingCallScreeningService.java
IntSequenceBuilder.java
InterfaceTweaks.java
KeyboardScrollHider.java
KissApplication.java
Kustom5SecsProvider.java
LauncherAppsCallback.java
ListPopup.java
LiveWallpaper.java
LoadAppPojos.java
LoadContactsPojos.java
LoadPojos.java
LoadShortcutsPojos.java
LocaleChangedReceiver.java
LockAccessibilityService.java
MainActivity.java
NameComparator.java
Notification.java
NotificationListener.java
NotificationPreference.java
NullSearcher.java
OreoShortcuts.java
PackageAddedRemovedHandler.java
PackageManagerUtils.java
Permission.java
PhoneNormalizer.java
PhonePojo.java
PhoneProvider.java
PhoneResult.java
PickAppWidgetActivity.java
Pojo.java
PojoWithTagSearcher.java                                      PojoWithTags.java
PreferenceScreenHelper.java                                   ProfileChangedHandler.java                                    Provider.java                                                 QueryInterface.java                                           QuerySearcher.java
RecordAdapter.java
RelevanceComparator.java                                      ResetExcludedAppShortcutsPreference.java                      ResetExcludedAppsPreference.java                              ResetExcludedFromHistoryAppsPreference.java
ResetFavoritesPreference.java                                 ResetPreference.java                                          ResetSearchProvidersPreference.java
ResetShortcutsPreference.java
RestartPreference.java
Result.java
Result.java                                                   ReversedNameComparator.java                                   RootHandler.java
RootModeSwitch.java
SaveAllOreoShortcutsAsync.java                                SaveSingleOreoShortcutAsync.java
SearchEditText.java
SearchPojo.java                                               SearchProvider.java                                           SearchResult.java
Searcher.java
SettingPojo.java
SettingsActivity.java                                         SettingsProvider.java
SettingsResult.java
ShapedContactBadge.java                                       ShortcutPojo.java                                             ShortcutRecord.java
ShortcutUtil.java
ShortcutsProvider.java                                        ShortcutsResult.java                                          ShuntingYard.java
SimpleProvider.java
SpaceTokenizer.java                                           StringNormalizer.java                                         SwitchPreference.java
SystemIconPack.java
SystemUiVisibilityHelper.java                                 TagDummyPojo.java                                             TagDummyResult.java
TagsHandler.java
TagsMenu.java
TagsProvider.java
TagsSearcher.java                                             Tokenizer.java
UIColors.java
URIUtils.java
URLUtils.java                                                 UntaggedSearcher.java
UserHandle.java
Utilities.java
ValuedHistoryRecord.java
ViewGroupUtils.java
WidgetHost.java
WidgetView.java
Widgets.java
arrays.xml
arrays.xml
arrays.xml
attrs.xml
backup_descriptor.xml
bools.xml
bools.xml
call.png
call.png
clear_dark.png
clear_dark.png
color_picker_dialog.xml
color_picker_swatch.xml
color_picker_swatch.xml
colors.xml
custom_icon_dialog.xml
custom_icon_item.xml
custom_icon_quick.xml
data_extraction_rules.xml
dialog_background.xml
dimens.xml
dots.png
dots.png
dots.xml
favorite_item.xml
favorite_tag.xml
ic_colorpicker_swatch_selected.png
ic_colorpicker_swatch_selected.png
ic_contact.png
ic_contact.png
ic_contact.png
ic_contact.png
ic_contact.xml
ic_contact_background.xml
ic_contact_foreground.xml
ic_contact_monochrome.xml
ic_functions.png
ic_launcher.png
ic_launcher.png
ic_launcher.png
ic_launcher.png
ic_launcher_white.png                                         ic_launcher_white.png
ic_message.png                                                ic_message.png                                                ic_phone.png                                                  ic_phone.png                                                  ic_public.png
ic_public.png
item_app.xml                                                  item_contact.xml                                              item_phone.xml                                                item_search.xml
item_setting.xml                                              item_shortcut.xml                                             list_separator_dark.xml
list_separator_light.xml
locales_config.xml
lock_accessibility_service_config.xml
main.xml                                                      main_empty.xml                                                main_kissbar.xml
menu_main.xml
menu_settings.xml                                             menu_widget.xml
notification_dot.xml
popup_divider.xml                                             popup_in_bottom.xml                                           popup_in_top.xml
popup_list_item.xml
popup_out.xml                                                 popup_title.xml                                               pref_color.xml
preferences.xml
rename_dialog.xml
rounded_kiss_bar.xml                                          rounded_result_layout.xml                                     rounded_result_layout_pre21_amoled.xml
rounded_result_layout_pre21_dark.xml
rounded_result_layout_pre21_light.xml                         rounded_result_layout_pre21_semi_trans_dark.xml
rounded_result_layout_pre21_semi_trans_light.xml
rounded_search_bar.xml                                        rounded_search_bar_pre21_amoled.xml
rounded_search_bar_pre21_dark.xml
rounded_search_bar_pre21_light.xml                            rounded_search_bar_pre21_semi_trans_dark.xml
rounded_search_bar_pre21_semi_trans_light.xml
search.png
search.png
setting_accessibility.png                                     setting_airplane.png
setting_airplane.png
setting_apps.png
setting_apps.png                                              setting_battery.png
setting_battery.png
setting_dev.png
setting_info.png
setting_info.png
setting_info_white.xml
setting_nfc.png
setting_nfc.png
setting_storage.png
setting_tethering.png
setting_tethering.png
setting_wifi.png
setting_wifi.png
strings.xml
strings.xml                                                   strings.xml
strings.xml                                                   strings.xml                                                   strings.xml
strings.xml
strings.xml
strings.xml
strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml
strings.xml
strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml
strings.xml
strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml
strings.xml                                                   strings.xml
strings.xml
strings.xml                                                   strings.xml                                                   strings.xml
strings.xml
strings.xml                                                   strings.xml                                                   strings.xml
strings.xml                                                   strings.xml                                                   strings.xml
strings.xml                                                   strings.xml                                                   strings.xml
strings.xml                                                   strings.xml
strings.xml                                                   strings.xml                                                   strings.xml                                                   strings.xml                                                   styles.xml                                                    tags_dialog.xml                                               themes.xml
themes.xml                                                    widget_picker.xml                                             widget_picker_item.xml                                        widget_picker_item_title.xml                                  zerostate_burger.png                                          zerostate_burger.png                                          zerostate_kiss.png                                            zerostate_kiss.png
zerostate_search.png                                          zerostate_search.png
buildAPKs build.one.bash WARNING:  ERROR 160 received by build.one.bash!                                                    buildAPKs build.one.bash build.one.bash ERROR:  Signal 160 received!  More information in `/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.in.dir.KISS.log` file.
Completing tasks...
Completed tasks in ~/KISS/app/src/main/.
                                                              buildAPKs signal 160 received by build.one.bash in /data/data/com.termux/files/home/KISS/app/src/main by build.one.bash.  More information in `/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.in.dir.KISS.log` file.

Running: VAR="$(grep -C 2 -ie error -ie errors "/data/data/com.termux/files/home/buildAPKs/var/log/stnderr.in.dir.KISS.log")" && VAR="$(grep -v \-\- <<< $VAR)" && head <<< $VAR && tail <<< $VAR                                                           Completing tasks...
Completed tasks in ~/KISS/app/src/main/.                      
                                                              Build time: 2 seconds                                                                                                       Releasing wake lock: DONE
To always have wake lock set to on: touch ~/buildAPKs/var/lock/set.lock                                                     ~/KISS $ cat ~/buildAPKs/var/log/stnderr.in.dir.KISS.log
~/KISS $                                                      ~/KISS $

Add an external jar dependency?

Hey there, i just discovered this yesterday and its nice but I'm stuck here, how would you add an external jar dependency in this case i want to use OkHttp

I downloaded okhttp.jar and its dependency okio.jar

What would i need to modify in buildOne.sh to link this jar files with it and use it.

Thanks.

appcompat not working

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/.

Building APK

Does this software only work when a application has been written in Java on Android or can I use any of the development environments in Termux?

Problem with buildMyFirstAPK.sh

File ./src/com/mobilepearls/flashlight/AboutActivity.java                                             ./src/com/mobilepearls/flashlight/FlashlightActivity.java                                             ./gen/com/mobilepearls/flashlight/R.java is missingFile ./gen/uk/co/jarofgreen/JustADamnCompass/R.java./src/uk/co/jarofgreen/JustADamnCompass/AboutActivity.java                                            ./src/uk/co/jarofgreen/JustADamnCompass/MainActivity.java is missing                                  find: ‘./Just-A-Damn-Compass/gen’: No such file or directory                                          File ./src/com/commonsware/android/appwidget/dice/AppWidget.java                                      ./src/com/commonsware/android/appwidget/dice/PairOfDiceActivity.java                                  ./gen/com/commonsware/android/appwidget/dice/R.java is missing                                        :

Errors building

I'm getting errors building these APKs. I tried building prism, 16-bit-clock, cw-android, Just-a-damn-compass, cowsay-android, moon and abstract-art. All giving me similar errors. I am unable to build any APKs.

Architecture: Aarch64
OS: Android 7.0

_ ./buildAPKs/buildMyFirstAKPinTermux.sh
aapt begun!
Configurations:
 (default)
 ldpi-v4
 mdpi-v4
 hdpi-v4

Files:
  drawable/concavelens.png
    Src: () ./res/drawable/concavelens.png
  drawable/concavelensic.png
    Src: () ./res/drawable/concavelensic.png
  drawable/concavemirror.png
    Src: () ./res/drawable/concavemirror.png
  drawable/concavemirroric.png
    Src: () ./res/drawable/concavemirroric.png
  drawable/convexlens.png
    Src: () ./res/drawable/convexlens.png
  drawable/convexlensic.png
    Src: () ./res/drawable/convexlensic.png
  drawable/convexmirror.png
    Src: () ./res/drawable/convexmirror.png
  drawable/convexmirroric.png
    Src: () ./res/drawable/convexmirroric.png
  drawable/feather.png
    Src: () ./res/drawable/feather.png
  drawable/feathermirr.png
    Src: () ./res/drawable/feathermirr.png
  drawable/ghost.png
    Src: () ./res/drawable/ghost.png
  drawable/ic_launcher.png
    Src: (ldpi-v4) ./res/drawable-ldpi/ic_launcher.png
    Src: (mdpi-v4) ./res/drawable-mdpi/ic_launcher.png
    Src: (hdpi-v4) ./res/drawable-hdpi/ic_launcher.png
  drawable/microscope.png
    Src: () ./res/drawable/microscope.png
  drawable/prism_tab.xml
    Src: () ./res/drawable/prism_tab.xml
  drawable/prism_tab_grey.png
    Src: () ./res/drawable/prism_tab_grey.png
  drawable/prism_tab_yellow.png
    Src: () ./res/drawable/prism_tab_yellow.png
  drawable/telescope.png
    Src: () ./res/drawable/telescope.png
  layout/help.xml
    Src: () ./res/layout/help.xml
  layout/main.xml
    Src: () ./res/layout/main.xml
  layout/microscope.xml
    Src: () ./res/layout/microscope.xml
  layout/other.xml
    Src: () ./res/layout/other.xml
  layout/prism.xml
    Src: () ./res/layout/prism.xml
  layout/telescope.xml
    Src: () ./res/layout/telescope.xml
  raw/documentation.html
    Src: () ./res/raw/documentation.html
  values/strings.xml
    Src: () ./res/values/strings.xml
  AndroidManifest.xml
    Src: () ./AndroidManifest.xml

Resource Dirs:
  Type drawable
    drawable/concavelens.png
      Src: () ./res/drawable/concavelens.png
    drawable/concavelensic.png
      Src: () ./res/drawable/concavelensic.png
    drawable/concavemirror.png
      Src: () ./res/drawable/concavemirror.png
    drawable/concavemirroric.png
      Src: () ./res/drawable/concavemirroric.png
    drawable/convexlens.png
      Src: () ./res/drawable/convexlens.png
    drawable/convexlensic.png
      Src: () ./res/drawable/convexlensic.png
    drawable/convexmirror.png
      Src: () ./res/drawable/convexmirror.png
    drawable/convexmirroric.png
      Src: () ./res/drawable/convexmirroric.png
    drawable/feather.png
      Src: () ./res/drawable/feather.png
    drawable/feathermirr.png
      Src: () ./res/drawable/feathermirr.png
    drawable/ghost.png
      Src: () ./res/drawable/ghost.png
    drawable/ic_launcher.png
      Src: (ldpi-v4) ./res/drawable-ldpi/ic_launcher.png
      Src: (mdpi-v4) ./res/drawable-mdpi/ic_launcher.png
      Src: (hdpi-v4) ./res/drawable-hdpi/ic_launcher.png
    drawable/microscope.png
      Src: () ./res/drawable/microscope.png
    drawable/prism_tab.xml
      Src: () ./res/drawable/prism_tab.xml
    drawable/prism_tab_grey.png
      Src: () ./res/drawable/prism_tab_grey.png
    drawable/prism_tab_yellow.png
      Src: () ./res/drawable/prism_tab_yellow.png
    drawable/telescope.png
      Src: () ./res/drawable/telescope.png
  Type layout
    layout/help.xml
      Src: () ./res/layout/help.xml
    layout/main.xml
      Src: () ./res/layout/main.xml
    layout/microscope.xml
      Src: () ./res/layout/microscope.xml
    layout/other.xml
      Src: () ./res/layout/other.xml
    layout/prism.xml
      Src: () ./res/layout/prism.xml
    layout/telescope.xml
      Src: () ./res/layout/telescope.xml
  Type raw
    raw/documentation.html
      Src: () ./res/raw/documentation.html
  Type values
    values/strings.xml
      Src: () ./res/values/strings.xml
Including resources from package: /data/data/com.termux/files/usr/share/aapt/android.jar
Including resources from package: /data/data/com.termux/files/usr/share/java/android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
    (new resource id concavelens from ./res/drawable/concavelens.png)
    (new resource id concavelensic from ./res/drawable/concavelensic.png)
    (new resource id concavemirror from ./res/drawable/concavemirror.png)
    (new resource id concavemirroric from ./res/drawable/concavemirroric.png)
    (new resource id convexlens from ./res/drawable/convexlens.png)
    (new resource id convexlensic from ./res/drawable/convexlensic.png)
    (new resource id convexmirror from ./res/drawable/convexmirror.png)
    (new resource id convexmirroric from ./res/drawable/convexmirroric.png)
    (new resource id feather from ./res/drawable/feather.png)
    (new resource id feathermirr from ./res/drawable/feathermirr.png)
    (new resource id ghost from ./res/drawable/ghost.png)
    (new resource id ic_launcher from ./res/drawable-ldpi/ic_launcher.png)
    (new resource id ic_launcher from ./res/drawable-mdpi/ic_launcher.png)
    (new resource id ic_launcher from ./res/drawable-hdpi/ic_launcher.png)
    (new resource id microscope from ./res/drawable/microscope.png)
    (new resource id prism_tab from ./res/drawable/prism_tab.xml)
    (new resource id prism_tab_grey from ./res/drawable/prism_tab_grey.png)
    (new resource id prism_tab_yellow from ./res/drawable/prism_tab_yellow.png)
    (new resource id telescope from ./res/drawable/telescope.png)
    (new resource id help from ./res/layout/help.xml)
    (new resource id main from ./res/layout/main.xml)
    (new resource id microscope from ./res/layout/microscope.xml)
    (new resource id other from ./res/layout/other.xml)
    (new resource id prism from ./res/layout/prism.xml)
    (new resource id telescope from ./res/layout/telescope.xml)
    (new resource id documentation from ./res/raw/documentation.html)
  Writing symbols for class R.
ecj begun!
incorrect classpath: ./app/src
----------
1. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 3)
        import android.app.TabActivity;
               ^^^^^^^^^^^^^^^^^^^^^^^
The type TabActivity is deprecated
----------
2. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 31)
        public class An_StartActivity extends TabActivity {
                                              ^^^^^^^^^^^
The type TabActivity is deprecated
----------
3. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 36)
        super.onCreate(savedInstanceState);
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method onCreate(Bundle) from the type ActivityGroup is deprecated
----------
4. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 40)
        TabHost tabHost = getTabHost();
                          ^^^^^^^^^^^^
The method getTabHost() from the type TabActivity is deprecated
----------
5. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 48)
        .setIndicator("", res.getDrawable(R.drawable.concavelensic))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
6. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 55)
        .setIndicator("", res.getDrawable(R.drawable.convexlensic))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
7. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 62)
        .setIndicator("", res.getDrawable(R.drawable.concavemirroric))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
8. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 69)
        .setIndicator("", res.getDrawable(R.drawable.convexmirroric))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
9. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 75)
        res.getDrawable(R.drawable.prism_tab)).setContent(intent);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
10. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/An_StartActivity.java (at line 94)
        res.getDrawable(android.R.drawable.ic_dialog_info)).setContent(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
----------
11. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/Physics.java (at line 119)
        switch (state) {
                ^^^^^
The enum constant NOT_SET needs a corresponding case label in this enum switch on Reflection
----------
----------
12. WARNING in /data/data/com.termux/files/home/buildAPKs/sourceOfAPKsBuiltOnDevice/prism/src/org/us/andriod/Rays.java (at line 103)
        return getResources().getDrawable(image);
                              ^^^^^^^^^^^^^^^^^^
The method getDrawable(int) from the type Resources is deprecated
----------
12 problems (12 warnings)
dx begun!
processing ./obj/./org/us/andriod/An_StartActivity.class...
processing ./obj/./org/us/andriod/Microscope.class...
processing ./obj/./org/us/andriod/MicroscopeActivity.class...
processing ./obj/./org/us/andriod/OtherActivity.class...
processing ./obj/./org/us/andriod/Physics.class...
processing ./obj/./org/us/andriod/Physics$OObject.class...
processing ./obj/./org/us/andriod/Prism.class...
processing ./obj/./org/us/andriod/PrismActivity.class...
processing ./obj/./org/us/andriod/PrismActivity$1.class...
processing ./obj/./org/us/andriod/PrismActivity$ProgressAdapter.class...
processing ./obj/./org/us/andriod/R.class...
processing ./obj/./org/us/andriod/R$array.class...
processing ./obj/./org/us/andriod/R$attr.class...
processing ./obj/./org/us/andriod/R$drawable.class...
processing ./obj/./org/us/andriod/R$id.class...
processing ./obj/./org/us/andriod/R$layout.class...
processing ./obj/./org/us/andriod/R$raw.class...
processing ./obj/./org/us/andriod/R$string.class...
processing ./obj/./org/us/andriod/Rays.class...
processing ./obj/./org/us/andriod/Reflection.class...
processing ./obj/./org/us/andriod/Telescope.class...
processing ./obj/./org/us/andriod/TelescopeActivity.class...
processing ./obj/./org/us/andriod/ViewActivity.class...
Making the apk.
Found 0 custom asset files in ./assets
Configurations:
 (default)
 ldpi-v4
 mdpi-v4
 hdpi-v4

Files:
  drawable/concavelens.png
    Src: () ./res/drawable/concavelens.png
  drawable/concavelensic.png
    Src: () ./res/drawable/concavelensic.png
  drawable/concavemirror.png
    Src: () ./res/drawable/concavemirror.png
  drawable/concavemirroric.png
    Src: () ./res/drawable/concavemirroric.png
  drawable/convexlens.png
    Src: () ./res/drawable/convexlens.png
  drawable/convexlensic.png
    Src: () ./res/drawable/convexlensic.png
  drawable/convexmirror.png
    Src: () ./res/drawable/convexmirror.png
  drawable/convexmirroric.png
    Src: () ./res/drawable/convexmirroric.png
  drawable/feather.png
    Src: () ./res/drawable/feather.png
  drawable/feathermirr.png
    Src: () ./res/drawable/feathermirr.png
  drawable/ghost.png
    Src: () ./res/drawable/ghost.png
  drawable/ic_launcher.png
    Src: (ldpi-v4) ./res/drawable-ldpi/ic_launcher.png
    Src: (mdpi-v4) ./res/drawable-mdpi/ic_launcher.png
    Src: (hdpi-v4) ./res/drawable-hdpi/ic_launcher.png
  drawable/microscope.png
    Src: () ./res/drawable/microscope.png
  drawable/prism_tab.xml
    Src: () ./res/drawable/prism_tab.xml
  drawable/prism_tab_grey.png
    Src: () ./res/drawable/prism_tab_grey.png
  drawable/prism_tab_yellow.png
    Src: () ./res/drawable/prism_tab_yellow.png
  drawable/telescope.png
    Src: () ./res/drawable/telescope.png
  layout/help.xml
    Src: () ./res/layout/help.xml
  layout/main.xml
    Src: () ./res/layout/main.xml
  layout/microscope.xml
    Src: () ./res/layout/microscope.xml
  layout/other.xml
    Src: () ./res/layout/other.xml
  layout/prism.xml
    Src: () ./res/layout/prism.xml
  layout/telescope.xml
    Src: () ./res/layout/telescope.xml
  raw/documentation.html
    Src: () ./res/raw/documentation.html
  values/strings.xml
    Src: () ./res/values/strings.xml
  AndroidManifest.xml
    Src: () ./AndroidManifest.xml

Resource Dirs:
  Type drawable
    drawable/concavelens.png
      Src: () ./res/drawable/concavelens.png
    drawable/concavelensic.png
      Src: () ./res/drawable/concavelensic.png
    drawable/concavemirror.png
      Src: () ./res/drawable/concavemirror.png
    drawable/concavemirroric.png
      Src: () ./res/drawable/concavemirroric.png
    drawable/convexlens.png
      Src: () ./res/drawable/convexlens.png
    drawable/convexlensic.png
      Src: () ./res/drawable/convexlensic.png
    drawable/convexmirror.png
      Src: () ./res/drawable/convexmirror.png
    drawable/convexmirroric.png
      Src: () ./res/drawable/convexmirroric.png
    drawable/feather.png
      Src: () ./res/drawable/feather.png
    drawable/feathermirr.png
      Src: () ./res/drawable/feathermirr.png
    drawable/ghost.png
      Src: () ./res/drawable/ghost.png
    drawable/ic_launcher.png
      Src: (ldpi-v4) ./res/drawable-ldpi/ic_launcher.png
      Src: (mdpi-v4) ./res/drawable-mdpi/ic_launcher.png
      Src: (hdpi-v4) ./res/drawable-hdpi/ic_launcher.png
    drawable/microscope.png
      Src: () ./res/drawable/microscope.png
    drawable/prism_tab.xml
      Src: () ./res/drawable/prism_tab.xml
    drawable/prism_tab_grey.png
      Src: () ./res/drawable/prism_tab_grey.png
    drawable/prism_tab_yellow.png
      Src: () ./res/drawable/prism_tab_yellow.png
    drawable/telescope.png
      Src: () ./res/drawable/telescope.png
  Type layout
    layout/help.xml
      Src: () ./res/layout/help.xml
    layout/main.xml
      Src: () ./res/layout/main.xml
    layout/microscope.xml
      Src: () ./res/layout/microscope.xml
    layout/other.xml
      Src: () ./res/layout/other.xml
    layout/prism.xml
      Src: () ./res/layout/prism.xml
    layout/telescope.xml
      Src: () ./res/layout/telescope.xml
  Type raw
    raw/documentation.html
      Src: () ./res/raw/documentation.html
  Type values
    values/strings.xml
      Src: () ./res/values/strings.xml
Including resources from package: /data/data/com.termux/files/usr/share/aapt/android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for transition
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: ./res/drawable/concavelens.png
Processing image: ./res/drawable/concavelensic.png
Processing image: ./res/drawable/concavemirror.png
    (processed image ./res/drawable/concavelensic.png: 91% size of source)
Processing image: ./res/drawable/concavemirroric.png
    (processed image ./res/drawable/concavemirroric.png: 89% size of source)
Processing image: ./res/drawable/convexlens.png
Processing image: ./res/drawable/convexlensic.png
    (processed image ./res/drawable/convexlensic.png: 90% size of source)
Processing image: ./res/drawable/convexmirror.png
    (processed image ./res/drawable/concavemirror.png: 97% size of source)
Processing image: ./res/drawable/convexmirroric.png
    (processed image ./res/drawable/convexlens.png: 94% size of source)
Processing image: ./res/drawable/feather.png
    (processed image ./res/drawable/convexmirroric.png: 90% size of source)
Processing image: ./res/drawable/feathermirr.png
    (processed image ./res/drawable/convexmirror.png: 97% size of source)
Processing image: ./res/drawable/ghost.png
    (processed image ./res/drawable/ghost.png: 94% size of source)
Processing image: ./res/drawable-ldpi/ic_launcher.png
    (processed image ./res/drawable/feather.png: 99% size of source)
Processing image: ./res/drawable-mdpi/ic_launcher.png
    (processed image ./res/drawable/concavelens.png: 95% size of source)
    (processed image ./res/drawable-ldpi/ic_launcher.png: 97% size of source)
Processing image: ./res/drawable/microscope.png
Processing image: ./res/drawable-hdpi/ic_launcher.png
    (processed image ./res/drawable-mdpi/ic_launcher.png: 98% size of source)
Processing image: ./res/drawable/prism_tab_grey.png
    (processed image ./res/drawable/feathermirr.png: 99% size of source)
Processing image: ./res/drawable/prism_tab_yellow.png
    (processed image ./res/drawable/microscope.png: 98% size of source)
Processing image: ./res/drawable/telescope.png
    (processed image ./res/drawable/prism_tab_yellow.png: 98% size of source)
    (processed image ./res/drawable/telescope.png: 95% size of source)
    (processed image ./res/drawable-hdpi/ic_launcher.png: 98% size of source)
    (processed image ./res/drawable/prism_tab_grey.png: 96% size of source)
    (new resource id concavelens from drawable/concavelens.png #generated)
    (new resource id concavelensic from drawable/concavelensic.png #generated)
    (new resource id concavemirror from drawable/concavemirror.png #generated)
    (new resource id concavemirroric from drawable/concavemirroric.png #generated)
    (new resource id convexlens from drawable/convexlens.png #generated)
    (new resource id convexlensic from drawable/convexlensic.png #generated)
    (new resource id convexmirror from drawable/convexmirror.png #generated)
    (new resource id convexmirroric from drawable/convexmirroric.png #generated)
    (new resource id feather from drawable/feather.png #generated)
    (new resource id feathermirr from drawable/feathermirr.png #generated)
    (new resource id ghost from drawable/ghost.png #generated)
    (new resource id ic_launcher from ldpi-v4/drawable/ic_launcher.png #generated)
    (new resource id ic_launcher from mdpi-v4/drawable/ic_launcher.png #generated)
    (new resource id ic_launcher from hdpi-v4/drawable/ic_launcher.png #generated)
    (new resource id microscope from drawable/microscope.png #generated)
    (new resource id prism_tab from ./res/drawable/prism_tab.xml)
    (new resource id prism_tab_grey from drawable/prism_tab_grey.png #generated)
    (new resource id prism_tab_yellow from drawable/prism_tab_yellow.png #generated)
    (new resource id telescope from drawable/telescope.png #generated)
    (new resource id help from ./res/layout/help.xml)
    (new resource id main from ./res/layout/main.xml)
    (new resource id microscope from ./res/layout/microscope.xml)
    (new resource id other from ./res/layout/other.xml)
    (new resource id prism from ./res/layout/prism.xml)
    (new resource id telescope from ./res/layout/telescope.xml)
    (new resource id documentation from ./res/raw/documentation.html)
./res/layout/help.xml:2: error: No resource identifier found for attribute 'id' in package 'android'

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

./res/layout/help.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 '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:6: error: No resource identifier found for attribute 'orientation' in package 'android'

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

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

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

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

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

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

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

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

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

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

./res/layout/main.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/tabhost').

./res/layout/main.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/tabs').

./res/layout/main.xml:15: error: Error: No resource found that matches the given name (at 'id' with value '@android:id/tabcontent').

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

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

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

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

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

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

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

./res/layout/microscope.xml:14: error: No resource identifier found for attribute 'id' in package 'android'

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

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

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

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

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

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

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

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

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

./res/layout/other.xml:14: error: No resource identifier found for attribute 'id' in package 'android'

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

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

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

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

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

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

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

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

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

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

./res/layout/prism.xml:14: error: No resource identifier found for attribute 'id' in package 'android'

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

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

./res/layout/prism.xml:14: error: No resource identifier found for attribute 'progress' in package 'android'

./res/layout/prism.xml:20: error: No resource identifier found for attribute 'id' in package 'android'

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

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

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

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

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

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

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

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

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

./res/layout/telescope.xml:14: error: No resource identifier found for attribute 'id' in package 'android'

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

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

./res/drawable/prism_tab.xml:4: error: No resource identifier found for attribute 'drawable' in package 'android'

./res/drawable/prism_tab.xml:4: error: No resource identifier found for attribute 'state_selected' in package 'android'

./res/drawable/prism_tab.xml:7: error: No resource identifier found for attribute 'drawable' in package 'android'

lets try to build Pandroid projects

Pandroid is special Pascal language bundle available for Linux and Windows. The advanced programmer uses it to make special database application for his professional working. He has brought The possibility to code in Pascal programming language with no need to work with A separate .xml files to create GUI on The screen. I will upload A sample project, which will only create empty window. But it is A good Pandroid project template. My plan is very realistic. I would like to combine Bash script with special GTK based dialog system to create helper script which would combine yours apk builder with Pandroid.
The following experiment will begin on my flat now.
I will download Pandroid bundle for Linux not for Windows, since bitecode of SDK build tools is very probably different between SDK for Windows and Linux.
Issues are as follows.
Apache ant used to create .apk packages from Pandroid project do not support newer Java than version 7. It is known limitation of The Apache ant and can not be simply solved, because even core developers of Apache Ant do not try to solve this issue.
Unfortunately, it is very unlikely, that someone will obtain Openjdk 7.0 source and would try to make it so stable and reliable from Termux without Proot like todays Open jdk 11.0 is available. It seems to Me, that someone has made it very stable and that someone had to modify its source code.

So what about triing to replace Apache Ant by using APk builder script to build .dex and apk package?

Project is available here.
https://github.com/zeljkoc/Pandroid
git clone https://github.com/zeljkoc/pandroid.git
And I will upload shell script to build .apk as soon as possible. We need to find out how to replace Apache ant by routine used by MR Rausty build apk routines if it will be possible to achieve this goal.

I will be able to use standard Android text editors and I would build .apk by using build apk from Termux.

I Am attaching build.sh and .xml files related to Apache Ant. Author has used Java version 1.6.
build_debug_apk.sh.txt

Sure, remove .txt from The file extension. I need to bypass Github routines.
build.xml.txt

All example projects can be found in The Examples folder. Project as Scrollview is ideal for testing.

Cannot change script permission on unrooted Nexus 6P

Hello,

I am very glad to discover buildAPKs and am attempting to deploy it. I am very appriciative of the effort put into this project

I looked at the instructions in 'buildAPKs/docs/README.md':

This project has bash scripts which help immensely in automating work. Make them executable by `chmod 750 script_name` if they are not already

However, it appears that this is not possible on my unrooted Nexus 6P. Is there any workaround? Would it be possible to move the scripts beneath '/data/data/com.termux/files' where chmod is possible? I would be happy to try but I'd love to hear about any wisdom before I jump:)

$ ll
total 24
-rw-rw---- 1 root everybody 1907 Jun  6 17:27 build.sh
-rw-rw---- 1 root everybody  325 Jun  6 17:27 buildAll.sh
-rw-rw---- 1 root everybody  281 Jun  6 17:27 buildMyFirstAKPinTermux.sh
-rw-rw---- 1 root everybody 1610 Jun  6 17:27 buildOne.sh
-rw-rw---- 1 root everybody 2386 Jun  6 17:27 builda.sh
-rw-rw---- 1 root everybody 1879 Jun  6 17:27 gclone
terminal++@Nexus 6P:/sdcard/al/g/buildAPKs/scripts
$ chmod 750 *
chmod: changing permissions of 'build.sh': Operation not permitted
chmod: changing permissions of 'buildAll.sh': Operation not permitted
chmod: changing permissions of 'buildMyFirstAKPinTermux.sh': Operation not permitted
chmod: changing permissions of 'buildOne.sh': Operation not permitted
chmod: changing permissions of 'builda.sh': Operation not permitted
chmod: changing permissions of 'gclone': Operation not permitted
terminal++@Nexus 6P:/sdcard/al/g/buildAPKs/scripts

Something up with ecj

I noticed that ecj doesn't behave like how it should. It seems like it always compiles against some hidden android.jar and doesn't allow more than one file/directory for the classpath. And whatever I put there doesn't get read anyway. I don't understand how anyone can even compile android code without including libraries or using thier own android.jar.

some error while building package

BuildAPKs build.clocks.bash calib.bash build.clocks.bash trap.bash  ERROR:  Generated script error signal -l near or at line number 35 by `wc` with return value 2,.[0m - 1 : syntax error: invalid arithmetic operator (error token is "BuildAPKs build.clocks.bash calib.bash build.clocks.bash trap.bash  ERROR:  Generated script error signal -l near or at line number 35 by `wc` with return value 2,.[0m - 1 ")

Build time: 9 seconds

i also tried to re-installupdate.buildAPKs.sh, still no luck.

error with buildMyFirstAPK.sh

Script fails with
ls: cannot access '/data/data/com.termux/files/home/buildAPKs/var/cache/builtAPKs/entertainment.20191125': No such file or directory
This happens because the actual folder is called entertainment20191125, without the dot between "entertainment" and the date.

Artifacts only for API 23.x are supported.

Could you please state in addition to TSDKVERSION="23" variable that the required versions of artifacts for appcompat, design, cardview and recyclerview should be 23.x only? Newer versions cause conflicts and don't work when linking a project.

errors with ecj

please tell why there are errors when i am compiling with ecj...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.