I recently moved to titanium android development. i was trying to install titanium studio on my windows 8 machine and followed official site instructions.
1) I installed java 1.7 sdk (on C:\Program Files (x86)\Java)
2) Downloaded and installed latest titanium studio
3) Downloaded the latest android sdk
4) and created JAVA_HOME variable (C:\Program Files (x86)\Java\jdk1.7.0_21)
5) added (C:\Program Files (x86)\Java\jdk1.7.0_21\bin) to path varable
6) added android path to PATH enviorment variable
And tried to create a simple project and run it on emulator but i am getting errors
So i tried to run on my device and it gives different kind of error
Please Guide me to solve this issue....
link to similar problem over on the appcelerator q&a: https://developer.appcelerator.com/question/152497/titanium-sdk-310-error-typeerror-argument-of-type-nonetype-is-not-iterable-on-building-android-app
looks to be related to the android tools being is a different location than expected
Related
When I'm trying to install android studio on my 32 bit Windows 10 computer, it says that an error occurred while trying to compute required packages. What should I do?
Solution:
Download the Java SE Developement Kit (Directdownload for 32Bit) and install it.
After that you can access Android Studio on it's site choosing the No .exe installer version:
Extract it and go into the bin folder and execute studio.exe (this is for 32bit).
PS: The studio64.exe is ONLY recommend for 64bit machines.
This will work! I bet you have installed the wrong Android Studio Version. So uninstall your current Android studio and follow the steps above. Cheers.
I have a cordova project in visual studio. When running the app onto a device the error
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK
keeps popping up. I have android studio, android sdk(updated) installed. The adb is working and detecting my device all fine. I have searched a lot and most of the answers that i have found are telling to download the sdk once more. But i already have it on my machine.
Visual studio is looking for the gradle wrapper in the location
path-to-sdk\tools
folder. So what i did is copied the template folder from
C:\Program Files\Android\Android Studio\plugins\android\lib
and pasted that folder into the above sdk tools folder. Re-ran the project. Fixed it.
I am using Appcelerator Studio on Mac OS X
Appcelerator Studio, build: 4.4.0.201511241829
Build: jenkins-appcelerator-rcp-master-339 (origin/master)
Date: 24 November 2015, 18:30:16
Titanium SDK version 5.1.2.G
I have been trying to install the Android SDK's without success. I am using the Install from the software under Preferences -> Platforms -> Android
If I browse to the directory with the SDKs I get the error message:
[Android SDK Home] No Android SD...nder the specified SDK location
All the Android SDKs have been loaded by Android Studio so I know they are there.
If I try to install the SDKS through Studio it goes through the motions, downloads and unpacks the files etc and then gives me a completed screen but no sdks is actually saved.
I have tried uninstalling and reinstalling Studio without success
any help is appreciated
Just give path of your android-sdk main directory only. If you are doing correctly then check in that folder having all required folders or not. I attached screenshot for what folders should be there.
If any of folder missing in mentioned image, it means, your SDK not properly installed. And you need to install it again. you can download SDK from here: http://developer.android.com/sdk/index.html#Other
Follow the instruction given in above link and again set path as you were doing before. And install all required SDK using install SDK given in Preferences -> Platforms -> Android.
So I have the error in the title, I have got several fresh copies of the Android SDK and Titanium. Still getting the error. I tried several other fixes non worked.
I chatted with Ricardo Alcocer from Appcelerator, because we have problems like this with every Titanium Update.
He suggested this (after some trying out):
Remove the .titanium folder in your home directory. So that would be - on windows - /users/yourname/.titanium. It will be recreated. (You could make a backup)
Check the titanium (not Studio) configuration in a command window by running 'titanium setup check' (see http://www.appcelerator.com/blog/2014/03/quick-tip-use-the-titanium-cli-to-find-details-about-your-configuration/).
If there is a problem with the Android or SDK location, use titanium setup for reconfiguring. It has a nice menu.
Restart Studio, choose to configure Android, and choose the right Ti SDK for your project.
Hope this helps!
Jelmer
For install Titanium SDK, i always recommend (Windows):
Unnistall all Android references, Node.js, Titanium SDK (Users\\AppData\Roaming\Titanium), clean all folders and registry (ccleaner or other) and reboot system.
Unzip Android SDK
r22
and install or update any Android Machines less Android SDK
(android.bat)
Install Android
NDK
Set ANDROID_HOME and NDK_HOME at OS Path (+ reboot)
Install Latest Titanium Studio SDK + Node.js
Check Android SDK and NDK over Titanium SDK preferences
I am facing problem with Installation of Titanium Studio.
I have set up all the required Environment Variable's
This is my JAVA_HOME variable C:\Program Files (x86)\Java\jdk1.7.0_25;
This is mt Path Variable C:\Development\android-sdk-windows;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools;C:\Program Files (x86)\Java\jdk1.7.0_25;C:\Program Files (x86)\WinAnt\bin;D:\Android SDK\android-sdk_r16-windows\android-sdk-windows\tools;C:\Development\phonegap-2.9.0\lib\android;
I have installed jdk1.7.0_25 and JRE 7.
Also I have given my path of Android SDK D:\adt-bundle-windows-x86_64-20130219\sdk, at Android SDK home variable.
But now when i try to connect Android sdk with Titanium Studio it is just showing me Installing Android and nothing is happening.
When i try to Run an Application it gives me an Error It Appears that you do not have android SDK installed in your system please follow the instructions at the Dashboard to configure SDK
I have followed same but not finding solution, Please help me.
Thanks in advance.
Always have a good look at titanium compatibility matrix.Jdk 1.7 is not compatible until now only 1.6 is suitable for android
http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-JavaDevelopmentKit
Thanks
From Documentation
The 32-bit version of the JDK is required regardless of whether Titanium is running on a 32-bit or 64-bit Windows system.
On Windows, Studio contains its own JRE, meaning you do not need to install the JDK before installing or launching Studio but will need it
to use the Titanium SDK.
Titanium Studio prompts you to install the JDK when installing the Android SDK from the Dashboard on Windows.
Try to install 32 bit java in your system.
Please refer Compatibility and Download