android-studio-3.5

How to fix “ERROR: Could not find method google() for arguments [] on repository container.” in android studio 3.5

本秂侑毒 提交于 2021-01-21 06:28:15
问题 I am trying to build and android project from an imported android source code; but each time I try building, I get this >> "ERROR: Could not find method google() for arguments [] on repository container". How do I fix it I recently converted my Web Application to a Native android app via goNative.io; of which it built an apk I can install on my phone and the android source code. on building the project in my android studio, I get the error >> "ERROR: Could not find method google() for

Error inflating class com.google.android.material.textfield.TextInputLayout Android Studio 3.5

我们两清 提交于 2020-06-13 09:01:26
问题 I am using android studio 3.5 and this is the error i am getting for my TextInputLayout. The layout was working from the beginning but after sometime now the app crashes with the error android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class com.google.android.material.textfield.TextInputLayout Caused by: android.view.InflateException: Binary XML file line #18: Error inflating class com.google.android.material.textfield.TextInputLayout Caused by

Location menu in extended controls of Android Studio virtual device

你说的曾经没有我的故事 提交于 2020-02-28 14:00:13
问题 I need to import a .gpx file to my virtual device (something I'm attempting for the first time today), but I'm having a problem I can't find any reference to anywhere else. I'm either having a moment and missing something that should be obvious or there's an issue with the specific build I have that's causing an issue. I have Android Studio 3.5.3 installed and I've tried multiple different virtual devices. All references to the menu page referenced in my title that I can find online look like

Expiring Daemon because JVM heap space is exhausted

生来就可爱ヽ(ⅴ<●) 提交于 2020-02-23 08:36:32
问题 I just updated the Android Studio to 3.5 Beta 1 and I'm getting Expiring Daemon because JVM heap space is exhausted message while the build is running. Also, the build is taking more time to complete. Does anyone have any idea regarding this? 回答1: I was able to solve this for my React Native project by configuring the following: // gradle.properties org.gradle.daemon=true org.gradle.configureondemand=true org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile

Unresolved reference, in wrong test scope - Android studio 3.5

有些话、适合烂在心里 提交于 2020-01-13 09:58:14
问题 Since I've updated to Android Studio 3.5, in my unit tests Android Studio shows unresolved reference for all the dependencies. The project compiles and the unit test runs successfully but Android Studio shows everything in red. I've tried to clean, delete build and .gradle folder, invalidate caches but it doesn't work. 回答1: Only workaround to fix this until issue 140375151 is resolved is this: Put the cursor on one of the affected references Type alt/options + Enter Choose Inspection

My Android Studio keeps crashing after updating it from 3.4 to 3.5

霸气de小男生 提交于 2019-12-31 05:03:39
问题 I've been facing this issue since today. Yesterday I updated Android Studio from 3.4 to 3.5 and it was working fine but since today it's been crashing on startup. When I start it shows the splash screen and then tries to load the project and suddenly closes or crashes without showing any error message. What should I do? Is there any error log I can refer to understand what is the problem, please help me with this. 回答1: After updating Android Studio to 3.5, I faced like you. If you are using

Android studio 3.5: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN [duplicate]

大城市里の小女人 提交于 2019-12-10 10:23:37
问题 This question already has answers here : NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error (24 answers) Closed 3 months ago . After updated Android studio from 3.4.2 to 3.5 I see the following warning message on the Build log messages. NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN I am using the following installed Build-tools: 29.0.2 NDK side by side: 20.0.5594570 NDK: 20.0.5594570 I have the

Android studio 3.5: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN [duplicate]

元气小坏坏 提交于 2019-12-05 21:41:10
This question already has an answer here: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error 23 answers After updated Android studio from 3.4.2 to 3.5 I see the following warning message on the Build log messages. NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN I am using the following installed Build-tools: 29.0.2 NDK side by side: 20.0.5594570 NDK: 20.0.5594570 I have the following in by build.gradle classpath 'com.android.tools.build:gradle:3.5.0' Note: Even though I am receiving this warning