I have an issue related to installing previewer. When I installed DevEcoStudio version 3.0.0.800, previewer did not get installed. On opening previewer it was showing error as "Getting SDK path failed".
Pls try below:
Download the previewer of the corresponding SDK version.
For DevEco Studio 3.0 Beta2 (version 3.0.0.800), after downloading SDK (APIs) and Previewer tools, you also need to enable HarmonyOS Ark and eTS Previewer from DevEco Labs as shown below.
ArkCompiler is not compatable to build HAPs/APPs for HarmonyOS 2.0.0(SDK6) or lower, If you would like to use ArkCompiler, you need a app for HarmonyOS 3.0.0(SDK7) or OpenHarmony 3.0 LTS.
Also, check your SDK installation, and check the emeulator option for your specified SDK.
Related
I downloaded and installed unity 2022.1.10f1 using links found in :
https://unity3d.com/unity/whats-new/2022.1.10
I am developing for android using windows os,
so I downloaded both unity editor installers:
https://download.unity3d.com/download_unity/9aa0f82c4f96/Windows64EditorInstaller/UnitySetup64.exe
and android target support:
https://download.unity3d.com/download_unity/9aa0f82c4f96/TargetSupportInstaller/UnitySetup-Android-Support-for-Editor-2022.1.10f1.exe
but the problem is, android target support does not include android NDK required for building android apks.
to find what specific version of android NDK required for this release of unity, after launching Unity editor I went to: Edit -> Preferences -> External Tools tab, and I went down to: Android NDK section, unticked "Android NDK installed with unity (recommended), and It shows me the required version of NDK. which in this case is: 21.3.6528147 as shown in the photo here
Unity recommends that I download Unity SDK and all of its relaated modules using Unity Hub: https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.exe but there are sometimes when you have a limited internet package and you want to download offline installers for unity and modules so that you can re-install them if needed later on.
I looked on the internet for download link for that NDK version, but I can't find it.
I hope you can help.
Thank you
I found the link :
using Android Studio -> configure -> SDK Manager -> Android SDK -> SDK Tools, and then tick on "Show package details", then scroll down to "NDK (side by side)", and then tick on the required version. in my case: 21.3.6528147 as shown in the image bellow
and then press apply. It will bring you a confirmation screen, confirm it. then it will start downloading the file, and will show you a download screen like this screen:
now I can see the correct download link, which in this case is :
https://dl.google.com/android/repository/android-ndk-r21d-windows-x86_64.zip
I copied that link and stopped the downloaded. I used an external download manager to download the file and keep it offline. After the download had finished I extracted the file into a directory and set unity to look to that directory for Android NDK. as shown here:
This stopped me for some time, and I thought I should share it with you.
I hope it helps someone.
Thanks
For "Mac M1 Silicon" Download link for NDK (21.3.6528147) is https://dl.google.com/android/repository/android-ndk-r21d-darwin-aarch64.zip
I'm building over a non from scratch project, that a previous developer created in my office.
In a previous version of Unity - Visual Studio for Mac I generated some build for iOS, but now, with the newest version, I get this configuration:
Also, the configuration for Android is disabled.
How I can add Android as target for my project to generate an apk file?
UPDATE 1
VS Configuration.
UPDATE 2 / BUILD CONFING
Please refer to the following link to setup unity to make Android APK:
https://docs.unity3d.com/Manual/android-sdksetup.html
You will need to download: the latest version of java, and the android sdk.
You will need to set the unity path to the sdk
You will need to download and set up the android ndk.
Sounds like a lot of work but its really a lot of waiting. the Android SDK can take some time depending on which versions you wish to support and how far back you go.
Once you have followed the guide above you will be able to change your project to android in the project settings menu.
Good luck!
For mac users with unity looking to set up android:
Instructions for Mac
you should be able to select android here and then click switch platform...
I want to implement login using facebook in my windows phone 7.1 application
When I try to install Facebook C# SDK using the nuget package manager console. It is added successfully, but when I try to add the reference to my project its giving following error.
I did not write any code or anything. I just want to add the reference to facebook like using facebook; in my code behind file
I just tested this and I cannot reproduce the error.
Make sure you uninstall any old version of the SDK.
Then, right-click the project and add the SDK using nuget.
Do not install by hand.
That error message seems pretty clear - your project is set to target Windows Phone 7.1, but that version of the Facebook SDK doesn't support Windows Phone 7.1
See if there's an updated version of the SDK which supports 7.1, or target your project at a version that the Facebook SDK does support
My office system already has some Android SDK versions 1.5, 1.6, 2.1, 2.2, 2.3, 3.1, 3.2 installed into Eclipse. These versions are working fine. Now I wish to install version 4.0 but I don't know? How can I install Android 4.0 Ice Cream Sandwich into my Eclipse? I am using Ubuntu 10.04.
Also if you know how to install Android 4.0 under windows then please tell me.
You will be having an Icon in you Eclipse Bar.. That is SDK Manager.. Click on SDK Manager you will get below image :
Select on API level you want to download. Also ensure that any update is available for ANDROID SDK TOOLS and ANDROID SDK PLATFORM TOOLS , if so update it also..
In Windows, Luanch SDK Manager. It will show you Installed/Not Installed/ Updates available. Select whichever API level you want and hit Install Packages...
If you are using Eclipse, what you need to do is to run android SDK manager. A new windows pop ups. It shows all the packages available. All you need to do is to update them.
You could do the samething by browsing to where your android-sdk. Go to tools folder and run android (./android). Again SDK manager pops up with all the available packages.
You Can Download latest Version of Android SDK below link:
http://developer.android.com/sdk/index.html
It's contains android 4.0 ics sdk..!
(OR)
Open Android SDK Manager in eclipse it's shows android 4.0 sdk (or)API Level 14 shows not installed to you can download Package's for android 4.0 working..!
Thanks..!
If you are behind the proxy, go to Tools -> Options in Android SDK Manager and set the proxy setting.
I started developing with Titanium and now I really stuck on one part.
I downloaded the Adroid SDK and added the path to Titanium:
/Users/michael/Downloads/android-sdk-mac_86/
I can open e.g. Kitchen Sink in the iPhone Simulator without problems, but when I want to open it in Android then my screen looks like this: Screenshot
Why is down there all the time, even after 2 hours of waiting, the label "loading..." ?
some great advice given here - helped me out.
Switching to TRACE will probably show that Android SDK Platform 1.6 and API 4 is missing.
More info here
1) You can install Android SDK 1.6 (run tools/android from your Android SDK folder and download the older SDK 1.6 from the Google Repository),
and Titanium will detect Android SDK
2) As for Android SDK 2.2, adb moved to platform-tools folder, so you will have to create a link in [your-android-sdk-folder]/tools e.g. :
ln -s ../platform-tools/adb
(full instructions for non-linux here : http://guides.appcelerator.com/en/getting_started.html)
Finally, in the Titanium Test&Package/Run emulator window, you will have the choice between Android SDK 1.6 and 2.2
Try to open your Android_SDK_Dir/tools, run file android to create a new Android Virtual Device. After that, open your Titanium again. Maybe this will solve your issue.
Take a look at your image. Value of SDK listbox is "...loading...". This means you Titanium cannot determine which Android Virtual Device is. So, as I said, try to create new Android Virtual Device first.
having the same issue - have you found a workaround?
found out that after downloading the android sdk - there are other components to be downloaded, which is different from previous versions. Also found some implication that loading the android emulator prior to launching the app from titanium may yield better results.
check the android docs for updating the sdk via the avd manager
load the emulator first video:
http://vimeo.com/10866226
Try setting the Filter from "Info" to "Trace" that may illuminate things.
Most commonly, you may not have the right platforms installed. Just install all of them if that's the case.
add a blank folder android-7 in android/platforms ..n restart titanium ..it worked for me on ubuntu