Code Monkey home page Code Monkey logo

Comments (6)

mingchen avatar mingchen commented on July 30, 2024

From the error info you build on a arm64 machine which is not supported at the time you build. I added arm64 image support the latest, try to pull the latest and build it again.
I donot have environment to test the arm64, please let me know if you run into any issue.

from docker-android-build-box.

whoamidenny avatar whoamidenny commented on July 30, 2024

I try to test your feature bu it is not working yet

from docker-android-build-box.

neneeen avatar neneeen commented on July 30, 2024

@mingchen I made an account for you in my Oracle ARM VPS (it's free forever with 4 cores and 24 GB of RAM), the host is armoracle [dot] duckdns [dot] org, the username is your github username and I've added all your github public keys to it. I can confirm that attempting to clone and build basic Android hello world project fail with

AAPT2 aapt2-4.2.2-7147631-linux Daemon #0: Unexpected error output: /root/.gradle/caches/transforms-2/files-2.1/be0f9e9c9f7b32e49931a13a0b7d0ecf/aapt2-4.2.2-7147631-linux/aapt2: 1: /root/.gradle/caches/transforms-2/files-2.1/be0f9e9c9f7b32e49931a13a0b7d0ecf/aapt2-4.2.2-7147631-linux/aapt2: Syntax error: "(" unexpected
> Task :app:processDebugResources FAILED
> Task :app:validateSigningDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > AAPT2 aapt2-4.2.2-7147631-linux Daemon #0: Daemon startup failed
     This should not happen under normal circumstances, please file an issue if it does.

from docker-android-build-box.

mingchen avatar mingchen commented on July 30, 2024

@neneeen Thanks for sharing the env for this troubleshooting.

Looks like android sdk not support arm64 linux yet. The aapt2 build still for x86, not arm64

/root/.gradle/caches/transforms-2/files-2.1/aa2a600df82222d778d6f0ab1bf69da5/aapt2-4.0.1-6197926-linux/aapt2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped

from docker-android-build-box.

neneeen avatar neneeen commented on July 30, 2024

@mingchen Aw, too bad. Would've been a nice build box otherwise. So it's up to Android team to properly support arm64 linux then?

from docker-android-build-box.

whoamidenny avatar whoamidenny commented on July 30, 2024

@mingchen thanks

from docker-android-build-box.

Related Issues (20)

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.