tidev / titanium-cli

The Titanium Command Line (CLI) project
https://titaniumsdk.com/
Other
221 stars 95 forks source link

Gradle error #592

Open eduardorcosta opened 2 years ago

eduardorcosta commented 2 years ago

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 commented 2 years ago

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

eduardorcosta commented 2 years ago

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

m1ga commented 2 years ago

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 commented 2 years ago

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

m1ga commented 2 years ago

which command are you using to build the app?

eduardorcosta commented 2 years ago

ti build -p android

m1ga commented 2 years ago

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

eduardorcosta commented 2 years ago

Shure!

eduardorcosta commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

ok, multiple things to try:

eduardorcosta commented 2 years ago

Ok I'll try everything thanks.