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

Gradle error #592

Open
eduardorcosta opened this issue Aug 9, 2022 · 13 comments
Open

Gradle error #592

eduardorcosta opened this issue Aug 9, 2022 · 13 comments

Comments

@eduardorcosta
Copy link

eduardorcosta commented Aug 9, 2022

hello, I'm trying to build an application that was build with ti sdk 9. I don't have any erros with the application, but with the latest version of titanium it shows:
Screen Shot 2022-08-09 at 14 03 17

I'm using a mac studio (arm) and stucked in this error.

alloy 2.0.1
tisdk 2.0.1
titanium 6.1.1

@m1ga
Copy link
Contributor

m1ga commented Aug 21, 2022

Can you try this one: https://stackoverflow.com/a/69442569/5193915

@eduardorcosta
Copy link
Author

Sorry, I don't have any Antivirus. I'm using macos.

@m1ga
Copy link
Contributor

m1ga commented Aug 22, 2022

I'm just searching for the gradle error. This is another hit: https://stackoverflow.com/a/68668663/5193915
Not seen that error in Titanium before.

We had other users that uses Antivir on Mac that blocked some access or the internal Gatekeeper blocking files

@eduardorcosta
Copy link
Author

eduardorcosta commented Aug 22, 2022

Yes I did this, but even removing directory reinstalling things, everything. I can't run, then I opened the issue.

@m1ga
Copy link
Contributor

m1ga commented Aug 22, 2022

which command are you using to build the app?

@eduardorcosta
Copy link
Author

ti build -p android

@m1ga
Copy link
Contributor

m1ga commented Aug 23, 2022

it looks like you are running out of VSCode. Can you run the command from a normal terminal outside of VSCode please.

@eduardorcosta
Copy link
Author

Shure!

@eduardorcosta
Copy link
Author

I stopped every gradle process and remove the local directory, so the build process can download it again and install everything.
I started from a normal terminal this time, and the error continue
Screen Shot 2022-08-23 at 11 32 45
.

@m1ga
Copy link
Contributor

m1ga commented Aug 23, 2022

did you build the ti 9 version before on the same Mac? Or was it an older Intel one?
Which Java are you using? Maybe its arm related, I'm using an Intel machine and didn't not see that error before

@eduardorcosta
Copy link
Author

the project is on a NAS server, I was building this from version 8.
I'm using openjdk 11.0.16 2022-07-19
In my other mac with intel processor I have the same issue.

@m1ga
Copy link
Contributor

m1ga commented Aug 23, 2022

ok, multiple things to try:

  • don't use a NAS, try to build it locally
  • openjdk should be fine for a non-m1 build. You can use brew install openjdk@11 or if you use a M1 Mac you can use the version from https://github.com/microsoft/openjdk-aarch64/releases/tag/jdk-16.0.2-ga (from reports of other M1 users)
    https://fromzerotoapp.com/how-to-install-appcelerator-titanium/#link9

@eduardorcosta
Copy link
Author

Ok I'll try everything thanks.

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

2 participants