"AndroidSdkData.getSdkData must not be null" error after installing Android Studio 3.2 - android-studio-3.0

I uninstalled Android Studio 2.3 and installed 3.2 but after installation when I opened Android Studio, I'm getting this error:
Gradle sync failed: java.lang.IllegalArgumentException: Argument for #NotNull parameter 'sdk' of org/jetbrains/android/sdk/AndroidSdkData.getSdkData must not be null
Also in Device File Explorer, I'm getting the error:
Error initializing ADB: Android Debug Bridge not found.

If you get the error "Please select Android SDK" you can try the following:
Open Android Studio -> File -> Project Structure
Choose your module (e.g., app)
Check that you have chosen the build tools version and correct it if not.

Related

Getting an error when running xamarin project?

I am new in xamarin, create a sample application using xamarin android native, when try to run get an error
C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -partition-size 512 -no-boot-anim -avd Android_Accelerated_x86_Oreo -prop monodroid.avdname=Android_Accelerated_x86_Oreo
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
Emulator Android_Accelerated_x86_Oreo cannot be started.
Runtime checks completed
Build has been canceled.
In Visual Studio go to Tools -> Android -> Android SDK Manager
Then make sure Android 8.0 / 8.1 (whichever one you're targeting) is installed.
Next in Visual Studio go to Tools -> Options -> Xamarin -> Android Settings
Then make sure you have the appropriate paths specified in Java Development Kid Location and Android SDK Location (should see little green checkmarks).
Also check the box to "Auto Install Android SDKs".
If something is screwed up still, would recommend going to Visual Studio Updater, then confirming Xamarin workload is installed or try to repair.

Xamarin.Android F# template fails to build on VS2017 15.7.1

I have Visual Studio 2017 Version 15.7.1 + Xamarin.Android 8.3.0.19 running on Win7. When I create an F# project based on Blank App Android template, build fails with the following error:
1>FSC: error FS0193: Could not find file
'C:\Users\vhrd47\source\repos\App5\App5\ProvidedTypese4595d25-58bd-4f87-96fc-ec2d29402d62.dll'.
What am I doing wrong ?

Visual Studio Cordova, building iOS package via remote agent issues

We've been building a mobile application in Visual Studid Community 2015 using the Cordova platform with the aim to publish to Android and iOS.
Android we have no issues with but want to submit the app to Apple. The problem is that we tried setting up a remote agent the last couple of days but have ran into a brick wall.
On our Macbook Pro we've installed node latest version as we are running Cordova CLI 5.4.1. Also we've installed xCode latest version. Signed up for Apple's developer program, created a distribution profile, got our certificate etc. In other words we've ticked all the boxes.
Now the issue is once we try running the remote agent and trying to connect remotely via Visual Studio to our Mac to submit to the Apple store. If we use remote agent we get the follwoing 404 error in Mac's terminal:
GET /certs/{pin number} 200 12ms - 3.49kb
GET /modules/taco-remote 404 3ms
And in Visual Studio the following pop up:
Unable to connect to remote iOS build server. Underlying exception:
The remote server returned an error: (404) not found.
If we try to use remotebuild we get an error "error parsing JSON remotebuild.config".
We've tried finding documentation or information on either of these but everything just points back to: http://taco.visualstudio.com/en-us/docs/ios-guide/ for remote build or Visual Studio's pages on how to install and run remote agent.
We've followed those steps 10 times but just keep on getting the same error. If we try from another computer's Visual Studio we get an error "Could not resolve host" though the host name is definitely correct.
We are using Visual Studio Community 2015.
Any ideas?

Xamarin Studio 4.0.10 Android Project build fails with "Error initializing task PropertyGroup"

Using Xamarin Studio 4.0.10 on Mac OS/X 10.8.4 with latest updates from stable channel I am now getting the following error when trying to build a simple out of the box Android application project:
Error: Error initializing task PropertyGroup: Not registered task PropertyGroup. (BindableMap.Droid)
Anyone else getting this and if so were you able to solve it?
Thanks for any help!
You need to use Mono 3.2 (or later) since Xamarin.Android 4.8 uses a different compiler than the previous versions which requires Mono 3.2.

Blackberry bar signing error

I have an android application and want to port it to BB 10 device. I have converted it to bar file with command line tools and configured my computer for signing application. But when i am trying to sign application it gives error.
Command Line :
batchbar-signer MyFile.bar author.p12 password
It gives error
blackberry.tools.SDK\lib/KeyTool.jar
Error: null
Also tried online tools to sign my application but online tools gives error,too
Installed blackberry plug-in for Eclipse as an alternative , also it doesnt work.
My ADT Version : 21.0.1
JRE Versiyon : 7u21
Blackberry SDK : 1.5.2
Waiting for your help
THANKS.
Believe the reason currently for the error with signing the application is that you are using Java 7 version while BlackBerry current Java support is Java 6 - spec docs
Does it continue giving you an error if you change to an earlier Java versions?

Resources