tonylukasavage / triple

REPL for Titanium
MIT License
96 stars 21 forks source link

Android Emulator not running with JDK 1.8 #94

Closed ghost closed 9 years ago

ghost commented 9 years ago

command run "tripple -p android"

Starts and returns error....

[ERROR] JDK version 1.8.0 detected, but only version <=1.7.x is supported

Had a new machine so installed all latest

java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode).

Been into ADK and setup emulator etc to make sure it wasn't anything to do with configuration. Had to install the x86 HAMX tooling, but Android emulators running clean.

Have started to look at the titanium install, and adapted triple for Titanium 3.4.1, been unable so far to find what is generating the error. Continuing to look but hopefully somebody will find it before me.

tonylukasavage commented 9 years ago

So what did you adapt to Titanium 3.4.1, the SDK, or the CLI, or both?

ghost commented 9 years ago

I updated the dependency to 3.4.1 for Titanium within Triple and rebuilt.

ghost commented 9 years ago

Doing it via removing the local titanium install and reinstalling setting the dependency . I didn't see the CLI installed to triple, but the CLI is 3.4.1 on my machine

tonylukasavage commented 9 years ago

What Titanium SDK do you currently have selected? ti sdk

ghost commented 9 years ago

RC version of 3.4.1 ... let me switch that out to the GA

ghost commented 9 years ago

Thats interesting ???

trw-2:.titanium untward$ triple -p android [ launching app ] \ /usr/local/lib/node_modules/triple/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ Error: ERROR: build failed: try with --verbose for more information.

tonylukasavage commented 9 years ago

run it with the --verbose flag which should show the titanium output as well. Also, if you changed the Titanium version, you might want to run triple with the --clean flag to generate a fresh app.

ghost commented 9 years ago

The clean fixed it .... Thank you.

ghost commented 9 years ago

well got the emulator running anyway..

tonylukasavage commented 9 years ago

OK, I'm going to close this. We can reopen if the problem comes back.