Why does Android Studio not generate the reports folder under build? - android-studio

I was looking at an SO answer for the error I am getting - "Lint found fatal errors while assembling a release target.". It suggests looking at the reports folder but the build folder does not have it:
Do I need to configure Android Studio in a certain way to see the reports folder?
Android Studio Arctic Fox | 2020.3.1 Patch 4
Build #AI-203.7717.56.2031.7935034, built on November 21, 2021

Related

Android Studio is creating debug packages

I have created an Android project. Somehow Android Studio is create weird packages, I wonder why?
I tried to delete them as well, but they recreated themselves.
Android Studio Version:
Android Studio Flamingo | 2022.2.1 Canary 11

What are all the changes to apk by AGP 7.1.0?

I have just upgraded Android Studio from Arctic Fox to Bumblebee and AGP from 7.0.4 to 7.1.0
The project currently has:
The apk generated by gradle task assembleOfficialRelease for flavor "official" was in the following directory for many years:
..app/build/outputs/apk/official/release/app-official-release.apk
I assume it is the new AGP that has changed the location to:
..app/build/intermediates/apk/official/release/app-official-release.apk
I am trying to find out what else AGP has done to the apk but could not find any in the release notes.
I wonder if anyone with insights could tell me what changes the new AGP has done to the apk before I release it to users.
Update(2022-05-09)
Android Studio Chipmunk has put the apk file back to the folder ..app/build/outputs/apk/official/release/ without any notification. It killed me a lot of time again before I realized this.
I also observed this weird behavior. It seems like if you run the gradle task in Android studio, it will put the apk files in intermediates, while if you run the gradle task on command line (at least for bash on Linux), it will put the files in outputs.
The canary build of android studio with android gradle plugin 7.3.0-alpha05 seems to solve this issue.

Json output file error after upgrading to Android Studio Arctic Fox

My android app will not longer compile after upgrading to Arctic Fox. In the idea.log file I find the following warning: "GradleBuildOutputUtil.kt - Failed to read Json output file from C:\EJW\Programming\Projects\DrillSelector\DrillSelector\app\build\outputs\apk\debug\output-metadata.json. Build may have failed."
The Build Output window in Android Studio gave this error:
"java.lang.IllegalArgumentException: couldn't make a guess for com.xxxx.DrillSelector.databinding.FragmentMainBindingImpl" followed by
"Cause: couldn't make a guess for com.xxxx.DrillSelector.databinding.FragmentMainBindingImpl".
The error from the idea.log file makes me think that the new version of Android Studio wants to find a file that the older version of Android Studio does not make but I am at loss as to what to do a bout it. Any suggestions?
Thanks.

Can't find "Sync project with Gradle files" in Android Studio running on Mac

I'm running into the error when I tried to run the existing project.
Error: "AndroidManifest.xml doesn't exist or has incorrect root tag"
I'm seeing a lot of solutions suggesting using "Sync project with Gradle files". I'm running Android Studio on my Mac and did not see that option. I do have AndroidManifest.xml file in the project but for some reason Android Studio can't find it.
I have the file under project_name > app > src > main > res.
I have Android Studio 4.1.1 and macOS Catalina 10.15.7
I also got a recommendation when I open up the Android Studio
Migrate Project to Gradle?
This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
More Information about migrating to Gradle
Don't show this message again.
Not sure what to do about it. I'm pretty new to Android Studio. Thanks!

New install of Android Studio 3.2.1 create basic project error

Android Studio 3.2.1
Build #AI-181.5540.7.32.5056338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
When installing Android studio and then creating a basic project with a basic Activity this is what happens, look at the pictures:
Invalidating cache and Restart in the File menu makes no changes.
I uninstall Android Studio making sure all folders are gone like C:\Users\user.AndroidStudio3.2
Installing a fresh copy Android Studio 3.2.1 but still this error
ERROR OUTPUT
DUBLICATE MENU ITEMS
MISSING AVD and SDK
MAKE MAKE
Under Build, click on Build APK(s). If you do not have APKs installed, install them. There is Generate APK under Build too. Check your Gradle files for any added repositories you need to use. Also check that you have installed SDK of your choice.

Resources