Status Update
Comments
je...@google.com <je...@google.com>
st...@google.com <st...@google.com>
je...@google.com <je...@google.com> #2
Would it be possible to get a complete standalone test app that reproduces this behavior?
sa...@google.com <sa...@google.com> #4
I also have this issue.
My application uses multiple fragments and a lot of them have text input layouts with setError(true).
I found that when I clear the keyboard on back stack change via:
public static void hideKeyboardToken(Activity activity) {
InputMethodManager imm = (InputMethodManager)activity.getSystemService(Activity.INPUT_METHOD_SERVICE);
View view = activity.getCurrentFocus();
if (view != null) imm.hideSoftInputFromWindow(view.getWindowToken(),0);
}
All of the text input layouts will be rendered as red.
When I stop hiding the keyboard all of the text input layouts behave as expected. (But the keyboard remains persistent when changing fragments.)
SDK Versions:
minSdkVersion 16
targetSdkVersion 22
compileSdkVersion 23
buildToolsVersion "23.0.2"
Phone: Samsung Galaxy S5
ka...@gmail.com <ka...@gmail.com> #5
je...@google.com <je...@google.com> #6
to...@gmail.com <to...@gmail.com> #7
to...@gmail.com <to...@gmail.com> #8
When we build Signed APK files for distribution, they should be at the 'builds/outputs/apk' folder, not 'build/intermediates/apk' folder.
Please revert this change back to before.
je...@google.com <je...@google.com>
yu...@gmail.com <yu...@gmail.com> #9
ak...@gmail.com <ak...@gmail.com> #10
je...@google.com <je...@google.com> #11
no, #8, when invoking build from the gradle window is still an issue.
so...@google.com <so...@google.com> #12
Re
je...@google.com <je...@google.com> #13
apparently, assembleRelease. Probably a dup of
so...@google.com <so...@google.com> #14
differently than running a task from, for example, :app
On Mon, 25 Apr 2022 at 15:52, jedo <buganizer-system+jedo@google.com> wrote:
je...@google.com <je...@google.com> #15
#8, can you answer #14 ?
so...@google.com <so...@google.com> #16
nm, "Build / Generate Signed Bundle or APK" is the answer.
ak...@gmail.com <ak...@gmail.com> #17
an...@crowdstrike.com <an...@crowdstrike.com> #18
I can confirm what is reported at #5 using Gradle 7.4.2, AGP 7.1.3
Studio version: Android Studio Chipmunk | 2021.2.1 Patch 1 Build #AI-212.5712.43.2112.8609683, built on May 18, 2022 Runtime version: 11.0.12+0-b1504.28-7817840 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.6.6
Tests I have done:
- running
./gradlew :app:assembleProdDebug
from Studio's terminal window leads to the apk being published atapp/build/outputs/apk/prod/debug/app-prod-debug.apk
folder - triggering
Build -> Make Project
of theapp
module from Studio's UI results in the same gradle task (as well as a couple more) being run, but results in the apk being published atapp/build/intermediates/apk/prod/debug/app-prod-debug.apk
folder.
Is that the expectation? (if so, what is the reason behind it?)
je...@google.com <je...@google.com> #19
This has been fixed in Dolphin :
~/AndroidStudioProjects/MyApplication10 > find . -name "*.apk" ./app/build/outputs/apk/debug/app-debug.apk
ma...@gmail.com <ma...@gmail.com> #20
li...@gmail.com <li...@gmail.com> #21
sb...@gmail.com <sb...@gmail.com> #22
xa...@google.com <xa...@google.com> #23
please file a new bug.
Description
Putting these APKs under build/output/apks is misleading as developers might find them there and attempt to install them on other devices which is unlikely to work.
We should put them under intermediates now that Studio loads the output location after a build.