android-studio

Could not get unknown property 'manifestOutputDirectory'

北战南征 提交于 2020-11-28 04:52:31
问题 I'm trying to "make project" with Android Studio, and I'm getting this error: Execution failed for task ':myApp:processGoogleDebugManifest'. Could not get unknown property 'manifestOutputDirectory' for task ':myApp:processGoogleDebugManifest' of type com.android.build.gradle.tasks.ProcessMultiApkApplicationManifest. Any help please? EDIT: This error occurred after I updated to gradle v6.5 and plugin v4.1.0. If I revert to gradle v6.1.1 and plugin v4.0.0 the error disappears. 回答1: I

Device File Explorer option missing in Flutter Android Studio

久未见 提交于 2020-11-28 04:43:05
问题 I want to view the database files in my adb device but the option of device file explorer is missing in android studio when flutter project is opened. But the same is visible when i open android module or simply an android project.I want to view the device files in flutter project itself 回答1: Open Flutter project and check the Event Log if Android framework is detected. If so, click Configure and you're done. 回答2: I'm experiencing the same problem, and I haven't found a real solution for it.

Device File Explorer option missing in Flutter Android Studio

本小妞迷上赌 提交于 2020-11-28 04:40:04
问题 I want to view the database files in my adb device but the option of device file explorer is missing in android studio when flutter project is opened. But the same is visible when i open android module or simply an android project.I want to view the device files in flutter project itself 回答1: Open Flutter project and check the Event Log if Android framework is detected. If so, click Configure and you're done. 回答2: I'm experiencing the same problem, and I haven't found a real solution for it.

No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData

谁说胖子不能爱 提交于 2020-11-27 04:32:41
问题 After updating to Android Studio 4 I got this error: A problem occurred configuring project ':app'. groovy.lang.MissingPropertyException: No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData My gradle: classpath 'com.android.tools.build:gradle:4.1.0-alpha10' gradle-wrapper.properties: https://services.gradle.org/distributions/gradle-6.5-bin.zip 回答1: I had the same issue. Removing all fabric references in build.gradle solved my case. you can try

No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData

女生的网名这么多〃 提交于 2020-11-27 04:29:27
问题 After updating to Android Studio 4 I got this error: A problem occurred configuring project ':app'. groovy.lang.MissingPropertyException: No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData My gradle: classpath 'com.android.tools.build:gradle:4.1.0-alpha10' gradle-wrapper.properties: https://services.gradle.org/distributions/gradle-6.5-bin.zip 回答1: I had the same issue. Removing all fabric references in build.gradle solved my case. you can try

Gradle Sync Failed Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom'

亡梦爱人 提交于 2020-11-26 08:47:12
问题 I am unable to build a project in Android Studio and I am receiving the following errors. Gradle Sync Failed. Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom' Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom' This is what I have already tried: I have updated the following to the latest available version: Android SDK Build-Tools Android SDK Platform-Tools Android SDK Tools Build.gradle

Android Studio missing essential plugin org.jetbrains.android

非 Y 不嫁゛ 提交于 2020-11-26 06:59:08
问题 I have just updated to Android Studio 4.1 Canary 9, but I am getting the following error: Missing essential plugin: org.jetbrains.android Please reinstall Android Studio from scratch. I've tried reinstalling Android Studio from scratch, as the error says, but nothing changes. Thank you very much for the help ;). 回答1: Just delete this file: Users\.AndroidStudio4.X\config\disabled_plugins.txt 回答2: For Windows users. C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.1\disabled

Android barcode, onActivityResult not calling

流过昼夜 提交于 2020-11-25 03:56:48
问题 I am using Zxing barcode scan. Like most of the issues I am facing the same one. That It's not hitting the onActivityResult . I am using this tutorial Layout <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:orientation="horizontal" android:padding="2dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left|center_vertical" android:text="Smart MSN #" />

“Nothing to show” when I tried to insert a new Vector Asset in Android Studio

两盒软妹~` 提交于 2020-11-24 18:07:39
问题 "Nothing to show" error - vector asset Hey, all. So, recently I updated my Android Studio Version to 4.1 (the latest version). I wanted to add a vector asset just like the usual but..somehow..the preview of the icons did not show up. I can't choose a vector asset or even add one. Is there any way to fix this? Or maybe, a way to downgrade the version? Thank you so much :( 回答1: This problem seems to be originated with the Android Studio Windows version 4.1. I have the same exact problem and I

“Nothing to show” when I tried to insert a new Vector Asset in Android Studio

风流意气都作罢 提交于 2020-11-24 18:00:17
问题 "Nothing to show" error - vector asset Hey, all. So, recently I updated my Android Studio Version to 4.1 (the latest version). I wanted to add a vector asset just like the usual but..somehow..the preview of the icons did not show up. I can't choose a vector asset or even add one. Is there any way to fix this? Or maybe, a way to downgrade the version? Thank you so much :( 回答1: This problem seems to be originated with the Android Studio Windows version 4.1. I have the same exact problem and I