android-studio

Android studio 3.6.1, Layout not opening in an editor. Studio not showing the XML editor only shows the design part of layout? [duplicate]

六眼飞鱼酱① 提交于 2020-06-28 06:52:12
问题 This question already has answers here : Where is Android Studio layout preview? (22 answers) Closed 3 months ago . When i opened studio( Android studio 3.6.1 ) today. The layouts are not opening in an XML editor its not showing the XML editor but only the design part . Screenshot below I tried invalidate cache and restart, clean project, build project, sync gradle files , restarted my system nothing works. What is causing this odd behaviour ? 回答1: Click on button which is top right corner.

Android studio gradle stuck at Fastutil.7.2.0.jar

99封情书 提交于 2020-06-28 05:19:09
问题 This is the first time i installed android studio in my pc, but i have issue that the android studio is stuck at download fastutil-7.2.0.jar . Its been hour, but still not change. My pc also connect with internet. I already restart the software but still same. Help me with this. Help 回答1: I think google gradle repo has an error now. Open your project build.gradle Add mavenCentral() to top of repositories build.gradle repositories { mavenCentral() jcenter() google() } 来源: https://stackoverflow

java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev)

点点圈 提交于 2020-06-28 03:48:09
问题 I am using FireStore in my application. and their version is implementation 'com.google.firebase:firebase-firestore:17.0.1' I am using database of Firestore and offline feature of firestore to get data. this is working fine but when i sign the application that time i am getting below bug. E/AndroidRuntime: FATAL EXCEPTION: main Process: com.firestoretest.videostatus, PID: 13763 java.lang.RuntimeException: Internal error in Firestore (0.6.6-dev). at bov.b(Unknown Source:19) at box.run(Unknown

PayCards Android Dependencies Errors | Could not resolve all task dependencies for configuration

血红的双手。 提交于 2020-06-28 03:41:51
问题 I recently migrated to Android Studio 4.0 and made the decision to update all dependencies, including Gradle. When I tried to compile the app, this error [the image below] is shown. This type of error usually happens when libraries are updated, so I decided to go back to a previous commit where I didn't make any modifications but I was surprised that the error was still there. I proceeded to check some similar errors on the network and made several changes with my gradle and dependencies ..

Class name is not appearing in error Android Studio

帅比萌擦擦* 提交于 2020-06-27 17:00:11
问题 In below error you can see RegisterActivity.a the class name is converted in some other characters. Can someone suggest what should I do in such a situation, when class name is not appearing in error logs. at com.abc.angpau.appClasses.activities.RegisterActivity.a(:53) at com.abc.angpau.appClasses.activities.c.a(Unknown Source:4) 回答1: You might have built a release version and proguard is active. Look at the gradle files. When you have minifyEnabled true proguard is active. Usually you only

Class name is not appearing in error Android Studio

跟風遠走 提交于 2020-06-27 17:00:09
问题 In below error you can see RegisterActivity.a the class name is converted in some other characters. Can someone suggest what should I do in such a situation, when class name is not appearing in error logs. at com.abc.angpau.appClasses.activities.RegisterActivity.a(:53) at com.abc.angpau.appClasses.activities.c.a(Unknown Source:4) 回答1: You might have built a release version and proguard is active. Look at the gradle files. When you have minifyEnabled true proguard is active. Usually you only

Gradle sync failed on android studio 4.0 [duplicate]

瘦欲@ 提交于 2020-06-27 16:38:21
问题 This question already has answers here : Ionic Capacitor app give me lots of errors (5 answers) Closed 25 days ago . After upgrading my android project to classpath 'com.android.tools.build:gradle:4.0.0' and distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip I found this error Gradle sync failed: Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext my project details is: compileSdkVersion 29 ndkVersion "21.1.6352462" minSdkVersion 21

Gradle sync failed on android studio 4.0 [duplicate]

浪尽此生 提交于 2020-06-27 16:38:05
问题 This question already has answers here : Ionic Capacitor app give me lots of errors (5 answers) Closed 25 days ago . After upgrading my android project to classpath 'com.android.tools.build:gradle:4.0.0' and distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip I found this error Gradle sync failed: Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext my project details is: compileSdkVersion 29 ndkVersion "21.1.6352462" minSdkVersion 21

Google play billing API: How to understand the user is subscribed?

假装没事ソ 提交于 2020-06-27 16:23:26
问题 The bounty expires in 5 days . Answers to this question are eligible for a +50 reputation bounty. Namikaze Minato wants to draw more attention to this question: Hello. I am setting this bounty as I think not enough attention has been paid or the info is limited for play billing library. I can't simply get the info whether the user is subscribed or not. So I would appreciate anyone's help. thanks. I want to find out whether the user active subscription to Basic/Premium content or not from the

Gradle Sync Failed in Android Studio 3.6 Cause invalid type code :85

∥☆過路亽.° 提交于 2020-06-27 14:30:22
问题 I just update my Android Studio from version 3.5.3 to 3.6, now I open any project I see this error and gradle doesn't sync 回答1: I was having the same issue. I solved it by changing the JDK version I was using which was JDK 13. Go to File -> Project Structure . On the left side, click on SDK Location and go to JDK Location . Change it to the Embedded JDK that comes with Android Studio. Click on OK . 来源: https://stackoverflow.com/questions/60435743/gradle-sync-failed-in-android-studio-3-6-cause