Fabric gradle plugin integrate with AS3.0(android-gradle-plugin-3.0) - twitter-fabric

Error:
Execution failed for task ':app:crashlyticsUploadDistributionPreviewRelease'.
getMainOutputFile is no longer supported. Use getOutputFileName if you need to determine the file name of the output.
When I call crashlyticsUploadDistributionRelease, the gradle console display these message to me,
I tried the latest fabric plugin(io.fabric.tools:gradle:1.22.1), I assume that fabric gradle plugin didn't support the latest android-gradle-plugin-3.0-x.
Here is more info about new gradle-plugin-variant-api, may be it it would help

Mike from Fabric here.
Edit
Update to version 1.24.1 of the Fabric Gradle plugin for compatibility with Gradle 3.0.+.
Original
Yes, the Alpha versions of Android Studio and Gradle contain breaking changes and potentially bugs. We will be on the lookout for changes to Gradle and Android Studio to see if additional changes are needed on our end or if they are resolved by those tools.
If you need to continue to use Fabric, using a more stable version of Android Studio and Gradle is recommended.

Related

How to fix a packaged WinUI3 app build, what makes trouble with ProcessorArchitecture?

Today i'm trying to build a .NET 6 WinUI3 App in AzureDevOps. My csproj contains:
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RootNamespace>MyApp</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;arm64</Platforms>
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
<PublishProfile>Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
<UseWinUI>true</UseWinUI>
<EnableMsixTooling>true</EnableMsixTooling>
<ApplicationIcon>Assets\2764a994e49c43a2932b6d7f465e99eb.ico</ApplicationIcon>
<PlatformTarget>x64</PlatformTarget>
As "Build Platform" i have defined in Pipelines variable "x64". As error i become:
[error]C:\Users\VssAdministrator.nuget\packages\microsoft.windowsappsdk\1.1.2\buildTransitive\Microsoft.Build.Msix.Packaging.targets(1016,5): Error : Packaged .NET applications with an app host exe cannot be ProcessorArchitecture neutral. Please specify a RuntimeIdentifier or a Platform other than AnyCPU.
I'm wondering why this happens and how to fix it?
I figured this out! In Visual Studio, right click on your solution and click properties. For me, a few of the projects didn't have a Platform selected. I changed them all to x64 and the build succeeded. Hope this helps.

Unable to run a mixed-version program in flutter beta despite following official instructions

I have an existing project that I want develop into a web app, so I switched to the flutter beta channel. And since I also intend later to refactor my code for null-safety I started upgrading as many package dependencies as are available with null-safe revisions. For now my project has to be a mixed-version program.
I have followed the official Migrating incrementally and Testing or running mixed-version programs instructions but my IDE (IntelliJ) is still riddled with Dart Analysis null-safe errors and my project fails to build because of the same errors. (I have invalidated caches and restarted IntelliJ, to no effect.)
I have set the minimum SDK constraint in pubspec.yaml to 2.12.0-0; I've added // #dart=2.9 to the top of all Dart files I don’t want to consider for null-safe analysis at this point in the migration, including main.dart; and I am using the flutter run --no-sound-null-safety command.
Can someone recommend what can be done to run my project as a mixed-version program?

JDK, SDK, and Gradle errors trying to build a Unity game for Android

The question:
My environmental variable JAVA_HOME is set to the location of my manual installation of Java, so why is Unity claiming it is an invalid directory?
Supporting information:
I'm using Unity to build a game for Android phones with the intent on putting it on the Google Play Store for a client. We need to use a Google Ad plugin for managing ads in the game. However, when I put the plugin into the project I can no longer build the game.
When going to Assets > External Dependency Manager > Android Resolver > Resolve, it claims it succeeds.
But when I try Assets > External Dependency Manager > Android Resolver > Force Resolve or even building the project I get a failure and a perplexing error.
Originally I had the same problem as: Intellij Gradle terminal ERROR: JAVA_HOME is not set
When I tried the solutions there as well as following the steps at: https://javatutorial.net/set-java-home-windows-10
I've tried setting the environment variable both to the independent java installation as well as the location of Unity's JDK module and got an error that they were both invalid directories:
When I try to build I get the same error plus some additional errors:
I am unsure if the SDK error is related or not.
I already tried toggling these off and on, and even changing the installation targets to manual installations:
Possibly relevant information:
Using Unity 2019.3.0f6
InMobi Google Ads Unity Mediation Plugin Version 3.0.0
Windows 10 Pro
Java JDK 14.0.1
If Unity can't find JAVA_HOME it won't do anything, have you tried checking if you have that Environment Variable set correctly?
Check this thing.
Maybe you will need a Restart on you computer to see the changes.

Why does my app flutter can't download the dependencies?

I can't debug my application.
First, the error happened when downloading the gradle, I managed to solve it, downloading manual and pointing to local file, but after that started to happen the error in other dependencies,
It's like I'm using proxy, but I'm not using proxy.
I've tried changing the version of gradle and all the other tips I've seen on the internet but nothing works.
I'm using the latest version of android studio on a macbook
the error message always relates to UnknownHostException.

Invalid or corrupt jarfile android.jar issue

I am trying to build and run an android project using the phonegap framework.
I have configured the IDE and followed the steps described in an official tutorial (see link above).
The problem is that I never had a chance to build the project since it contains errors. The major one is (see screenshots):
Archive for required library: 'C:/Program Files/Android/android-sdk/platforms/android-8/android.jar' in project 'xxx' cannot be read or is not a valid ZIP file
Also, I have tried to manually run the aforementioned android.jar but got the same error:
The problem keeps reproducing through several SDK versions: r14, r15.
BTW, I experience no troubles building a project using other android versions, e.g., 2.3.
Would someone help me out? Thanks!
Use the Android package manager to remove and then re-download the Android 2.2 SDK as something is corrupt with that package.