Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build apk #305

Open
BanDroid opened this issue Jul 6, 2023 · 0 comments
Open

Failed to build apk #305

BanDroid opened this issue Jul 6, 2023 · 0 comments

Comments

@BanDroid
Copy link

BanDroid commented Jul 6, 2023

Describe the bug
i am trying to build helloworld sample project, i already update androidjs module to the latest and still doesn't work.

To Reproduce
Steps to reproduce the behavior:

  1. open the project.
  2. run androidjs build in terminal.

Expected behavior
build success

Additional context

  • java version 17 (openjdk-17).
  • android-sdk installed.
  • i build using AndroidIDE.

Logs
--release= false
Downloading: https://github.com/android-js/androidjs-sdk/archive/master.zip
Data: 35046 KB :██████████████████████████████████████████████████ √
copying assets ...
updating app name...
Setting app version ...
Version Code: 1
Version Name: 1.0
updating theme ...
theme attribute not found in package.json
Using SDK: 2.3.0
Building Apk ...
non zero exit code: failed to build apk
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.itsaky.androidide/files/usr/tmp/brut_util_Jar_145501890408370006001323179798287731618.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 33, --version-code, 1000032, --version-name, 1.0.0, --no-version-vectors, -F, /data/data/com.itsaky.androidide/files/usr/tmp/APKTOOL1266990774831550043.tmp, -e, /data/data/com.itsaky.androidide/files/usr/tmp/APKTOOL7347363094707872198.tmp, -0, arsc, -I, /data/data/com.itsaky.androidide/files/home/.androidjs/cache/1.apk, -S, /data/data/com.itsaky.androidide/files/home/.androidjs/cache/androidjs-sdk/res, -M, /data/data/com.itsaky.androidide/files/home/.androidjs/cache/androidjs-sdk/AndroidManifest.xml]
W: /data/data/com.itsaky.androidide/files/usr/tmp/brut_util_Jar_145501890408370006001323179798287731618.tmp[1]: �ELF: inaccessible or not found
W: /data/data/com.itsaky.androidide/files/usr/tmp/brut_util_Jar_145501890408370006001323179798287731618.tmp[2]: syntax error: unexpected ')'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant