Change signing certificate in Intellij IDEA for .air installer - intellij-idea

The IDE saved my configuration and I do not see a way to change it, the cert expired so I need to change it. I do not remember if I set this in a screen somewhere or I was asked for the details first time I built this, I am also unable to find the answer in the documentation.

From the menu File -> Project Structure a popup will open, select Modules, then expand your main module, then select the configuration then click on Air Packaging tab

Related

problem with running files in intellije idea,itsApparently the problem was caused by windows security

enter image description hereenter image description here
Windows Defender might impact performance
Exclude IDE and project directories from antivirus scans:
C:\Users\shahrokh\IdeaProjects\untitled1
C:\Users\shahrokh\AppData\Local\JetBrains\IntelliJIdea2021.2
C:\Users\shahrokh.gradle
Alternatively, add the IDE process as an exclusion.
i search it in the special site of intellij idea ,and see it:
If you prefer to perform the necessary configuration manually, you can do so by following these steps:
Click the Start button
Type “Windows Security”
Click on “Virus and threat protection”
Click on “Manage settings” under “Virus & threat protection settings”
Scroll down if needed, and then click on “Add or remove exclusions”
For every folder shown in the notification, press the + button, select “Folder” from the menu, and select the folder.
but when i search Windows Security my system show me windows defender ,there arent these setting
In addition, I changed my anti-virus settings so as not to interfere with the intellij idea process. But again, the problem was not solved.
i use kaspersky protection
please help me
You don't have to worry about anything. IntelliJ will continue to function as it is intended to and will get the work done. I also get some messages like this sometimes and just ignore them. Again there's no major impact on the performance. Hope that I was able to help.
i uninstall my intellij idea then install it again and it solved

Intelij Ultimate 2019.2 JAXB

I have read how to generate a schema from a java class but the menu items mention dont exist. Information is given on how to enable the Web Services plug in which it says is built in, but I cant find it. I expect this is why the menu item under tools do not appear when the source file is open in the editor.
I cannot find the any plugin for JAXB.
The instructions I am trying to follow are at https://www.jetbrains.com/help/idea/generating-xml-schema-from-java-code.html
At
https://www.jetbrains.com/help/idea/generate-xml-schema-from-java-using-jaxb-dialog.html
It says "This functionality is provided via the WebServices bundled plugin, which is enabled by default." but I dont see it in the list of installed plugins!
Must be doing something wrong but now out of ideas for what to try next.
Any suggestions?

Codename One: App broken after iOS build

I have been building my App for Android repeatedly without any errors. I know tried to also build it for iOS which would not work, since I now know that I need a Mac.
After that, I tried to build it again for Android and now everything seems broken. IntelliJ tells me everywhere that it "can't resolve Symbols" and "can't resolve methods". I tried opening and closing the IDE and also restarted the computer, tho I am not able to make a successful build again. This just started after the failed iOS build.
Here is a Screenshot for you, those are very simple lines, there is no reason for them not to work. I am really clueless right now what wrong.
Maybe someone of you has an advice for me? I can only repeat, i did not change the code at all, but it just won't compile anymore, neither in the simulator nor with the Android build.
That may be due to a missing or corrupt CodenameOne_SRC.zip and/or CodenameOne.zip and/or JavaSE.jar files.
Solution:
Create a new dummy Codename One project, right click on the dummy project and select Properties then click the Update Project libs button. Once it's done, close the dialog and right click the project again, then navigate to Codename One -> Refresh cn1lib files.
Now close the dummy project and minimize your IDE and go open your Dummy project folder in your file explorer. Now copy the CodeNameOneBuildClient.jar and JavaSE.jar found in the main folder to the relative path of your faulty project, replace them if already exist. Do the same for CLDC11.jar, CodenameOne.jar, CodenameOne_SRC.zip that are found in the lib folder of your dummy project.
Go back to IntelliJ and right click on your faulty project and navigate to Codename One -> Refresh cn1lib files, then clean and build your project.
This should fix any reference or missing class issues.
FYI, you don't need a Mac to build an iOS project in Codename One.

how do i chnage the desktop icon for a visual basic program (.exe)

im making a vb.net app and i want to set the icon, how can i do this?
--edit--
turns out i was a bit confused, and it was working. but the answers can still be useful for others.
If I understand the question and issue, your setup/installer might be missing something.
It would seem you did create a shortcut, add it to the Setup project to install to the Desktop (else you wouldnt have one at all)
Select the shortcut in your setup project, open the properties window
Click Target. The list of files you are installing will come up. Select the App.Exe (ie the main executable "MyApp.exe" ususally the primary output). I think Icon is supposed to be set to "Icon" as well.
I think those 2 things combined link the Desktop Shortcut's Icon property to Use the App.Exe's. If there is also a shortcut in the user's programs menu do the same thing (or drag drop a copy).
You are basically doing to the Setup Project's shortcut what you would do to a normal desktop icon to change it or set it. The proj apparently fills in the actual path etc at install.
EDIT
PUBLISH simply compiles everything and produces files for the dev to distribute. It is called PUBLISH because in many cases the output includes a ready to use Setup program for the END USER to install on the PC. (Based on your new Pic, you are trying to reinstall everytime you click the icon or file inside the folder.)
Again, if you do not add a Setup proj to your project, the default one is used and it gives no option for where to install and does not add a shortcut.
Just delete all that junk, Publish again to the default location (VS Studio\...Project name\bin\Publish). Go to that folder and run setup. It will still install to Users\AppData.. but will add a shortcut (to the program) to the start menu.
For a desktop icon, do the "Send To Desktop ..." thing. To INSTALL an icon, you have to add and modify a Setup proj to your Solution.
HTH
'The folder shows the icon for the app, but the icon for the form is different. change the form's icon(in the property grid) to the same as the app and you should see it then.
When you publish it there's 2 files produced that are basically setup files. One relies on the ClickOnce Application Deployment Support Library and the other is a standalone setup app. Since neither one is the actual app you designed, they aren't going to have the icon you want. You'll probably have to investigate other more configurable deployment options.

Code Sign error: The identity 'iPhone Distribution:' doesn't match any valid, non-expired certificate/private key pair.. Any solutions?

I'm in the process of writing and deployment of my first iOS application. When I tried to build release build (flavour) of my project for real iOS device (I select Release in project schema and choose Products->Archive). I got an error as in the question title. Trying googling I found that it's a very popular error and only on stackoverflow there are nearly four threads for it. But trying to follow advices listed there changed nothing.
I tried to change certificate keys preferences (code signing identity) in the Targets->Build Settings in different ways. I also tried to change them directly via xcodebuild. Eventualy, I've tried all the combinations (developer/distribution). May be this settings even don't relate to this problem - i don't know.
So the question is there some exact solution for this problem?
I had the same issue when I upgraded to xcode 4.5 iOS 6. Just go to organizer and select profiles and when you see your distribution click on it and remove it. Then try to refresh. It will connect to developer site and download your current distribution profile. Then when trying to choose your profile in your project you can see the new set of profiles which will work. Just make sure your distribution profile is current. That should so it.
Adrian
Found another esoteric thing that needs to be checked if you're still getting this error after having tried everything. Make sure the code signing selections under TARGETS->Build Settings isn't overriding what you've set for code signing in PROJECT->Build Settings.
This error came up for me because I did not have scheme setup in debug mode.
Option Click on the run button pops upa window in which you should be selecting 'Debug' for "Build Configuration".