Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

Displaying Harman launch screen although having license file (Android, AIR SDK 33.0.2.338)

Open Marcophono2 opened this issue 2 years ago • 10 comments

Hello!

For certain reasons I am using an elder AIR SDK because I only want to use Android <=9 for compiling. That's why I am using ver. 33.0.2.338. As usual I placed the adt.lic into the lib folder but when launching the app the Harman screen comes up. As far as I remember there were some problems with this in the past but I couldn't find the related threads. If this version 33.0.2.338 is affected, which other AIR SDK <= Android 9 can I use? And where to download it? On your download website some of the elder version download links are greyed out. (so they are no download links anymore)

Best regards Marc

Marcophono2 avatar Dec 10 '21 22:12 Marcophono2

I thought the 338 build was one of the more stable ones .. is the only problem that the splash screen comes up? If so, can we try working out why that's being generated: if you do "adt -license" from a command-line, what does it say? There were some issues I think around the fact that the license file needed to be writable (hence not under Program Files...)

thanks

ajwfrost avatar Dec 11 '21 08:12 ajwfrost

Hi Andrew! "adt -license" returns "License file is present and valid". The license file (and the whole AIRSDK folder) is not unter Program Files. And yes, the splash screen is the only problem I have.

Best regards Marc

Marcophono2 avatar Dec 12 '21 21:12 Marcophono2

Okay .. so I just checked back in the history and there was a problem with the license detection here.. This should be sorted out with build 33.1.1.190: https://airsdk.harman.com/download/33.1.1.190

Can I check why it's not possible to use the latest AIR SDK but to set the "targetSdkVersion" to 28?

thanks

ajwfrost avatar Dec 13 '21 09:12 ajwfrost

Oha! It's enough just to set the targetSdkVersion to the desired one? Sorry then! I thought that only has to do with the compiling technology but would not "exclude" later security settings. Thank you, Andrew! That is the easiest solution of course!

Best regards Marc

Marcophono2 avatar Dec 18 '21 22:12 Marcophono2

Sorry guys I by reading this thread I do not have understood how to fix this problem.

I have typed adt -license and all is okay: AIR Developer Tool version 33.1.1.856 License file is present and valid DeveloperID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

At the moment I have this issue when I launch the app from Flash Builder (I can't confirm that the screen appears also when I run apk or ipa because I'm trying to fix an old app and it took me some time for sure to update every ane and so on). Can you help me to fix this? Thanks in advance

3x1010 avatar May 19 '22 07:05 3x1010

Hi @3x1010 - so to clarify, you're running an app from Flash Builder so it's running via ADL, and you're seeing the splash screen at start-up. Can you confirm what platform (Windows/macOS)? and also, can you check whether the license file is present under the "user" home folder then ".airsdk/adt.lic"? So e.g. c:\users\username\.airsdk\adt.lic or /Users/username/.airsdk/adt.lic?

thanks

ajwfrost avatar May 19 '22 17:05 ajwfrost

Hi @3x1010 - so to clarify, you're running an app from Flash Builder so it's running via ADL, and you're seeing the splash screen at start-up. Can you confirm what platform (Windows/macOS)? and also, can you check whether the license file is present under the "user" home folder then ".airsdk/adt.lic"? So e.g. c:\users\username\.airsdk\adt.lic or /Users/username/.airsdk/adt.lic?

I still have to run it on device, I'm busy in upgrading the entire stuffs (ane and so on) to the last versions. I'm running it in emulation on my windows desktop and it shows the splash screen (although it's all okay with the license). What I do not know is if the splash screen only shows because I'm in emulation and then it disappears when I run the app on device. Last time I made an app (about 1 year and half ago) it didn't diplayes also when I run it in emulation on my windows desktop.

3x1010 avatar May 20 '22 04:05 3x1010

Well if ADT is able to find the license, per your original post with adt -license, then when you package up an application for distribution it shouldn't then display the splash screen.

When you're previewing it on the PC, it's using ADL, and perhaps there's an issue with ADL finding/checking the license file.... I would suggest (a) checking that the file is present in c:\users\username\.airsdk\adt.lic, and if that is the case but doesn't help, then (b) try copying that file back to the AIR SDK folder's lib directory and see if ADL then picks it up (where ADL is launching from the equivalent bin directory). If this second step doesn't help, please use Task Manager or similar to check the actual path of ADL that's being used by Flash Builder, it may be that this is a different/old version of ADL...

thanks

ajwfrost avatar May 20 '22 05:05 ajwfrost

FYI, In recent air versions, I've also been seeing the splash screen when debugging on desktop (only sometimes, I'm not sure exactly what the case is that makes it appear), but the screen never appears when packaging for mobile so it isn't an issue for me.

Ender22 avatar May 20 '22 07:05 Ender22

FYI, In recent air versions, I've also been seeing the splash screen when debugging on desktop (only sometimes, I'm not sure exactly what the case is that makes it appear), but the screen never appears when packaging for mobile so it isn't an issue for me.

Okay thanks @Ender22, I just wanted to be sure about this behaviour!

3x1010 avatar May 20 '22 07:05 3x1010