android-studio

what is generated and intermediates folders in build directory and why outputs folder is missing

可紊 提交于 2021-02-06 15:14:32
问题 I'm building application with Android Studio and Gradle. When the build is finished the build folder contains the following folders: - assets - CordovaLib - build - src - build.gradle - gradle - src - com.my.package - CordovaApp - build.gradle - build - generated - intermediates - outputs //not displayed in android studio's project tree - tmp //not displayed in android studio's project tree 1) What are generated, intermediates and tpm folders? 2) Why aren't the outputs and tmp folder shown in

what is generated and intermediates folders in build directory and why outputs folder is missing

纵然是瞬间 提交于 2021-02-06 15:14:20
问题 I'm building application with Android Studio and Gradle. When the build is finished the build folder contains the following folders: - assets - CordovaLib - build - src - build.gradle - gradle - src - com.my.package - CordovaApp - build.gradle - build - generated - intermediates - outputs //not displayed in android studio's project tree - tmp //not displayed in android studio's project tree 1) What are generated, intermediates and tpm folders? 2) Why aren't the outputs and tmp folder shown in

Android Studio shows C++ file icon on every file

落花浮王杯 提交于 2021-02-06 15:01:54
问题 After updating Android Studio to version 4.1 every file icon in the project is shown as a C++ icon. Is there any way to repair this? This is how it looks: You can see every file, no matter what extension, has icon. I created new projects and checked the old ones but the effect is the same everywhere. Error still exists in version 4.1.2 but when I download Android Studio 4.2 Canary 16 I have noticed that the error has gone. I see normal/proper icons in the newly created projects and also in

flutter doctor --android-licenses gives a java error

强颜欢笑 提交于 2021-02-06 14:46:29
问题 Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema at com.android.repository.api.SchemaModule$SchemaModuleVersion.<init>(SchemaModule.java:156) at com.android.repository.api.SchemaModule.<init>(SchemaModule.java:75) at com.android.sdklib.repository.AndroidSdkHandler.<clinit>(AndroidSdkHandler.java:81) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73) at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli

android emulator sdk 10 api 29 won't start after remount and reboot

百般思念 提交于 2021-02-06 11:22:28
问题 I'm running into strange behaviour when trying to remount device with SDK 10 and API 29, after the remount the emulator hang (device offline) To reproduce: OS: MacOs Using android studio define new device: pixel 2 (or pixel 3/nexus 5), Android 10.0 x86, API 29 start the emulator using command line: emulator -avd Pixel_2_API_29_SDK10 -writable-system -verbose run adb -s emulator-5554 root run adb -s emulator-5554 remount The adb remmount result failure as follow: adb remount Skip mounting

android emulator sdk 10 api 29 won't start after remount and reboot

我的未来我决定 提交于 2021-02-06 11:22:25
问题 I'm running into strange behaviour when trying to remount device with SDK 10 and API 29, after the remount the emulator hang (device offline) To reproduce: OS: MacOs Using android studio define new device: pixel 2 (or pixel 3/nexus 5), Android 10.0 x86, API 29 start the emulator using command line: emulator -avd Pixel_2_API_29_SDK10 -writable-system -verbose run adb -s emulator-5554 root run adb -s emulator-5554 remount The adb remmount result failure as follow: adb remount Skip mounting

android emulator sdk 10 api 29 won't start after remount and reboot

旧城冷巷雨未停 提交于 2021-02-06 11:22:25
问题 I'm running into strange behaviour when trying to remount device with SDK 10 and API 29, after the remount the emulator hang (device offline) To reproduce: OS: MacOs Using android studio define new device: pixel 2 (or pixel 3/nexus 5), Android 10.0 x86, API 29 start the emulator using command line: emulator -avd Pixel_2_API_29_SDK10 -writable-system -verbose run adb -s emulator-5554 root run adb -s emulator-5554 remount The adb remmount result failure as follow: adb remount Skip mounting

How to debug android library module in Android Studio?

ε祈祈猫儿з 提交于 2021-02-06 10:43:05
问题 I have an Android Studio project which contains a library module, which is added as another gradle project to it. I would like to debug the library code and set breakpoints on it. What gradle settings should I use, if I want to debug a library module while running the app on emulator or real device ? Update 1 this is the settings.gradle file : include ':app' include':my-library' 回答1: After a few days struggling I found the right configuration for being able to debug the library module : 1-

Android Studio 3.3 folder icons

自古美人都是妖i 提交于 2021-02-06 08:49:49
问题 On the new Android Studio 3.3 some icons have change and I'm looking to understand what each one of the mean. This and this answers are outdated. For example in this picture I have two modules inside my project, but one have a green dot and the other this bar chart. What it means? 回答1: There's two components to the tree: The background color/folder color, and additional icons. Beyond this, there's also the text color, but it's mainly used for VCS and is beyond the scope of the question. See

Android Studio 3.3 folder icons

我的未来我决定 提交于 2021-02-06 08:47:21
问题 On the new Android Studio 3.3 some icons have change and I'm looking to understand what each one of the mean. This and this answers are outdated. For example in this picture I have two modules inside my project, but one have a green dot and the other this bar chart. What it means? 回答1: There's two components to the tree: The background color/folder color, and additional icons. Beyond this, there's also the text color, but it's mainly used for VCS and is beyond the scope of the question. See