Comments (6)
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.
I try to test your feature bu it is not working yet
from docker-android-build-box.
@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.
@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.
@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.
@mingchen thanks
from docker-android-build-box.
Related Issues (20)
- docker build -t android-sdk . run very slow HOT 7
- platform-tools/api/api-versions.xml java.io.IOException: Stream closed HOT 2
- mount failed HOT 2
- Include ARG for Dart Version HOT 1
- Firebase app distribution? HOT 1
- jenv command of 1.25.0 version on Bitbucket doesn't work HOT 3
- Fixed Flutter versions HOT 3
- Any plan to support java 19 and newer versions ? HOT 1
- f-droid build from source tutorial HOT 6
- docker buildx build failed on mac m2 HOT 7
- Flutter Version is Old HOT 8
- SDK 34 HOT 2
- Use non-root uid/gid in container HOT 4
- bash: line 1: ./gradlew: No such file or directory HOT 1
- flutter version 3.16.9 HOT 3
- CI: Docker Build & Push Step does not Use Tagged Version
- Should Build Tools be Trimmed? HOT 1
- Dockerhub tags 1.26.0 and 1.27.0 Claimed Software does not Match Defined HOT 2
- NDK is not installed HOT 2
- can not pull in M2 slicon chip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-android-build-box.