Fixed
Status Update
Comments
11...@gmail.com <11...@gmail.com> #2
Same issue.
Try this:
Roll back to AS-C3.
Set gradle back to '...:3.6.0-alpha03'. (The issue is caused by this, I think.)
Clean project.
I'm sure an update will fix it.
Try this:
Roll back to AS-C3.
Set gradle back to '...:3.6.0-alpha03'. (The issue is caused by this, I think.)
Clean project.
I'm sure an update will fix it.
pl...@gmail.com <pl...@gmail.com> #3
Same issue.
ro...@gmail.com <ro...@gmail.com> #4
Successfully downgraded projects to use AS3.6C3
RG
RG
mv...@gmail.com <mv...@gmail.com> #5
Same issue here, downgrading to AS3.6C3 works OK
ro...@gmail.com <ro...@gmail.com> #6
New project does not produce this kind of error, will try to drill down to what dependency will break it.
ro...@gmail.com <ro...@gmail.com> #7
Have drilled down and found that the error occures on
dependencies {
...
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
...
}
tested with following alphas and betas
"alpha3": OK
"alpha4": Fail
"alpha5": Fail
"beta1": Fail
"beta2": Fail
This was a simple test, have not tested thoroughly with a more complex test yet.
-> Solution : Downgrade 'androidx.constraintlayout:constraintlayout:2.0.0-xxx' to 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
RG
dependencies {
...
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
...
}
tested with following alphas and betas
"alpha3": OK
"alpha4": Fail
"alpha5": Fail
"beta1": Fail
"beta2": Fail
This was a simple test, have not tested thoroughly with a more complex test yet.
-> Solution : Downgrade 'androidx.constraintlayout:constraintlayout:2.0.0-xxx' to 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'
RG
mv...@gmail.com <mv...@gmail.com> #8
Great catch! rolling back to 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3' enables to keep using 3.6.0-alpha04 android gradle plugin
uc...@google.com <uc...@google.com> #9
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
er...@benext.eu <er...@benext.eu> #10
Unfortunately, alpha3 is also failing for me, see also https://issuetracker.google.com/issues/121395935
Alpha2 is working for me.
Alpha2 is working for me.
je...@google.com <je...@google.com> #11
du...@gmail.com <du...@gmail.com> #12
FWIW I can confirm reverting to alpha3 fixes the issue for me. Going all the way back to a2 wasn't necessary.
im...@google.com <im...@google.com> #13
I think this is related to the change in AAPT2 where it became stricter about defining attr resources in styleables. Before you could define a new attribute under a declare styleable without giving its format, and now you have to explicitly define it as its own resource (if I understood correctly). Ryan, can you confirm? Is there perhaps a way to relax this if there are a lot of libraries that are already depending on this 'lazy' way of defining attrs? (I will check with the constraint layout folks separately to fix it on their side)
rt...@google.com <rt...@google.com> #14
This change in aapt2 was made because aapt(1) also required that one either explicitly defines the attribute separately (with or without a format) or one specifies the format on the attribute within the declare-styleable.
aapt2 did not require this at first and allowed for declare-styleable attributes defined without a format to create new attribute resources.
There is not a way to relax this currently with aapt2 but depending on how Gradle invokes aapt2, it may be possible to work around this issue by defining each missing attribute resource within the application resource directory.
<attr name="flow_horizontalSeparator" />
<attr name="flow_verticalSeparator" />
...
aapt2 did not require this at first and allowed for declare-styleable attributes defined without a format to create new attribute resources.
There is not a way to relax this currently with aapt2 but depending on how Gradle invokes aapt2, it may be possible to work around this issue by defining each missing attribute resource within the application resource directory.
<attr name="flow_horizontalSeparator" />
<attr name="flow_verticalSeparator" />
...
[Deleted User] <[Deleted User]> #15
I don't really understand this comment
> but depending on how Gradle invokes aapt2
AGP defines how Gradle invokes the aapt2 tool.
> but depending on how Gradle invokes aapt2
AGP defines how Gradle invokes the aapt2 tool.
im...@google.com <im...@google.com> #16
@15 What Ryan is suggesting is that if we notice that there are attributes without definitions we can automatically add them during resource merging. While it would solve our problem short term, this wouldn't work long term as it wouldn't work in the namespaced world. The proper solution would be to fix the libraries (constraintlayout and possibly other libraries out there), but it might be difficult to track them all down.
As a temporary workaround you can add the missing attributes yourself to your values file, for example:
"error: resource attr/flow_verticalSeparator not found" -> add "<attr name="flow_verticalSeparator"/>" into src/main/res/values/attrs.xml
As a temporary workaround you can add the missing attributes yourself to your values file, for example:
"error: resource attr/flow_verticalSeparator not found" -> add "<attr name="flow_verticalSeparator"/>" into src/main/res/values/attrs.xml
im...@google.com <im...@google.com> #17
Confirmed this is an issue with constraint layout 2.2.0-alpha4. Either downgrade to an older version of the library or add these to your app's src/main/res/values/attrs.xml:
<resources>
<attr name="motionProgress"/>
<attr name="motionTarget"/>
<attr name="layout_marginBottom"/>
<attr name="motionPathRotate"/>
<attr name="duration"/>
</resources>
<resources>
<attr name="motionProgress"/>
<attr name="motionTarget"/>
<attr name="layout_marginBottom"/>
<attr name="motionPathRotate"/>
<attr name="duration"/>
</resources>
im...@google.com <im...@google.com> #18
John, could you take a look? I tried to look at the current sources on cs/ but I couldn't find this. These attributes appear in constraint layout 2.0.0-alpha4 (and alpha5) in AAR's res/values/values.xml.
du...@gmail.com <du...@gmail.com> #19
To get the build working in the current 'androidx.constraintlayout:constraintlayout:2.0.0-beta2', I also had to add to #17:
<attr name="flow_verticalSeparator"/>
<attr name="flow_horizontalSeparator"/>
<attr name="waveDecay"/>
to attrs.xml -- (just want to be sure that waveDecay is also included.)
<attr name="flow_verticalSeparator"/>
<attr name="flow_horizontalSeparator"/>
<attr name="waveDecay"/>
to attrs.xml -- (just want to be sure that waveDecay is also included.)
ro...@gmail.com <ro...@gmail.com> #20
Are there any side-effects defining those attrs manually until the
underlying cause is corrected?
RG
tir. 9. jul. 2019, 20:49 skrev <buganizer-system@google.com>:
underlying cause is corrected?
RG
tir. 9. jul. 2019, 20:49 skrev <buganizer-system@google.com>:
im...@google.com <im...@google.com> #21
@20 This should work with no side effects until full resource namespaces are supported.
Currently everything is merged in the app's namespace (that's why you can just use the app's R class for everything). Defining these attrs at your app's level instead of the constraint layout library makes no difference to the output. In the AAR they are defined without format, so you don't need to worry about specifying it in values/attrs.xml either. Once the issue is fixed in constraint layout though, you should remove these attrs from your app as they will be overriding the library ones (which would be a problem if constraint layout defined them with format).
For now it's safe to add them to your app's values/attrs.xml, but once the issue is fixed in constraint layout please remove them.
Currently everything is merged in the app's namespace (that's why you can just use the app's R class for everything). Defining these attrs at your app's level instead of the constraint layout library makes no difference to the output. In the AAR they are defined without format, so you don't need to worry about specifying it in values/attrs.xml either. Once the issue is fixed in constraint layout though, you should remove these attrs from your app as they will be overriding the library ones (which would be a problem if constraint layout defined them with format).
For now it's safe to add them to your app's values/attrs.xml, but once the issue is fixed in constraint layout please remove them.
ro...@gmail.com <ro...@gmail.com> #22
ro...@gmail.com <ro...@gmail.com> #23
Intermediate fix for now will be to add:
src/main/res/values/attrs.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="flow_horizontalSeparator"/>
<attr name="flow_verticalSeparator"/>
<attr name="motionProgress"/>
<attr name="waveDecay"/>
<attr name="motionPathRotate"/>
<attr name="duration"/>
</resources>
RG
src/main/res/values/attrs.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="flow_horizontalSeparator"/>
<attr name="flow_verticalSeparator"/>
<attr name="motionProgress"/>
<attr name="waveDecay"/>
<attr name="motionPathRotate"/>
<attr name="duration"/>
</resources>
RG
ni...@google.com <ni...@google.com> #24
We fixed it in tip of tree, next release of ConstraintLayout 2 will have it.
[Deleted User] <[Deleted User]> #25
Will a future 3.6 alpha relax this restriction so we don't need to care about adding these attrs for all non-compliant libraries?
im...@google.com <im...@google.com> #26
@25 I don't think so, this is going back to how strict aapt1 was - and while I know how troublesome it is, returning to the original strictness is more like fixing a bug rather than introducing a new one. But if it turns out there are a lot of libraries like that out there we might need to look for a better solution.
bo...@gmail.com <bo...@gmail.com> #27
I don't think this has been mentioned, but a workaround for this issue is to use AS 3.5 RC with AGP 3.5.0-rc01 instead of AS 3.6 Canary with AGP 3.6.0-alpha05. Using 3.5 RC will make ConstraintLayout work with all versions.
I've reported this issue on the AGP issuetracker (https://issuetracker.google.com/issues/138601946 ) yesterday before I found this.
I've reported this issue on the AGP issuetracker (
im...@google.com <im...@google.com> #28
The reason why these errors show in 3.6 and not in 3.5 is that AAPT2 fixed a bug that allowed defining attributes without format under declare styleables, which would result in missing attr format at runtime. Now we're back to being strict about it, and fail early to let the developers know about these problems. So for AGP and AAPT2 this is working as intended.
It helped us find the bug in constraint layout and we're working with the library owners on fixing the issue. In the meantime please use an older version of the library.
It helped us find the bug in constraint layout and we're working with the library owners on fixing the issue. In the meantime please use an older version of the library.
al...@google.com <al...@google.com> #29
Any updates? It appears that this is still an issue for AS 3.6 Beta 1 and ConstraintLayout 2.0.0 beta 2
lb...@gmail.com <lb...@gmail.com> #31
@30 I suggest not to use beta 3 or beta 2. Both of those have some serious issues.
For beta 3, here:
https://issuetracker.google.com/issues/143411144
For beta 3, here:
Description
AI-191.7479.19.36.5679705, JRE 1.8.0_202-release-1483-b03x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900, 1920x1080
AS: 3.6 Canary 4; Kotlin plugin: 1.3.40-release-Studio3.5-1; Android Gradle Plugin: 3.6.0-alpha04; Gradle: 5.4.1; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read
---
After coping with
---
Executing tasks: [:app:extractApksForDebug] in project C:\AndroidProjects\EmptyFuel
> Configure project :app
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
> Task :app:processDebugGoogleServices
Parsing json file: C:\AndroidProjects\EmptyFuel\app\google-services.json
> Task :app:bundleDebugResources
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6394}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6395: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6394}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6395: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6395}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6396: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6395}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6396: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6747}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6748: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6748}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6749: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6757}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6758: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6757}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6758: AAPT: error: resource attr/waveDecay (aka no.rogo.emptyfuel:attr/waveDecay) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7218}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7219: AAPT: error: resource attr/motionPathRotate (aka no.rogo.emptyfuel:attr/motionPathRotate) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7220}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7221: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7520}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7521: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\Roar\\.gradle\\caches\\transforms-2\\files-2.1\\aaa51c820fb587b69ef9918afc2d3a80\\constraintlayout-2.0.0-beta2\\res\\values\\values.xml","position":{"startLine":321,"startColumn":4,"startOffset":34840,"endLine":334,"endColumn":97,"endOffset":35784}}],"original":"C:\\Users\\Roar\\.gradle\\caches\\transforms-2\\files-2.1\\aaa51c820fb587b69ef9918afc2d3a80\\constraintlayout-2.0.0-beta2\\res\\values\\values.xml:322:5-335:98: AAPT: error: resource attr/duration (aka no.rogo.emptyfuel:attr/duration) not found.\n ","tool":"AAPT"}
> Task :app:processDebugResources FAILED
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6394}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6395: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6394}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6395: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6395}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6396: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6395}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6396: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6397}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6398: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6747}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6748: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6748}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6749: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6757}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6758: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":6757}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:6758: AAPT: error: resource attr/waveDecay (aka no.rogo.emptyfuel:attr/waveDecay) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7218}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7219: AAPT: error: resource attr/motionPathRotate (aka no.rogo.emptyfuel:attr/motionPathRotate) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7220}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7221: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml","position":{"startLine":7520}}],"original":"C:\\AndroidProjects\\EmptyFuel\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged.dir\\values\\values.xml:7521: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.\n ","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"C:\\Users\\Roar\\.gradle\\caches\\transforms-2\\files-2.1\\aaa51c820fb587b69ef9918afc2d3a80\\constraintlayout-2.0.0-beta2\\res\\values\\values.xml","position":{"startLine":321,"startColumn":4,"startOffset":34840,"endLine":334,"endColumn":97,"endOffset":35784}}],"original":"C:\\Users\\Roar\\.gradle\\caches\\transforms-2\\files-2.1\\aaa51c820fb587b69ef9918afc2d3a80\\constraintlayout-2.0.0-beta2\\res\\values\\values.xml:322:5-335:98: AAPT: error: resource attr/duration (aka no.rogo.emptyfuel:attr/duration) not found.\n ","tool":"AAPT"}
> Task :app:bundleDebugResources FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6395: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6395: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6396: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6396: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6748: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6749: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6758: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6758: AAPT: error: resource attr/waveDecay (aka no.rogo.emptyfuel:attr/waveDecay) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7219: AAPT: error: resource attr/motionPathRotate (aka no.rogo.emptyfuel:attr/motionPathRotate) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7221: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7521: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\Users\Roar\.gradle\caches\transforms-2\files-2.1\aaa51c820fb587b69ef9918afc2d3a80\constraintlayout-2.0.0-beta2\res\values\values.xml:322:5-335:98: AAPT: error: resource attr/duration (aka no.rogo.emptyfuel:attr/duration) not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:bundleDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6395: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6395: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6396: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6396: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/flow_horizontalSeparator (aka no.rogo.emptyfuel:attr/flow_horizontalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/flow_verticalSeparator (aka no.rogo.emptyfuel:attr/flow_verticalSeparator) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6398: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6748: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6749: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6758: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:6758: AAPT: error: resource attr/waveDecay (aka no.rogo.emptyfuel:attr/waveDecay) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7219: AAPT: error: resource attr/motionPathRotate (aka no.rogo.emptyfuel:attr/motionPathRotate) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7221: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\AndroidProjects\EmptyFuel\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:7521: AAPT: error: resource attr/motionProgress (aka no.rogo.emptyfuel:attr/motionProgress) not found.
C:\Users\Roar\.gradle\caches\transforms-2\files-2.1\aaa51c820fb587b69ef9918afc2d3a80\constraintlayout-2.0.0-beta2\res\values\values.xml:322:5-335:98: AAPT: error: resource attr/duration (aka no.rogo.emptyfuel:attr/duration) not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at
BUILD FAILED in 11s
23 actionable tasks: 8 executed, 15 up-to-date
----
I am not using any 'flow' related resources, and I am stuck here...
...hoping for remedy now when reinstalling AS3.5C3
attaching the generated xml file to investigate
RG