Titanium doesn't recognize Android SDK on Windows - android

Titanium doesn't recognize Android SDK on Windows
My problem is that Titanium Studio doesn't see my installed Android Platforms. I've tried removing and reinstalling everything via Titanium Studio but that won't make any difference.
Here's a screenshot of the SDK Manager: http://imgur.com/5F5oF
Titanium Studio Screenshot: http://imgur.com/w7j7n
Titanium Studio Details:
Titanium Studio, build: 1.0.8.201201262211
Build: jenkins-titanium-rcp-master-136 (origin/master)
Date: 26 January 2012, 22:14:21
OS Information:
Microsoft Windows 7 Ultimate
6.1.7601 Service Pack 1 Build 7601
Problem in Titanium Studio:
One or more pieces are missing from the Android SDK.
It may be that the Android SDK is already installed
and Titanium Studio cannot locate the directory, or
it may be that some additional components need to be installed.
Items required:
•An Android SDK is missing. Titanium requires Android platforms 2.1.* and 2.2.*

We just spent a couple days wrestling with this problem. The issue is with the latest version of the mobile sdk that you've installed. Titanium Studio actually uses the following script to validate the Android SDK path in the configuration window:
MAC path looks like this:
/Library/Application Support/Titanium/mobilesdk/osx/sdk_version_number_here/android/avd.py
Based on your post, your path is probably something like:
C:\Users\Dean\AppData\Roaming\Titanium\mobilesdk\win32\sdk_version_number_here\android\avd.py
If you browse to the folder and look for that script, it's probably missing. We just deleted that version of the sdk (for us it was 2.0.1.GA2). Then went to Help -> Check for Updates to reinstall the latest version.

Can you try installing all the api levels. SDK level 10-15.
Hopefully that would help. I am also running Titanium on the same version of windows, and it works fine.

This looks crazy, but you need to install sdk 7 and 8, with the google APIs. I think that they have code nested to these SDK. Check twice that you accept the licence with Google API.
Here is the complete guide of installing Titanium with Android.

I broke my head for 2 days on the very same problem, and the solution is quite simple:
Titanium 3.2 and above does not work with android sdk in Windows.
Downgrade to 3.1.3 and everything will be just fine
https://wiki.appcelerator.org/display/guides2/Reverting+to+a+Previous+Version

Related

Xamarin; Android 11.0 SDK is not available in Visual Studio; Target Framework

In a computer, I have installed Android 11.0 SDK for a Visual Studio 2019 Community installation and my Xamarin Android app is compiled correctly using this SDK. The SDK was installed automatically:
Then I installed Visual Studio 2019 Community in another computer to compile my app there. But it seems the Android 11.0 SDK is no longer available:
It is not installed automatically and I cannot find anywhere to install it manually. What's wrong and how can I install Android 11.0 SDK on Visual Studio?
After long searching and none of the solutions were working for me, i've found that the SDK can also be installed with the VS Installer.
The API level 30 (Android 11) was nowhere to be found to install, nor VS SDK Manager nor Android Studio SDK Manager (the AS SDK Manager didn't even work, could not load any SDK's)
(See screenshots)
Go to VS Installer -> Modify VS version
-> Go to tab 'Individual Components' -> Search for SDK API level 30 -> Select and install
After the first login you'll probably need to accept SDK licenses again as I had to.
Hope this helps anyone who, like me, did not find any other solution working
PS: I did update VS to its latest version before doing this, not sure if this is mandatory or not since I was on 16.10 before but if this doesn't work, try updating VS itself first.
As of now Android 11 is not officially supported in Visual Studio.
So you have two options:
Select to use unofficial repositories in that dialog
Wait for the version 16.9 where it is supposed to be supported.

Why am I getting: "No system images installed for this target"

I'm having trouble with the Android emulator.
I am running on Windows 10, and here is my environment:
Microsoft Visual Studio Professional 2017
Version 15.5.6
VisualStudio.15.Release/15.5.6+27130.2027
Microsoft .NET Framework
Version 4.7.02556
Xamarin 4.8.0.760 (fc93f3f5b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 4.8.188 (c5813fa34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin.Android SDK 8.1.5.0 (HEAD/75f8c6838)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 11.6.1.4 (db807ec)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
My Android SDK Platform looks like:
and the SDK Tools is:
In my emulator screen, no matter what device I choose, I get the error:
"No system images installed for this target".
I clearly have installed the Google ARM System Images.
I don't understand why I'm getting the error message.
Any help will be greatly appreciated.
Charles
Update 2
I would like to thank York Shen, and Jon Douglas for their help. The Device Emulator now works... well almost.
I installed the Intel HAXM Emulator Accelerator. My console script was:
I also selected the Accelerator from the SDK Tools:
When I try to define a new device using the Emulator Manager, I now get:
Obviously, I still have a problem with HAXM. By the way, if you tell me I have to change my computer's BIOS to make HAXM work, I will give up on Android.
I tried to run a default emulator, and it warned me that I could continue, but without any acceleration. A simulator appeared but my application did not run. My application only runs on iOS and UWP.
I'm going on five days in trying to get the Android Emulators to work. No cigar. I contrast this to my experience with the iOS Emulator. That one took me about 1/2 an hour to get running. It was very clean and simple. I'm thinking seriously about abandoning all software development for Android.
Why am I getting: “No system images installed for this target”
As #Jon Douglas said, you are using a deprecated version of the AVD Manager, you could refer to the docuemnt:
As of Android SDK Tools version 26.0.1, Google has removed support for their UI-based AVD and SDK managers in favor of their new CLI (Command Line Interface) tools.
You could refer to my answer for a more detailed answer about how to solve this issue:
Xamarin with Visual Studio not detecting CPU/ABI system image for emulator, even though system images are installed
Update:
If you use the Xamarin SDK Manager and Xamarin Android Device Manager, you need update to Android SDK Tools 26.0.1 and later (which is required for Android 8.0 Oreo development).
You could read this: Requirements. In your situation, upgrade your Android SDK Tools version to 26.1.1:
Update 2:
You need Installing the Xamarin Android Device Manager, then you could start the Device Manager by clicking Tools > Android Emulator Manager:
To help anyone scratching their heads as to why when they install a new version of Visual Studio 2017 the emulator looks different to York Shen above, its because Visual Studio didn't bundle the latest version of the AVD Manager into Visual Studio 15.6.6 (as of 23rd April)
I followed #York Shen - MSFT's answer until I hit a snag on the update of the Android SDK tools. I simply downloaded them from https://developer.android.com/studio/#downloads (Command line tools only, sdk-tools-windows-4333796.zip).
Copy the contents of the tools folder into C:\Program Files (x86)\Android\android-sdk\tools

Meteor 1.3.3 on Mac running android: Android target: Android SDK not found

For a client of mine, I try to run the meteor run android command on a mac and I got the following message:
✓ Java JDK
✓ Android SDK
✗ Android target: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
The situation so far:
PATH is correctly defined with links to the tools and to the platform-tools, ANDROID_HOME is fine too
The emulator and the SDK are installed with Android Studio
gradle is not found either, the tools/templates/wrapper path does not exist, which make me suspect a bad SDK installation, yet Android Studio handles everything
Meteor version is 1.3.3 for this project, and of course android paltform has been added to the project, which run fine on my Linux laptop
Verbose is not that verbose, in which situation Android SDK is okay and Android target is not ?
This is very hard to debug and I am desperate to find a solution, this issue seems unresolved in other related threads. Thanks for your help!
This is actually a bug due to the new version of the Android SDK Tools (> 25.3).
The solution is to go back to 25.2.x, the Meteor guide mobile page has been updated a few hours ago.
See the related Github issue
Links to download 25.2.5 version:
https://dl.google.com/android/repository/tools_r25.2.5-linux.zip
https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip

Titunium Studio Cannot find Android SDK

I have a problem with Titanium Studio. It doesn't recognize my Android SDK installation.In the Platform->Android prefs panel, it says "No Android SDK found in the selected location"
When I first ran Titanium, it installed/updated a bunch of it's own and some Node plugins, so it's fulfilled all dependencies.
details:
OS: Windows 7 (x64)
Titanium Studio version is 3.3.1 (in %Appdata%\Roaming\Titanium Studio)
JDK build 1.8.0_31 (%Program Files (x86)%\Java\JDK)
Android SDK installation (in C:\Android-sdk)
Android SDK tools 24.0.2
Android SDK Platform Tools 21
Android SDK Build Tools
Android 4.2.2, API 17 (all children)
Android 2.3.3, API 10 (all children)
Android 2.2, API 8 (all children)
also everything inside the Extras branch
According to Titanium Compatibility Matrix, I have at least one Android SDK (4.2.2) that falls within the accepted SDK bounds for my Titanium version.
have you checked those links?
1.link 1
2.link 2
and it's better to have same architecture of java and OS.
you can also type this in command line and check if there is any specific android issue
titanium info
I don't know exactly what contributed to the solution (note that titanium CLI alwayes detected everything correctly), but here's what I've done meanwhile.
I had existing %ANDROID_SDK%, %JAVA_HOME% and the SDK's tools and platform-tools locations added to PATH from the beginning.
I Uninstalled Titanium (Studio & SDK), JDK+JRE, Node and Git.Then reinstalled JDK and Titanium.
Titanium installed node 10.13 and Git 14.sth to %programfiles(x86)%
the problem still existed. Cue another series of uninstalls.
Installed Jdk, Git, node and Titanium one-by-one.
Interstingly, this time Titanium couldn't locate Git which was installed in C:\git (it was added to PATH). So I symlikned C:\Git into %programfiles(x86)% (also linked C:\nodejs for good measure :) )
Now, I found the JDK installer only added C:\ProgramData\Oracle\Java\javapath to PATH which includes just java.exe, javaw.exe and javaws.exe. So I added %programfiles(x86)%\Java\jdk\bin to PATH.
This time, Titanium Studio worked correctly!
So, perhaps, the problem lies in Titanium Studio needing dependencies in certain locations.
(btw, before this, even though path to git.exe was in PATH, the Studio's console "couldn't find a 'bash' shell." now it does.)
hope this helps others who face the same issue.

Eclipse crashes on Android SDK and AVD Manager

I tried to install Android SDK plugin on my existing Eclipse Classic 3.6.0 (Helios). I managed to do everything else, but when I try to add components using Android SDK and AVD Manager in Eclipse, whole Eclipse just crashes.
Anyone have any idea what's going on?
Eclipse Crash Log on pastebin.com
NOTE: there is NO date shown on this page( Currently 2010 Nov )
This page states,
http://developer.android.com/sdk/requirements.html
System Requirements
Supported Development Environments
Eclipse IDE
Eclipse 3.4 (Ganymede) or 3.5 (Galileo)
Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.
ALSO NOTE
looking at your pastebin.com post
you PATH variable is corrupt
As of Feb 2013, using Android Dev Tools (Android SDK and Eclipse), build v21.0.1 - the AVD Manager crashed repeatedly using JDK v7x. Using JDK v6x resolved the issue, able to setup virtual devices now.

Categories

Resources