yay, no more manually copying libclang to each new AIR SDK release.
Android res folder! So happy they have added this, Harman are doing so well, added a feature in a few months that I asked Adobe for 5 years ago!
ma Android res folder! So happy they have added this, Harman are doing so well, added a feature in a few months that I asked Adobe for 5 years ago!
Can you tell us more about why that feature is important. What will it enable and what are the possibilities now.
This saved me about 30-40 minutes in every app.
leokan23 Can you access this res folder from AS3 or only with ANE?
How is this different from the "bin" folder where anything there gets packaged with the app as well? (FlashDevelop)
2dguy How is this different from the "bin"
If I am not mistaken the bin folder is the assets blob of Android(assets installed with the app). The res folder is specific to Android's OS not just a binary indexed blob file/archive like assets.
Great news, now when I create a res folder in a project, the res folder is in app.apk/res and not in app.app/assets/res
It's not possible to replace a file if it already exists.
Sounds like this would do away with the need for Distriqt's Custom Resources ANE
mfrasier Yep! Finally! 🙂 So much easier this way!
ma I had an issue yesterday, that adaptive icons weren't packed although they were in the res folder. Have you checked if there is a conflict with the SDK res?
leokan23 If I'm not mistaken, the files in the sdk take precedence over the ones in your res folder. So you'll have to delete the default ones from the sdk. This should normally change in the next AIR release, with your local res overriding the sdk properly.
leokan23 I haven't had a lot of time to test this out yet, so not sure on the details yet. But as @Michoko mentions it's probably to do with the order of priority at the moment. You might still have to do that trick with the resource change in SDK for the adaptive icons (http://docs.airnativeextensions.com/docs/tutorials/android-adaptive-icons/)
Thank you both for the reply. I was testing on two different SDK folders. In one I have all the res files deleted so my res folder works. On the other everything is default so my adaptive icons are replaced. I guess this is the issue.
leokan23 See this link for further details about this topic. Next AIR version should be more intuitive by overriding anything that is in the SDK folder: https://github.com/Gamua/Adobe-Runtime-Support/issues/163