My Android Designer isn't working in vs2015. I have installed even the latest updates but it isn't working still.
I'm getting the error message in the following picture:
Can anyone help me?
SDK Manager can be ran manually from:
"C:\Program Files (x86)\Android\android-sdk\SDK Manager.exe"
Please also check that you have installed proper SDK - you'll need one of latest - 25 and one of you need (like 17 or so)
The answer is right there. Install an Android SDK, and in Tools > Options > Xamarin > Android, tell it where you installed it.
Related
We are using Unity 2018.3.8f1.
We have added Android Build Support from Unity Hub - Add Component:
But if we go to Unity Preferences - External Tools, the Android SDK location is empty:
I have not been able to find the location of the Android SDK folder anywhere. I'm wondering if the component installed by Unity Hub is something different to Android SDK. Maybe it must be installed separately from: https://developer.android.com/studio?pkg=tools#downloads?
UPDATE
So far I have installed "Command line tools only" from the previous link. Then, I have installed OpenSDK (Vistual Studio did it for me: it asked me to update and install it as one of the things to update).
But when I opened tools/bin/sdkmanager, it said "Java is not installed". So I also installed Oracle Java SDK. Unfortunately tools/bin/sdkmanager returned errors after it. I applied a few workarounds I found by googling the errors. Still not luck.
So I have moved to the easy way: installing the full version of Android Studio. If we choose custom, we'll see that Android SDK Platform is going to be installed:
So it is working, but I still have not idea of how many things I have duplicated on my system wasting space. I have:
The Android component installed from Unity Hub
Android Studio installed, which comes with the emulator and the IDE (I don't need them)
OpenSDK (installed by Visual Studio)
An embedded version of Java in Unity
Oracle Java
Are they all actually needed? I don't think so!
It seems the only thing you are wondering is if the component installed by Unity hub is something different to Android SDK... the short answer is yes. You have to download it on the Android Developer SDK website you linked in the question. You only need the SDK under "Command line tools only" at the bottom of the page. If you do this you also need to download the jdk separatly here.
I have pulled an Appcelerator project from our developer group and unable to publish or run the project on a local Android device.
When trying to publish the below error screen immediately pops up.
Android SDK version 4.1.2 not found.
I have checked both in the Appcelerator platform settings and Android Studio config and have the SDK installed.The install SDK screen in Appcelerator Tried uninstalling/reinstalling Appcli and the SDK to no avail.
After a few days of searching all the appecelerator files in my project. I finally found the fix for my problem (for anyone googling this).
There's a hidden file in the root of the Appcli project called .settings
Inside of settings there's a package called com.appcelerator.titanium.android.core.prefs
There is an android/sdk_version=4.1.2 that was causing all my issues. Hope that helps someone.
Most likely, your issue seems to be with unsupported Android SDK version as per Ti SDK you are using.
So before doing anything, try to grab what this page says to know all about software compatibilities: Titanium Comptability Matrix
It says that minimum Android version as of latest Ti SDK 6.x.x is API 16.
Now, follow these steps carefully to get a fresh start on your system.
First of all, download Android latest SDK from here: Android SDK
Unzip it & put it in at some simple path like in /Users/username/android-sdk
Download Appcelerator Studio (AS) & install it. It will download all pre-requisites like Java, Python
Open Appcelerator Studio & go to Preferences->Studio->Platforms->Android. Select the path of android sdk you unzipped in step 2.
After all these steps, you can open Android SDK Manager (see screenshot where it is) & install necessary SDK, Tools, etc.
Note: I do not suggest to download SDKs via AS as I have faced path issues in beginning.
Even if these steps do not help you, then provide us the log output after running this command on terminal: appc info
If terminal says this command is not found, then you need to go through the AS installation properly.
I had the same issue. Simply deleting all " Android Play Store Distribution" configurations solved my problem.
I'm still getting the gray box with XFPageRendererView text slugged in whenever I try and use the Xamarin Forms Previewer.
I'm on the latest stable build of Xamarin and using latest updated Visual Studio 2015 Enterprise.
When I check Xamarin bug report there's an old bug about this from last year marked as closed but it's still "open" for me.
Hoping it goes without saying that I know I don't "need" the previewer. But for basic layout and sanity check it would be so much quicker.
Thanks.
Last week this was also my problem. i searched the solution in xamarin forums and they said that if you install a mac agent, forms previewer will work. I dont have a mac so never tried it. the solution that worked for me was to install the latest BETA version of xamarin.
See image on how to install BETA
keep up to date JDK version
Check out JDK current version. Tools -> Options -> Xamarin -> Java Development Kit
Install or Update the JDK
Restart Vs studio 2017
After February 20 someday Xamarin's update fixed the problem. Make sure you installed Java SDK 64 bit. Also before opening the XAML file, please build/rebuild the solution couple of times. And try to open/reopen the file couple of times. For details you can check my blog here.
I have created new Xamarin.Forms (Portable) application and tried to build but I am getting the error
TargetFrameworkVersion v7.0 could not be converted to an Android API level. Xamarin.Forms (Portable)
Please check the attached screenshot.
Are there any solutions for this?
This problem is resolved now. I have just formatted my Windows 8.1 and reinstalled everything. I have reinstalled Windows 8.1 and Visual Studio 2015 Update 2 and try to rebuild the application and It's working.
I am not sure about the other solution. Maybe there are some other solutions to resolve this issue.
Thank You.
is anybody familiar with the errors showing in attached screenshot. can anyone help to resolve?There are two errors when i tried to build sample xamarin android app.
Click here for screenshot
Open SDK manager and install API levels on your machine. Search for SDK manager in your programs. And download the Android SDK platform-tools, which is located in Tools folder
For more information take look here
It appears that Visual Studio/Xamarin is not finding your Android SDK installation.
Xamarin.Android Manual Installation
https://developer.xamarin.com/guides/android/getting_started/installation/windows/manual_installation/