(06-19-2020, 06:28 AM)tophneal Wrote:Your awesome thank you. Is pacmac a typo or is that different than pacman? I'll try using the adb-arm64. If you could in using your example above but with adb-arm64 could you take it from the top as far as the steps? Or tell me if my steps are the way to go?(06-19-2020, 03:51 AM)FeMike Wrote: Thank you, I just found how to enable AUR as I was going to try to install Android studio to get the latest and forgot to just look for android tools. I'll do that as soon as I get home. Forgive my next question as I'm still learning, but what do you mean by adding aarch64 to the PKGBUILD? I found this article https://cloudcone.com/docs/article/insta...-from-aur/ is that what you mean?
No exactly, that page is really just outlining how to use different aur helpers/package managers. I'll use the AUR package for android-tools-git (https://aur.archlinux.org/packages/android-tools-git/) to demo what i mean, even though it may not be the right package for you, you may need to try adb-arm64.
Let's say you're using pamac (UI or CLI) when you select a package to install, before it installs the new package, you'll be asked if you want to edit its PKGBUILD (https://aur.archlinux.org/cgit/aur.git/t...-tools-git). That is essentially a text file with important info for the package manager to install the software, it lists dependencies, conflicts, supported architectures, compiling flags, etc. In every PKGBUILD will be a line with something like:
Code:arch=(i686 x86_64)
In this case, let's say you looked up all the dependencies for this package, and you know they'll all install/run on aarch64. You can edit that line in the PKGBUILD to include aarch64:
Code:arch=(i686 x86_64 aarch64)
Pamac will then see that as software supporting aarch64 and try to install it.
1- git clone https://aur.archlinux.org/adb-arm64.git
2- cd into downloads/ and unzip
3- cd into adb-arm64
4- makepkg -sri
5- ??
Edit: I'm trying to build adb-arm64 now through the GUI , I'll report back when its done. GUI is way easier but I'd like to learn the cli though.
Edit 2 So using the gui worked but that was only adb and I need both adb and fastboot. When I just install the android-tools from the offical repo when I run adb version I get an error while loading shared libraries: libprotobuf-lite.so.22 Can not open shared object file. Is everything thats in the official repo meant for ManjaroArm or is it every architect in the repo?