Appcelerator titanium with atom ide - titanium-mobile

I use atom to build titanium app, the titanium studio is very very slow while
Atom is a lightweight IDE, i followed this crate titanium app with atom ide
the only thing i want to know if is how to install modules or widget from atom ? and using tishadow too with atom?
Thanks

The command is:
titanium build -p android -T device --shadow
According to http://tishadow.yydigital.com/getting%20started/
Install from atom using the package installer on the settings page.

Related

How to open an Android Studio made Flutter project on Mac?

How can I open an existing Flutter project made by Android Studio on Mac-Os to export ipa version of app? Can it be done with Mac-Os version of Android Studio or I have to do it with X-Code? How?
Thanks in Advance
I could finally do that by accomplishing the following steps:
Copy the project into macOs (with X-Code Installed)
Open it by Android Studio (preferably latest version)
Enable Flutter and Dart plugin on Android Studio framework settings
Run command flutter packages get (Connection to Flutter repositories must be available)
Run flutter build ios --release as #Günter Zöchbauer truly commented
Connect iPhone device or simulator and run directly on your device
If some errors printed you may need to verify your developer account settings on X-Code or check Github page of your libraries for possible iOS issues
You can do it in XCode.
Ensure you run flutter build ios --release before you do.
Connection to physical iPhone device is not necessary. Run any sample project in xcode. Start a Simulator. (Only One simulator preferrably).
clone the repository from github into Mac (with X-Code Installed)
open terminal.
cd to your pubspec.yaml
flutter run (it will automatically run flutter pub get)
(It will launch on the already running iOS simulator)
follow steps on flutter.dev to install flutter. Above steps will only work from terminal if flutter doctor(any flutter command) is recognized

When creating a new app project the alloy option does not appear in appcelerator

From the appcelerator studio I selected file -> new -> mobile app project.
The open dialog appears but does not display the option to create an alloy app.
These are the only options I can see in New mobile app project dialog box
Thanks in advance.
Seems Alloy was not installed in your system for any reason which is quite odd. But here you can install it using command-line/terminal by running this command :
sudo npm install -g alloy
After successfully installing Alloy, you can check for its version using below command:
appc -v mine is Alloy version 1.10.7
You can also check for Alloy installation in your Studio About section as shown in screenshot.
Select About Axway Appcelerator Studio -> Installation Details -> Plug-ins

Titanium CLI alloy execution location

I recently wrote a small hack to enable writing Titanium apps with TypeScript (https://github.com/developer82/Ti.TypeScript). This involves editing the SDK alloy compiler script.
As you can tell from what I've written the script is located at /Users/YOUR_USERNAME/.appcelerator/install/SDK_VERSION/package/node_modules/alloy/Alloy/commands/compile/index.js
When I run my project from Titanium Studio it works great. However when I try to run from command line using ti build -p ios I'm getting an error This project requires the TypeScript hack in Titnaium SDK - which is a validation I wrote that the hack was applied to the compiler.
The reason for this is that running from command line, the CLI is looking for alloy in /usr/local/bin/alloy - I learned that from the following output:
[INFO] Executing Alloy compile: /usr/local/bin/node /usr/local/bin/alloy compile /Users/ophir/Documents/Appcelerator_Studio_Workspace/MY_PROJECT/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator
Why the different location? Why the CLI doesn't work like Appcelerator Studio? how can I make it work like Appc Studio?
Solution turned up to simpler than I thought... instead of using ti command I started using appc command:
appc run --platform iphone --liveview
I think ti is the open source version (which uses the alloy installed from node) and appc is the Appcelerator platform (that's what Appcelerator Studio runs).

Download previous versions of Titanium SDK

I recently had to format my Mac and lost all my Ti sdks.
After Reinstalling Appcelerator Studio I currently have only Ti SDK 5.2.0.GA available which is causing my app to crash on devices having Android Marshmallow which didn't happen on 5.0.0.GA or below. Is there anyway I can install the previous version of Titanium SDK's and use it.
The easiest way, via CLI (command line interface).
Get the SDK titanium list
appc ti sdk list
Install titanium SDK
appc ti sdk install [<version>] [--default] [--force] [--branch <branch name>]
ex : appc ti sdk install 9.2.1.GA
Available SDK with appc
Appc info here
Above solution is correct, But for above steps you want appc username and password.
If you dont have user name and password then try next command.
titanium sdk
titanium sdk install 5.2.0
after installing check
titanium sdk
If you downloaded sdk from other sources and now you have to put sdk in your titanium path then go to following path
/Users/rahul/Library/Application Support/Titanium/mobilesdk
and place your downloaded sdk in above folder.

ionic-box vagrant box - Install Android target: "android-22"

I'm using the latest ionic-box as of 27th April 2015. I've been able to ionic platform add android but getting the following error when ionic build android:
[Error: Please install Android target: "android-22".
Hint: Open the SDK manager by running: /home/vagrant/android-sdk-linux/tools/android
You will require:
1. "SDK Platform" for android-22
2. "Android SDK Platform-tools (latest)
3. "Android SDK Build-tools" (latest)]
I've tried updating the sdk with the following command
android update sdk --no-ui
where I get the output of fetching a number of "https://dl-ssl.google.com/android*" File not found. However, if i copy that url and paste it on a browser the file is there.
My vagrant box is now bridged on the network to have direct access to the internet, since NAT was giving me the same errors.
Any help is much appreciated.
Follow these steps.
1) Type android on command line.(Make sure ANDROID_HOME and PATH are set properly)
2) Select API 22 from the populated list.
3) Click install packages.
4) Type android avd on command line.
5) Set API level and other config.
6) Now type ionic build android.
i work around this by changing https to http or vise versa, in options but as a quick fix
for supporting andorid API 21 like #astroanu commented this will help. it will add the support of API 21 in project.
$ cordova platforms remove android
$ cordova platforms add android#3.7.1
I was able to build an android apk by doing the following:
Open up the SDK manager after downloading/installing the android SDK (android studio). AndroidStuido>Appearance&Behavior>System Settings>Android SKD. Alternatively, you can just click on the "SDK Manager" button on the "Welcome to Android Studio" window that appears when you open Android Studio.
Under SDK Platforms, click on Android 5.1.1 - API Level 22 and hit apply to install the package.

Resources