Android app from Fire doesn't work with AppCompatActivity

You need something that uses proper Gradle references, as my fix needs rthiose to determine dependencies between packages. You cant just reference the .aars.

What that is, is up to you. but it probably cant include appcompat, for the above reasons (because your fix depended on locally patching that package, which is not feasible). Consider appcompat a broken package that cannot be made to work.

Use the next build after the 20230303-191417-elements-develop one that is running now. The 191417 ones does not have my fixes yet.

These references are the same as In Android Studio - i will try with gradle …gradle for appcompat were broken earlier… Of course i Will try with gradle references the same I have in AS - no problem.
I can do this…

Yes, but without gradle I don’t know the dependencies, which is what my fix is relying on.

Ok I understand… I prefer gradle versus aar …

Is it (depdendency) described in pom files ? I try to understand all steps in build

The dependencies are in their metadata of the gradle, yes, alongside the aar (or jar). Form just the aar, there’s now way to see dependencies lies (afaik, though I could dig into that, at a later time, so see kit I missed a bit of info)

Error is the same ā€œalphaā€ - references in gradle are the same as in Android Studio.
People form Xamarin fight too but they have success , but the worst thing is that this is library taken from their repositories which of course worked with aapt and has many errors in newer version too.It is recomended by google but how to use it… I think that Google repair these errors in environment. I have no idea what to do , but the worst think is that I have to rewrite 3 apps …using of course some code from libraries I did …
I hate them …

This Android environment has many errors and these errors are repaired inside it…and they are problematic for other tools suppliers…
It’s a pity, maybe Google doesn’t want competition in this matter… I don’t know…
So , the only way is to use AS so as not to hit the head in the wall in the future…
Wrrrrrrr…
anyway, thanks for trying @mh

Have you tried with this
--merge-only Only merges the resources without verifying resource references. This flag should only be used with the --static-lib flag.

So have two tried the new build? Because all three off these responses were posted before that build was even read and I cant really make heads or tails of them :wink:

I tested on 203745… Is it good?
There was known alpha problem…

On the last version from Firehose problem is the same with library ā€œalphaā€ i tried with appcompat 1.2.0 and 1.3.0 without success.

Did you read any of what I wrote last night?

The ā€œalphaā€ issue is NOT what I fixed. the ā€œalphaā€ issue is a valid, proper error because appcompat uses values that aren’t there. appcompat is broken (for latest Android SDK/Androis tool chain), and there is nothing I can do about it, because its the package itself that is broken. It uses something that isn’t there, an no fix of mine can fix that, as far as I can tell.

The fix I made was that valid packages that depend on other packages, and depend own resources from those other packages, should now aapt2 link correctly. Assuming they are valid, and dont use stuff that isn’t there.

Does that make sense?

Yes it does. I know that problem is not yours right now only my because for appcompat there are many problems and errors anx these errors are repaired by plugins and android studio. If these appcopat doesn’t work my 3 apps not working too and i have think whats next.