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

Cannot publish Android app

$
0
0

I am trying to publish an app I made for Android. However I ran into several problems.

First of all the option to package for Android is missing. When I right click the project and open the menu 'Publish' I can only publish for web which is not what I want. All my projects are affected by this problem, even new ones.

Next I tried to build using the terminal. I entered the following command:

titanium build --platform android --target dist-playstore --android-sdk D:\IT\AndroidSDK --keystore <OMITTED ON PURPOSE> --key-password <OMITTED ON PURPOSE> --output-dir <OMITTED ON PURPOSE> --build-only --force

I added the <OMITTED ON PURPOSE> manually while typing this post for security reasons.

When running this command the following is displayed:

Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.2.GA
Copyright (c) 2012-2014, Appcelerator, Inc.  All Rights Reserved.
 
Please report bugs to http://jira.appcelerator.org/
 
[INFO]  tiapp.xml <sdk-version> set to 3.1.3.GA, but current Titanium SDK set to 3.2.2.GA
[INFO]  Forking correct SDK command: "c:\Program Files (x86)\nodejs\node.exe" "Files (x86)\nodejs\node.exe c:\Users\Mathyn\AppData\Roaming\npm\node_modules\titanium\bin\titanium" "build" "--sdk" "3.1.3.GA" "--build
-only" "--force" "--config-file" "C:\Users\Mathyn\.titanium\config.json" "--platform" "android" "--project-dir" "D:\IT\AppceleratorWorkspace\AppName" "--log-level" "trace" "--android-sdk" "D:ITAndroidSDK"
 "--key-password" <OMITTED ON PURPOSE> "--keystore" <OMITTED ON PURPOSE> "--output-dir" <OMITTED ON PURPOSE> "--target" "dist-playstore"
 
module.js:340
    throw err;
          ^
Error: Cannot find module 'D:\IT\AppceleratorWorkspace\AppName\Files (x86)\nodejs\node.exe c:\Users\Mathyn\AppData\Roaming\npm\node_modules\titanium\bin\titanium'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3
I added the <OMITTED ON PURPOSE> manually while typing this post for security reasons.

My Titanium studio info is:

Titanium Studio, build: 3.2.1.201402041146
(c) Copyright 2012-2013 by Appcelerator, Inc.  All rights reserved.
 
Build: jenkins-titanium-rcp-master-95 (origin/master)
Date: 04 February 2014, 11:47:38
I am using the Titanium SDK 3.2.1.GA .

I am developing on Windows 8.1


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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