Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Longjohn build fail / No android device detected

$
0
0

Since yesterday I can't build a project anymore... Plus my Titanium studio don't recognize my android devices when they are pluged..

THE error :

c:\Users\support\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184
    e.stack;
     ^
processImmediate [as _immediateCallback] (timers.js:358:17)
Or some similar ones, depending on if I launch build from ti build or the green button ( only with mobile web selected because no android device detected )
First of all what is longjohn.js ?

I've tried a lot of things such as :

  • Uninstall/install back Titanium studio
  • Uninstall/install back SDK(s)
  • Uninstall/install back Node.js
  • Use at least 6 differents version of Node.js with nvm
  • Update JAVA
  • Clean project
  • Create new project and launch it ( same issue )

I also tried with this tutorial to install Titanium with Sublim Text ( which sounds fabulous ... ) But doesn't work :

Traceback (most recent call last):
File "C:\Users\support\AppData\Roaming\Sublime Text 3\Packages\Titanium Build\Titanium.py", line 65, in select_project self.project_sdk = self.get_project_sdk_version()
File "C:\Users\support\AppData\Roaming\Sublime Text 3\Packages\Titanium Build\Titanium.py", line 104, in get_project_sdk_version process = subprocess.Popen([self.cli, "project", "sdk-version", "--project-dir", self.project_folder, "--output=text"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "./subprocess.py", line 824, in __init__
File "./subprocess.py", line 1118, in _execute_child
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
I don't even know where i should launch build, in which file ? Didn't find the doc ^^'
Where I think I failed

I was trying to change appicon.png and changed almost all .png files i found in Ressources\android AND deleted build

Maybe problem came when I deleted some files from app\asset\android\image ? But well shouldn't block a new project to build...

Maybe on update ? I read a lot about compatibility between node/titanium/SDK etc...


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>