Copy link to clipboard
Copied
Hi everyone,
I am about to pull my hair off. I have tried to spent the complete morning to install the Adobe AIR SDK on my Ubuntu machine and it just won't work.
The runtime version is already installed and have verified it to be working with various apps.
I have Googled like never before to get a solution by myself, before asking here and have so far been able to find two tutorials (this and this) which I've followed the instructions of to end up with the same result;
Typing adl
in the terminal ends up with Runtime not found
being thrown.
What can I do?
Thanks!
Copy link to clipboard
Copied
Hi
Are you sure that the SDK has been downloaded properly?
One way to get SDK working on Ubuntu would be:
1. Download the SDK to a folder ( say: /home/sundeep/AIRSDK )
2. Launch the terminal (gnome-terminal) and change directory to the above folder using the following command:
cd /home/sundeep/AIRSDK
3. Untar the tar ball using the following command:
tar -xvf AdobeAIRSDK.tar
4. Go to bin folder :
cd bin
5. Launch adl:
./adl
Hope this works for you.
Sundeep
AIR Team
Copy link to clipboard
Copied
Hi Sundeep,
Thanks for your support!
Yep - SDK downloaded properly, tried to download and retry install multiple times before posting here.
I followed your instructions and was able to run the ADL following your instructions, but only when specifying the complete path to the ADL;
"/home/AdobeAIRSDK/bin/adt "
Is it possible to install it properly, so I can call the adl command from whatever dir without specifying the complete path to the folder as shown above?
Thanks
Copy link to clipboard
Copied
Hi
To be able to use ADL and ADT commands from anywhere you have to modify your $PATH variable to include the directory where you have downloaded the SDK.
1. Launch terminal
2. Open .bashrc file for editing:
vim .barshrc
3. Scroll down and add the following line:
export ${PATH}:/home/AdobeAIRSDK/bin
4. Save the file
5. Close your terminal and launch again.
Hope that helps !
Sundeep
AIR Team
Copy link to clipboard
Copied
Hi again,
I think we're getting closer!
I had to use a slightly different syntax in my Ubuntu install to avoid errors;
export PATH=$PATH:"/home/AdobeAIRSDK/bin/"
Unfortunately, the above setting gives the very same errors I mentioned earlier. (Runtime not found (No such file or directory) & Unable to access jarfile /bin/../lib/adt.jar).
Setting PATH to the what is shown below does however make ADL & ADT commands to work, but unfortunately killed pretty much every terminal command that I'd tried...
export PATH=:"/home/AdobeAIRSDK/bin/"
Any suggestion?
Copy link to clipboard
Copied
Hi
Strange! For me adding the following lines is doing the trick:
> export PATH=$PATH:/home/AdobeAIRSDK/bin/
Let me dig deeper in and see if I can find something that can be causing the issue on your machine.
After you have modified the PATH variable can you share what the ouput of the following command is:
>echo $PATH
-Thanks
Sundeep
AIR Team
Copy link to clipboard
Copied
Hi Sundeep,
Thanks a lot for your time and efforts.
I tried a longshot in my .bashrc file:
export PATH=~/AdobeAIRSDK/bin:"${PATH}"
It works! I had to move the AdobeAIRSDK-folder into my user folder though. No idea why this work and not the former ones. Let me know if you have any ideas - could be information gold worth for the future!
Again - thanks a lot for your support!