Status Update
Comments
al...@android.com <al...@android.com> #2
I've uploaded a tentative fix
Jack, please test the fix in your environment and let us know whether it works for you too.
da...@nthcircle.com <da...@nthcircle.com> #3
da...@nthcircle.com <da...@nthcircle.com>
ki...@gmail.com <ki...@gmail.com> #4
Branch: master
commit b293b2087837853e32a1cff008d58644dbbd4cc2
Author: Alex Klyubin <klyubin@google.com>
Date: Wed May 10 16:53:25 2017
Handle whitespace when removing -J* parameters in .bat
apksigner.bat contains special logic for -J* parameters. This logic
was not designed to handle parameters containing whitespace. This
commit fixes the issue. It is unclear whether this -J* logic is even
needed. So, if it keeps breaking stuff, we should probably simply
remove it.
Test: apksigner sign --ks "nonexistent.jks" --ks-pass pass:123123 --ks-key-alias "bug apksigner test" nonexistent.apk
Fails with FileNotFoundException instead of "a was unexpected at this time"
Bug: 38132450
Change-Id: Ice3294e9993b075533c77d94eb870cfd35a65bbc
M etc/apksigner.bat
qu...@google.com <qu...@google.com>
ti...@google.com <ti...@google.com> #5
Branch: master
commit 0f88b97634034673f062a8ac6c3dab7d3d9befe3
Author: Alex Klyubin <klyubin@google.com>
Date: Thu Jun 22 09:43:22 2017
Bump apksigner version to 0.7
Changes since 0.6:
* Fixed a bug in whitespace handling in command-line parameters in
apksigner.bat.
* Fixed a bug in JAR signature verification when multiple digests
are present for the same named entry in MANIFEST.MF.
* Honor android:targetSandboxVersion (introduced in Android O) when
verifying APKs. When android:targetSandboxVersion is set to 2 or
higher, the APK is required to be signed with APK Signature Scheme
v2.
* When signing, reject APKs with CR, LF or NUL in ZIP entry names.
Such names are not permitted by the JAR siging spec and are also
rejected by Android Package Manager.
Test: apksigner version
Bug: 38132450
Bug: 38497270
Bug: 36426653
Bug: 62211230
Change-Id: Ifa120b0e43b458c99c3da6fde1136e0cbb92caee
M src/apksigner/java/com/android/apksigner/ApkSignerTool.java
gr...@gmail.com <gr...@gmail.com> #6
ha...@gmail.com <ha...@gmail.com> #7
Unfortunate since it forces me to turn a simple layout XML resource into a full-blown fragment so I can put that View.setClipToOutline(true) call in.
jo...@gmail.com <jo...@gmail.com> #8
as...@google.com <as...@google.com> #9
pa...@outlook.com <pa...@outlook.com> #10
th...@gmail.com <th...@gmail.com> #11
sh...@gmail.com <sh...@gmail.com> #12
dx...@gmail.com <dx...@gmail.com> #13
pr...@gmail.com <pr...@gmail.com> #14
ry...@gmail.com <ry...@gmail.com> #15
je...@gmail.com <je...@gmail.com> #16
sz...@gmail.com <sz...@gmail.com> #17
mi...@gmail.com <mi...@gmail.com> #18
sa...@gmail.com <sa...@gmail.com> #19
sv...@gmail.com <sv...@gmail.com> #20
It's time to fix it
st...@gmail.com <st...@gmail.com> #21
kh...@gmail.com <kh...@gmail.com> #22
ht...@gmail.com <ht...@gmail.com> #23
ke...@gmail.com <ke...@gmail.com> #24
and you can't fix a small bug for over 4 years?
sa...@gmail.com <sa...@gmail.com> #25
[Deleted User] <[Deleted User]> #26
fe...@parkside-interactive.com <fe...@parkside-interactive.com> #27
me...@yanghui.name <me...@yanghui.name> #28
as...@gmail.com <as...@gmail.com> #29
mi...@gmail.com <mi...@gmail.com> #30
pa...@outlook.com <pa...@outlook.com> #31
Last one was in Oct 30, 2018 09:04AM. I wonder what will happen first, me showing up again in one year or this issue being finally fixed?
How ridiculous does this have to get before the team decides to fix it I wonder.
ka...@gmail.com <ka...@gmail.com> #32
mb...@gmail.com <mb...@gmail.com> #33
ha...@flippar.com <ha...@flippar.com> #34
I just had to re-edit java code to include this setting in four places instead of just adding a single line of xml.. What I needed was a simpler way to add curved edges to views. iOS does this much better.
ma...@gmail.com <ma...@gmail.com> #35
da...@gmail.com <da...@gmail.com> #36
Je...@hotmail.com <Je...@hotmail.com> #37
mu...@gmail.com <mu...@gmail.com> #38
as...@gmail.com <as...@gmail.com> #39
da...@gmail.com <da...@gmail.com> #40
si...@gmail.com <si...@gmail.com> #41
sa...@gmail.com <sa...@gmail.com> #42
tr...@gmail.com <tr...@gmail.com> #43
mv...@gmail.com <mv...@gmail.com> #44
ma...@gmail.com <ma...@gmail.com> #45
sm...@gmail.com <sm...@gmail.com> #46
here 's some shows to watch: umbrella academy, dark, la casa de papel but only two seasons
[Deleted User] <[Deleted User]> #47
ki...@gmail.com <ki...@gmail.com> #48
This is a great list! I would add 1917 to that. Also.. think we can hack the google server to fix this issue before they can change a sentence in their documentation html? Kinda like these guys but in the digital world?
pa...@outlook.com <pa...@outlook.com> #49
Last one was in Dec 5, 2019 05:57AM
This issue is gaining some life of its own, even a pandemic came before this issue ever got solved.
I wonder if the world will still exist when I come by again
es...@gmail.com <es...@gmail.com> #50
[Deleted User] <[Deleted User]> #51
jb...@google.com <jb...@google.com> #52
The time machine is broken, so I'm stuck here ¯\_(ツ)_/¯. Regardless, I've removed the reference to the XML attribute that never existed.
cp...@gmail.com <cp...@gmail.com> #53
Instead of implementing this attribute - approximately 1 line of code in the View constructor you are removed documentation to attribute. You always can call it from the code! Great, thanks a lot!
te...@gmail.com <te...@gmail.com> #54
The fix is the most unexpected thing of 2020, period.
to...@gmail.com <to...@gmail.com> #55
people connect over the years. Take care all!
On Thu, Dec 24, 2020 at 3:39 AM <buganizer-system@google.com> wrote:
Todd DeLand
lb...@gmail.com <lb...@gmail.com> #56
Also nice to see that Android still exists even on 2075 and wasn't replaced by something else
al...@trustedshops.de <al...@trustedshops.de> #57
ki...@google.com <ki...@google.com> #58
So...still haven't fixed the time machine fully, but Android time travel council of 2080 did give me permission to add the attribute, so as of API 31, there will be an android:clipToOutline attribute.
lb...@gmail.com <lb...@gmail.com> #59
jj...@gmail.com <jj...@gmail.com> #60
da...@gmail.com <da...@gmail.com> #61
ka...@gmail.com <ka...@gmail.com> #62
lb...@gmail.com <lb...@gmail.com> #63
mc...@gmail.com <mc...@gmail.com> #64
da...@hotmail.com <da...@hotmail.com> #65
te...@gmail.com <te...@gmail.com> #66
et...@gmail.com <et...@gmail.com> #67
an...@gmail.com <an...@gmail.com> #68
android:clipToOutline cannot be found even if it's documented there:
Upon checking said link, I can confirm that android:clipToOutline has been removed from the documentation.
Therefore I think we can all agree, that after 6 years the bug has finally been resolved!
ka...@gmail.com <ka...@gmail.com> #69
ki...@google.com <ki...@google.com> #70
This is fixed in Android S. No plans right now to add it to androidx as there's no precedent for globally backporting attributes to non-AppCompat views.
pa...@outlook.com <pa...@outlook.com> #71
Took a while for my final last punchcard, but finally something was done.
So the fix could not be backported meaning users have two options:
- manually set the attribute in code
or
- manually set the attribute in code for API 30 and below, and make a separate layout file for API 31 and above which does allow the attribute to be used in xml
in my case the second option is just extra work for no benefit (for now), so I will keep using the first one until I increase the min version to one that matches the compatibility of this fix.
Description
Gradle tools version: 1.1.3
Build tools version: 22.0.1
Compile SDK version: 22
Issue description:
android:clipToOutline cannot be found even if it's documented there:
When I try to use this xml attribute, I have an error at compile time:
Error:(9, -1) Gradle: No resource identifier found for attribute 'clipToOutline' in package 'android'
Steps to reproduce:
- Create a layout with a basic view and the attribute android:clipToOutline="false"
- Compile
Observed results:
The project will not compile and will fail with the above error.
Expected results:
The project would compile and apply the correct attribute.