Flex SDK installer fails to download https://github.com/swfobject/swfobject/archive/2.2.zip - apache-flex

I am trying to install Apache Flex SDK 4.16.1 + AIR 31.0 or AIR 32.0 with the latest Apache Flex installer - tried it on both Win 7 and Win 10. Starting it with administrator rights.
At some point the installer just stops with this message, nothing happens after that.
Downloading 2.2.zip from: https://github.com/swfobject/swfobject/archive
I can open https://github.com/swfobject/swfobject/archive/2.2.zip in the browser just fine, it downloads the file.
Full install log contents:
Installer path: C:\Users\Myuser\AppData\Roaming\org.apache.flex.installapacheflex\Local Store\Win64
Installer version 3.3.2 (windows)
Available Memory: 49291264 (64-bit)
Using Locale: de_AT
Fetched the SDK download mirror URL from the CGI.
SDK version Apache Flex SDK 4.16.1
AIR version 32.0
Flash Player version 32.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from: https://mirror.klaus-uwe.me/apache/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.zip
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the reference. The file is valid.
Uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.16.1 AIR 32\temp\apache-flex-sdk-4.16.1-bin.zip
Finished uncompressing: C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.16.1 AIR 32\temp\apache-flex-sdk-4.16.1-bin.zip
Downloading 2.2.zip from: https://github.com/swfobject/swfobject/archive
Besides of that every second time it aborts with the following message, but that's another story
Installation aborted: http://flex.apache.org/track-installer.html?failure=true&label=Apache Flex SDK 4.16.1&version=4.16.1&os=windows&installerversion=3.3.2&info=Error #2031
Thank you for any help!

It looks like there is an issue with the installer, after some links where changed/expired. Try downloading with AIR 31 or 30 then update air by replacing files from either AIR32 from adobe (doesnt work for mobile any more) or AIR33 from Harman.

Related

Upgrading runtime and sdk and packages to .NET 6

I was following this tutorial on building an application with ASP.NET Core API and Angular where I used a laptop that had .NET 5 installed.
I got a new laptop and after I installed all the latest tools, I am now on .NET 6 and when I open my app to carry on where I left off, I get the following error when I run dotnet watch run in the VS Code terminal in the backend folder:
The framework 'Microsoft.AspNetCore.App', version '5.0.0' (x64) was not found.
- The following frameworks were found:
6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=5.0.0&arch=x64&rid=win10-x64
Here are 2 screenshots showing what I have installed in this app from the time I was using it on my old laptop (now opening it and trying to run it on my new laptop)
Is there anyway I can cleanly update everything I need in one go, instead of installing .NET 5 or AspNetCore.App version 5.0.0 etc?
Just correct the TargetFramework element's text content to net6.0.
Also update the NuGet packages.
Don't mind what's inside the bin and obj folders, whereas exist. Even better, make sure to Clean or Rebuild your project.

Application could not be uploaded to the device

Following are the details about Xamarin, studio and Mac:
Visual Studio Community 2019 for Mac
Version 8.6.8 (build 2)
Xamarin.Mac 6.18.0.23
.NET Core SDK
SDK: /usr/local/share/dotnet/sdk/3.1.302/Sdks
SDK Version: 3.1.302
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.10.0/lib/mono/msbuild/Current/bin/Sdks
.NET Core Runtime
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
3.1.6
2.1.20
Xamarin.Profiler
Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Apple Developer Tools
Xcode 12.0 (17189.4)
Build 12A8169g
Xamarin.iOS
Version: 13.18.2.1 (Visual Studio Community)
Operating System
Mac OS X 10.15.6
Darwin 19.6.0 Darwin Kernel Version 19.6.0
Issue:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch -sdkroot "/Applications/Xcode-beta.app/Contents/Developer" --installdev "/Users/*******/Projects/testApp/testApp/bin/iPhone/Debug/device-builds/iphone11.6-13.5.1/testApp.app" --device ios "--devname=iPhone XS Max" --install-progress
error HE0004: Could not load the framework 'IDEKit' (path: /Applications/Xcode-beta.app/Contents/Frameworks/IDEKit.framework/IDEKit): dlopen(/Applications/Xcode-beta.app/Contents/Frameworks/IDEKit.framework/IDEKit, 1): Library not loaded: #rpath/DVTAnalyticsKit.framework/Versions/A/DVTAnalyticsKit
Referenced from: /Applications/Xcode-beta.app/Contents/Frameworks/IDEKit.framework/Versions/A/IDEKit
Reason: image not found
All the paths are correct and file exist there.
This is just a sample project and its failing to deploy on physical device. I am able to deploy via XCode but it fails via Mac Visual Studio. Need some help here. I am going to install different version of XCode and try it.
If you are using Xcode 12 beta you need a newer version of Xamarin.iOS from the xcode12 branch. Quoting from the wiki on how to get a build from the said branch:
If you go to our commits page you should be able to see a green checkmark (✔) or a red cross mark (✘) at the right side of the committer's handle. If you click the checkmark (it's usually best to use builds with green checkmarks, but in some cases there may be none, in which case you can likely use builds with red checkmarks as well) you should see a details link which will provide download links for both Xamarin.iOS and Xamarin.Mac packages for that specific commit. Once in a while a commit may not have associated builds (this can occur both for red and green builds) - just try a different commit.
Make sure you download the "Notarized" version of the pkgs.
Uninstalled Xcode 12 beta and installed Xcode 11.6 (Hosted in VM).
It worked successfully.
Now i am able to deploy from Visual Studio 2019 running on windows.

Flex installation aborted

Keep getting this message trying to install Apache Flex.
Happens after Flex wants to know which directory is to hold the installation.
INSTALLATION ABORTED
Win 8.1 laptop . I follow the instructions.
Please help.Is there a fix to this problem? I select
Apache Flex\Apache Flex SDK Installer\newfolder (?)
The installation problem is due to one of these 3 reason:
1 - windows security problem : solution : try running the installer as administrator - "run as administrator".
2 - path of installation problem: some folders name are too long : choose a short folder name "in C:/ for example"
3 - internet connection problem.
The apache flex sdk "installer" is an air application this is not really an installer, it just download choosen parts of apache flex framework - a downloader

Installed FB 4.7 but cannot manage to install AIR SDK 3.7

I always get the error iOS Simulator launch requires AIR SDK 3.4 or higher when I try launching a mobile app on iOS Simulator.
I did everything they say on there website: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
Which is basically just overwrite the AIRSDK directory with the new AIR SDK from: http://www.adobe.com/devnet/air/air-sdk-download.html
And as long as I have AIR 3.6 or higher which I have ( 3.7 ), I just need to change the project's application descriptor to the right version.
I went on and checked this forum post about it: http://forum.starling-framework.org/topic/flash-builder-47-update-tips
Here there is a mention that the AIR SDK must not be downloaded from the usual place, which is the one I used. It also says I could install the Gaming SDK which I did. I installed the earlier version 3.6. Went to their other website to check for versions: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html I installed the version 3.7 from this other site and also the 3.6. Same problem over and over..
I am just missing something but what?
Thanks,
Dave
Yes, the over lay guide is just wrong in terms of where the IDE gets its AIRSDK (mainly the adt command invocation) files from. In order to see where your IDE gets it from you have to look at the launch command, to do this
just select your project then click on the Project menu item in the top bar -> export release build -> select your project in the window -> target version IOS -> click next -> Now the swf file will be built(might take a few secs to minutes depending on project size)
once successfully built you will get a pop up showing warnings if there are any warnings or errors (if you get errors you can't move to the next step, so please fix the errors).
In the next window click on the Native Extensions tab -> click on the customize launch button at the bottom -> opens a new window -> click on show command button at the bottom right -> you will see something like this
/usr/bin/java -d32 -jar /Applications/Adobe Flash Builder
4.7/sdks/4.6.0/lib/adt.jar -package -target ipa-ad-hoc -hideAneLibSymbols no -provisioning-profile path-to-your-provisioning file
-storetype pkcs12 -keystore path-to-your-ios-developer-certificate -storepass
Main.ipa Main-app.xml .DS_Store assets Default-568h#2x.png Main.swf
-extdir path-to-your-external-libs
if you look at the adt being invoked you see that it is not using the one eclipse/plugins/com.adobe.flash.compiler_xxx/AIRSDK/bin/adt.jar so it doesn't matter which version of air sdk you have in the AIRSDK folder under eclipse plugins, because those files are not used by your IDE at all. Idk why Adobe is misleading everyone like so.
So in order for you to properly update the AIR sdk that your project is using, you need to change the flex compiler from the default 4.6.0 (which uses AIR sdk version 3.1 afaik), to the latest AIR sdk or the air sdk version of your choice, in order to do this you need follow below steps
Download the latest Air sdk from here http://www.adobe.com/devnet/air/air-sdk-download.html.
It opens a page like shown in the above picture. If you click on the yellow Download now button it will down the merged air sdk + compiler files. What you need is only the air sdk so in the black encircled area click on the MAC link.(For mac ofc)
Once you finish downloading, extract it (to lets say ~/Desktop/AIR21.0/) open your terminal type
cd /Applications/Adobe\ Flash\ Builder\ 4.7/sdks
here you will have different folders for different flex compiler versions, just take the latest one (in my case its 4.6.0) and make a copy of it and rename the copied dir to 4.6.0_AIR21.0, you can do this with the following command
cp -r 4.6.0 4.6.0_AIR21.0
This will create a copy of the 4.6.0 flex compiler, now all you have to do is update the air sdk files this you can do by using rsync command.
First cd to the directory where you extracted the downloaded air sdk, (in my case ~/Desktop/AIR21.0/) cd ~/Desktop/AIR21.0 Then type the below command to sync the files from this directory to the 4.6.0_AIR21.0 directory (what rsync does is it overwrites all the files, and doesn't remove the files which are already present).
rsync ./* -avl /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0_AIR21.0/
Then you edit the following files in the frameworks directory,
air-config.xml
airmobile-config.xml
flex-config.xml
Update xml files:
<target-player>21.0</target-player>
<swf-version>18</swf-version>
In Flash Builder go to Preferences > Flash Builder > Installed Flex SDKs, add the new 4.6.0_AIR21.0 path, give it a name and make it the default sdk if you wish.
Don't forget to update your project xml namespace:
<application xmlns="http://ns.adobe.com/air/application/21.0">

How to set jar application to use Java 6 instead of 7

How can I set my java jar application to use jre 6 instead of jre 7?
I'm doing this because there are some compatibility issue with the libraries I'm using if the application use jre 7.
Edit:
The application will come with its own installers (using advanced installer) that have a jre6 installer. But I don't know how to trace the installation folder of the jre6.
How can I trace it and make the jar file use the jre6?
You can do this from Advanced Installer much simpler. You have two options:
Force the package to use the JRE 1.6 found on the machine by going to "Virtual Machine" tab from Java Products page and setting the minimum and maximum JRE versions to 1.6
Add as bundle in the project from the same page the JRE for version 1.6. This means that Advanced Installer will automatically import in your package the JRE resources required for your application, thus increases the package size, and will install them in the application's install folder. This JRE bundle will be used only by your application and removed along with it.
When running your application using java.exe, you could provide the absolute path to a Java 1.6 installation. Something like:
absolute_path_to_java6_dir/bin/java -jar yourRunnableJar.jar
or
absolute_path_to_java6_dir/bin/java -cp .;yourJar.jar;otherJarFiles className
You could check the running JVM version when starting your application.
System.getProperty("java.version");
This way you could provide a meaningful explanation to end-user.

Resources