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

Cannot create AAR with ./scripts/makejar.sh #346

Open
3 tasks done
tony-xian-2017 opened this issue May 17, 2023 · 1 comment
Open
3 tasks done

Cannot create AAR with ./scripts/makejar.sh #346

tony-xian-2017 opened this issue May 17, 2023 · 1 comment
Assignees
Labels

Comments

@tony-xian-2017
Copy link

tony-xian-2017 commented May 17, 2023

Describe the bug

我使用scripts/makejar.sh命令无法生成aar文件

Google Translation:
I use scripts/makejar.sh command, but I cannot generate aar file

$ ./scripts/makejar.sh
gradle.properties: line 19: org.gradle.jvmargs=-Xmx6g: command not found

Reproduction

??

Logs

No response

logback-android version

latest

OS Version

10.0

What logback configuration are you using? (logback.xml or Java/Kotlin code)

No response

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@tony19
Copy link
Owner

tony19 commented May 18, 2023

A workaround for now is to replace this line:

. gradle.properties

with the VERSION_NAME variable from gradle.properties:

VERSION_NAME=3.0.1-SNAPSHOT

The result:

-. gradle.properties
+VERSION_NAME=3.0.1-SNAPSHOT

@tony19 tony19 changed the title scripts/makejar.sh命令执行错误 Cannot create AAR with ./scripts/makejar.sh May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants